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
-

#931 オンライン雪合戦
by yadokarigames
-

Beat Up Nano! V5 remix
by xmrrileyxx
-

Zeta Z Kids Logo (2025-)
by EmilyWASP
-

リアルタイム地震ビューアー v1.6.3 remix
by jhdfsjhfdkf
-

GD faces V1
by owenfreund
-

Seadtype V25.8
by Steven_and_friends
-

sprunki vs among us
by megaF1234
-

Fish Currents!
by Spring118
-

Thomas & Friends Best Of CBR1 Thomas DVD Menu remix
by SubToEvanPlaysYT
-

Minika go TV Nintendo Switch Killscreen (Interactive) remix-2 remix
by PlanetCocukYediYasve
-

forsaken fanart!
by ST4RZ_Rc00L
-

wither storm
by SurgeNconquer
-

PAC-MAN Swapped remix
by robbie0614
-

surviv.io スマホエイムトレーニング
by hclhcl
-

謎解き脱獄!!2 ~迫る黒い影~
by nagixx
-

Edit/add a button to beat up Gobo [1.1]
by MyCottage
-

Scratchers with Most Shared Projects v1.1
by Twin138956Scratch
-

3D Tennis
by brooksd
-

Friday Night Funkin' | high effort hank full week
by autoprime1896
-

Planet Miner
by cs2889410
-

Beat up stick eyes red!
by kbhg1234
-

Numberblocks Band 181-190 pt1
by 36productions
-

scratchキャットの水泳競争!
by _kano-pusu_
-

Meow >:p
by edvent21