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
Paper Minecraft v11.7 (Minecraft 2D) remix
by khanhtrinhtnt
Beat Up Hat Pig 7
by Jmason2023
BFDIA 5e Reanimation | #animations
by JayNateGamers1
Seadtype V10.5
by crazymilkandres
Cuphead
by Hplayer65
Fidget Spinner
by TinyTinoProductions
Bluey Boldface V7.2
by deejaysilver
Jiggle Jessicas Diner #1
by Bananabackc
NINTENDO-SWITCH-2
by NGV8
Scratch Anti Piracy Screen
by ThePiracyScreenGuy
Make your own TPOT but im here! REMASTERED
by BGETSGROUNDED_90_
beat up scratch cat 2
by mikey_mike
"Don't let your kids watch it!" remix remix
by MyCottage
One Night At Gumball 2
by TailsTheFox5000
Cookie Run - Dark Enchantress Cookie Boss Battle (Cookie Run Kingdom)
by FireMayro
Talking Doki and Nito News ALL
by mateothebb
scratch cat trapped BETA 1.0.3
by ertyuitghi
Beat Up Nano
by LockTheScratcher
(AY) Destroy the "Project could not save"! (13)
by thesecretsussy
Paper Minecraft sky block v11.3 (Minecraft 2D) remix remix-2 remix
by huyscratch22
jondoe128's giant beat up IVON AABBCC
by NicolasRluz
☁️3D Among Us v1.0
by thefallguy101
(6) LOW IT!
by The_Pixelater
Kinemaster/Vyond Effects
by lateone1