Raycast Lighting Concept

Raycast Lighting Concept

by PurplePyramid

👁 103 ❤️ 12 ⭐ 7 🔄 0
Created: Aug 23, 2022 Last modified: Aug 27, 2022 Shared: Aug 27, 2022

Description

Inspired by Griffpatch's youtube tutorials on raycasting in his 3D tutorials. Check them out here: https://www.youtube.com/watch?v=M1c5TcdITVs&list=PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul I just like 2D a lot better, so I decided to apply raycasting to this project and use it for a lighting effect. In the pause menu, "LTS" = Light Tile Size. An LTS of 10 means we use a 10 pixel by 10 pixel square to scan and draw the lighting effects.

Instructions

Try here: https://turbowarp.org/724362333 for faster performance. WASD : Move Look with Mouse Curser E/Q: Toggle between flashlight and lantern mode. SPACE: Toggle full lighting on/off. P: Pause/Unpause Shine your light around some spooky figures. Try and guess what they are, or make cool shadows! Press space to show the figures in full lighting once you've already made your guess. If you need help, try raising the resolution in the pause menu (just beware that your FPS could drop significantly). This project scans the figures in the "Solids" sprite for faster raycasting. See inside the "Solids" sprite for how to add your own costumes/figures!

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Every Numberblocks Basics Game Ever (+ Fan-Mades)

by ZeroThAlt

Project thumbnail
View Project

moby toilet teaser

by JacktheEngineer

Project thumbnail
View Project

Roblox Multiplayer Tower Obby

by alekseyalesha27

Project thumbnail
View Project

WNBC Final Analog Sign Off Remake

by Barrett-tubeNetwork

Project thumbnail
View Project

Hill Climb Racing 2 Tier List

by RoboDolphin11

Project thumbnail
View Project

Tera's Spooky stomach growl

by CarFCarSan2014

Project thumbnail
View Project

Talking Aqua

by ILIKETADC

Project thumbnail
View Project

talking simon and durple news update remix

by 55uq

Project thumbnail
View Project

(re-upload) sutadows 11 Beta Crazy Error Maker

by Nakachi0917

Project thumbnail
View Project

Sky from Sprunkohol Rating Sprunki OCs remix

by sonic_thejojo

Project thumbnail
View Project

Добавь себя в ЛИФТ!! remix

by artemgudz12

Project thumbnail
View Project

Prime numbers

by vincentl10

Project thumbnail
View Project

BFDI Balance Beam Randomizer Remastered

by jimmybr123

Project thumbnail
View Project

Clicky Keyboard - Mobile and Keyboard Friendly

by alsu7sts

Project thumbnail
View Project

online PLATFORMER!! プラットフォーマー オンライン

by RRR-scratch

Project thumbnail
View Project

Beat up Edward E

by hyd3ns33k

Project thumbnail
View Project

Gamma Engine BETA 1.2.1

by JEFFDABOIB

Project thumbnail
View Project

talking tom and ben news 9: muchos gracias @CatalinaMax2006 remix

by ZackFavors2

Project thumbnail
View Project

tom and ben news crazy frog

by mateothebb

Project thumbnail
View Project

The Longest Emerald Pingu Error {Part 10}

by DanielSapinho9IsBack

Project thumbnail
View Project

Add a button to beat up Mega Photo! [19] remix

by newmyles

Project thumbnail
View Project

Smoochie Й 1.7

by mateothebb

Project thumbnail
View Project

Beat Up Nickel Again remix

by Chubbs_456

Project thumbnail
View Project

Skibidi Toilet Survival Remade

by ScratchCreatorTR