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
Beat Up Windows 2: Baldi's School Education School Edition
by feifei2020
Brawl of the Objects - Say "A" or "B"
by MaddieManges
Decayed reality Replica
by w3165t
Beat Up Edward Agonizing UDLC Remastered Reimagined
by Mugtoff
Endless Learning Academy Cast 8.3
by cbeebiesisgood
scratch aka the mailer
by AMINF2842D
Numbericons 1-2400
by jayden2015paul
Emoji creator
by Obvi_Me
Full Band
by tm0577
Cuphead: scratch edition
by stemtorre147
Samsung Galaxy Alpha Startup Animation
by haadimalik
Mega Black Hole Add Round 13 remix
by jayden2015paul
Bop It! Extreme 1998
by Habachupchup0715
Undertale Battle Engine v2.5
by LinkOfHyrule2012
100% Pen Animation
by Archi019
Neon Elevator ride (Beeblebrox MXZ300) @ Tom & Ben News Space Elevator V7 remix remix-2
by TestGame0987654321
Argam(Myself1111)
by myself1111
Beat up Henry Stickmin Forever V3.3
by Dontec8
DuckTales but it's an animation
by EBWW
連邦に反省を促すダンス【pumpkin dance】
by miikichi
Bloons TD 3 (but bloons are monkeys and vice versa)
by reflectorgenie
Scratch Hub ||0.1||
by CoolEli912
Interactive Endless Letters remix
by zanderpanders14
Talking Ben
by panur