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
-

Trooper Down: Recon
by JorSamHan
-

BEAT UP Cube 0.4
by SamiSamantaG
-

Windows River
by ColorWindows
-

Beat Up Emily remix remix
by CasegPaags
-

Six Souls Sans (Undertale Simulator).
by Teapotguy
-

I Remade Masky From The Daily Scratch Object Show
by FOXMOX1
-

Sonic Mania E16
by Alexander_Ajibo
-

Nickelodeon Creatures Text Engine 9.1
by siddharth1717
-

ESTOY CANSADO JEFE (version sonic)
by Intermundo
-

Small Sprunkis night time
by Reikaikay
-

マイクラ 1話
by ma-tare
-

TAOA&T Black Hole Add Round 15
by cocoswin88
-

One week at flumpty's night 5 new
by Hathatgirlnews
-

Sparta remix
by -_rarehoola_-
-

Super off road
by piiizzzaa
-

windows10.2 OSreal home v.0.02.7 PULS! win
by windows35Bata2
-

New Super Mario Bros. Wii on Scratch
by triangle5820
-

【ゲーム】脱出 キャット3
by nijibob
-

Scratch Brawl 2 Rebooted
by striker08080
-

Find The Markers (43)
by ywnwhjk123
-

Warrior Cat Theme Song ~ my ocs!
by xXShad0w_FallXx
-

Lol heck 2 (Legacy edition)
by Alguien_Miitopia
-

Screen Fidgets - Fidget Spinner
by Hen643
-

Warrior Cats- The Leader's Grief
by Nightslash30