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
Scratch Effects The Game
by juliescott12
talking tom and ben news 10: muchos gracias @CatalinaMax2006 remix
by bonzi346
Emergency Exit 1989 Says Yes Abby Hatcher/Grounded
by sickrick02
Manic Mallets (From Mario Party 5)
by Itsevan497_Alt
Beat up Dan the Cat CRAZY
by NESgoat
Destroy Scratch Cat 2
by 1Vuki
Genetically Modified Veins (JSAB Crackpost)
by xBlixer_theYANDEREx
青の塔8階
by sakaryuu
make your own BFB R ( SPRITES CHANGED) remix-2 remix
by Dmack881
Elevator Simulation v3.0 [BETA] remix remix
by DiKR9000
⁘✰ Ice Cream Catch 2 {Mobile Friendly} (With different ice cream cones)
by Twin138956Scratch
Numberblocks Band Sixteenths 0.0625 to 10
by blythe2525
彁(裏)色々改造等速バージョン
by taids
DIO's The World GREATEST HIGH UPDATE
by L5331
beat up edward but its broken
by GarBear5738
Beat Up Lollipop :( remix
by mano745
(AY) Destroy the "Project could not save"! (2)
by tatatino150again
nsmb propeller Mario Sprites
by EthanLuigi
(インポッシブル・デュオ) Barney Error Maker (アクセル・エディション) ReMiX
by angelnonameNG
Beat Up Entourage: Fama e Amizade (49)
by JPPORTUGAL
Talking tom and ben news escandalosos reversed
by dionellbebe
Beat up Boyfriend (add a button) remix
by Lestat1025
Beat Up Big Bird! remix
by MichaelLopez832
100% pen 5 minute timer
by Gekko2013