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
Fifi Rants Omar Mosquera
by Angel0815aeso8y
Escape Prison #games
by flameboy2516
AY in Lava Tower 6 ! 82 players
by qqqqef
Beat Up Best & Bester! (Extreme!) (Father's Day Special) (114)
by 09limbua
flag band :pear:
by BBTLEOfficialScratch
【Ver7.4.6】Scratch 連射!デ・アタック ダイヤモンド/ Attack with rapid fire! Diamond Edition in Scratch チートver.
by eito-s
My Solar Object Band S2 E1
by PandaGamesYT2
One night at flumpty's ultimate
by Hathatgirlnews
Drop the Ball
by kevin_eleven_1234
Samsung Galaxy S30+ Super HD Startup (fake)
by Ebabcock11
beat up the scratch cat remix remix remix remix remix remix remix remix remix remix remix rem… remix
by MyCottage
Doom I Guess 2
by MagnusTheReker
マリオカートっぽい!?プラットフォーマー!! special!!
by sgihyt781
BEAT UP PROTOGENT!!!! [fixed eb0206 edition]
by SammyStudiosScratch
Custom parkour platformer!! #games #all
by huy004956
AYS: Greatest Plan
by 12366193CVUSD0
Boom Bam Bop
by BigBouncyBanana
Running Pibby Test
by TheOneAndOnlySuffer
Ukrainian Alphabet Lore for @bren319 (add more stripes)
by SillygooseMike
Make Your Own BFB With HyperCrystal's Characters
by AlexCRules
talking tom and ben news (sonic.exe update) v2
by TomBenNewsScratch
Disruption Bambi Test remix
by issy-shark
Blue OS v2.27.1
by OS_Blue
(WIP) ANGRY BIRDS MAKER
by TSaMEahDAMIAN