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
BH (3)
by Stepanovp
when uktv comes to rebrand but everyone is happy
by Matikiscool2
Beat up Pandy Paws (4)
by thiagobri
Tug of war (2 player)
by BoyWill999
paper minecraft
by 45Isaac2017
My 2026 OCS
by superjedd19
hey duggee the roundup badge credits pitch
by seba202884
AYS: Premeditated WIP
by ThekingdexusXP
My favorite games
by Icelemental
vehicle engine
by fab60
Object Stupidness intro
by CosmicPineapple8722
FIFA 21
by ismaik38
OPEN | Double Helix Voice Auditions
by Milkysplash
Numberblocks band 55ths part 1
by 6And57hundedscreator
Friday Night Funkin' Online Vs: Challeng-Edd
by CharizardAaroshdude
Cuphead Scratch Cat Full Boss Fight (ORIGINAL)
by kinkin1002
Bunnies Life: Dwarf Hates Little Airplane Girl News
by xgcyuggurx
Beat Up Bandu Buttons
by newmyles
FNF Nightmare of the Mushroom Kingdom - (Add Yourself/Your OC Singing) Triple Treat (v3)
by ourbupboi
Beat up Scratch Cat remix
by chris304940
3D
by takenokodomo
Wild Kratts Funding Credits (2011)
by gabbyabi15
Jumpstart Factory (BFDI_II's version of the J.S.L.F. Letters)
by BFDI_II
Mappy Sprites n' Sounds
by ComdeyClassic1