Raycast Lighting Concept
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
2048 tiles negative levels 1-300
by francescocim
F n a f 2 ( Fazgamer1983 )
by Fazgamer1983
Beat Up ScratchJR Cat ver 1
by coopstar_white3
Alphabet Lore but the word is "EGOR" instead of "FRIENDS"
by EgorTheScratcher2012
Numbers Band 100 [SEASON 5 FINALE] remix
by tatudobenja2407
Undertale SANS FIGHT finish wip
by TylerJ4C
My KLasKY CSUPO (Late 2025) Is Turning Into The Real KLasKY CSUPO
by MMF75000_Scratch
Windows XP (Beta) Simulator
by Mrgamercar09
Beat up Edward [42]
by Jesse66000
super mario kart beta
by farritor
Message Clicker V1.6
by -ezbreez-
My Little Pony Character Creator
by cat_tap
Test Jumpscares #7
by ceebc
Beat Up Scratch Cat! (Added mouse) remix remix-2
by CLAX1212
Beat Up Edward DLC Remastered But Is Back Verison remix
by mikey770
Beat Up Klasky Taapls (0)
by newmyles
pacman game + game editor
by LiewJiaKang
Rock Blaster remix
by DBananko_
kemuel 's animal game
by kem_loves1o
Endless Letter Sounds + Animations (Cyrillic) remix remix
by gatlinjemes
Super sonic maker remix
by queso112345
Beat Up Uncorrupted Plant DLC 3
by hyd3ns33k
My First Vyond Effects Kit remix
by xanderafa
F N A F 2 [CHEATS]
by SuperMemeCreator4