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
Pet Simulator 99 (UPDATE 3)
by Scratchfangs
(FANMADE) numberblocks 15 times table
by rashflash8000
Beat up Animatube DLC 6.2
by TAHFalternate
preview 2 scratch cat
by fanman89042
The Black Hole (Add Round 5)
by lexailya2024
Flumpty Bumpty Remade
by AMOUNGUS999999
Sprunki Fight Cloud Add Round 2 remix
by kidzombieis11
FBI OPEN UP
by TheCoderPanda
Beating Up Time Kuiperman 6 "Updated"
by EarthKuiperman
My KLasKY CSUPO (Late 2025) Is Turning Into The Real KLasKY CSUPO
by MMF75000_Scratch
oh ####
by ClukerSprunki50
muffin clicker!
by Eussscratch
{Mobile Supported} The Interminable R-Rooms
by Sratchgamer1218
T.S.A RPG: Wymiar X [BETA]
by Ziolo7
Super Smash Bros. Scratch (18.1)
by 24brendanz
Scratch sky craft #games #all (Scratch Week 2)
by Ramir633
PBS KIDS DOT LOGO G MAJOR 4 remix
by --AbbyHatcher--
ă¨ăŠăăšăăăšăŽăľăă ćščŻÂ˛
by cider1
SPS 1apr23-1.20.9-d
by S_P_A_R_T_Test
Magic Tiles 3 remix-3
by gigiobelloeeeee
Impulse 2D Physics Engine 1.3.0
by griffpatch
Super Luigi Creator
by GuerreroKid1
Beat up SpongeBob
by ilovefish282
make your own bfdi story
by guiscratch559