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
(翻訳無し)☁️アモングアス オンライン 日本語版 / Among Us Online Scratch Remake Japanese Version remix copy copy
by AI_HABU_A_PENN_sub
Endless Alphabet but the boy and his twin sister is running remix-2
by Appysmarts
talking tom and ben news 8: edición extendida remix remix remix remix-2 remix remix-3
by kuponoIs
Preview 2 Scratch Cat in Chorded in Crying X (FIXED)
by okofilesowner
MC man's Fishing master
by mooncake2012
music progress
by goofee_ah
MickeyBob MousePants: EveryBody Say Oh Toodles
by zyron74
Dalgona
by wolfpro12712
Prototype Po And Friends End Credits
by Gummibar1212
Pokemon Go Full Game
by Radi-8
Wega Style
by wegamaker
Nickelodeon Junior Organisms Interactive
by tphwaymore5
Eco Calucator- Liam
by liahal11
Better performance than anywhere else! Elevator 1-999 Top speed 5000 (with music and updated voices)
by Yugiohpro1212
Tiny10
by SVNMaster
Beat Up BOB
by newmyles
Endless Greek Letters animations Gho
by gatlinjemes
A-200 Jumpscare
by mariostarr59
Pvz 2 player versus Local Beta 1.3
by PachecoT0619
Philips X622 with Samsung Galaxy S2 Edge incoming call
by NuggetPraying_981
Make Your Own BFDI/BFDIA/BFB/TPOT Version 2.0
by mogus444
Oblitus Casa : Scratch Edition remix
by jop711015
Discover Card 2000 Countdown
by happyapple4
Beat Up Squidward 2023
by Batatapo89Rises