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
-

Beat Up Spectrum 3.0
by bandrock238
-

1 night at pomni
by Hathatgirlnews
-

OLD Help_tale Omega.....................Battle remix
by JackJack1224
-

Planetblocks band 6
by BILLYLOVER77
-

Smeshariki/Petersburg/Riki(x2)/Marmelad Media/Post-Credits Scene (2022/25)
by PeppaDoesScratch
-

Wario Land "The Scratch Dimension" remix
by Elyusif07
-

Samsung Galaxy Tab 4 10.1 - Startup but my cat peed on it one too many times
by TGGtheEspeon
-

FNF: The Foolish Tower (Remade)
by Mr_NUGG3T
-

Beat up scratch V 1.0
by pook67
-

Sprunki premixed 1.5 remix-5
by sprunkio00
-

SprunkE remix
by scratchcd15
-

Talking Tom and Ben News Wilhelm Scream (Scratch Edition) remix-3
by veziravcisi
-

JJK memes
by SONIC_PRIME_X
-

jjk memes vol:2
by elep922
-

Numberblocks Going Up [PART 1]
by WindowsViennaFan
-

Scratch's REIMAGINED Ultimate Challenge - Level 448 / 500 (52 LEFT!)
by Dayton2949
-

☁️Golf Blitz
by soupgrapes
-

The Studio Door of Numbers X [ 82 Doors ]
by LivesMatter
-

2 player stickman battle
by formulajenson19
-

Remix and Create your own Beat Up Button to beat up Kaj! (1)
by newmyles
-

[Level 23] Appel New Levels #3
by TanSleepingWolf
-

BDW2010's Paper Minecraft SMP
by BDW2010
-

Beat Up Kim The Monkey remix
by infinateyyy
-

Doodland fight cloud add round 2
by jamerog18