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
add your own button to beat up mario remix remix remix
by everton_trader
My Own Rooms Entity Sandbox (v5.0)
by VenenoTheLambo
bas6, 1.5 but bigger than small numbers x2 (headphone warning) remix
by Denys_and_Scratch
Happy Font V11
by BonesonScratch
Add yourself crushed by random things (42)
by MyBrithdalWorld
Fc Mobile Pack Opener
by COOLGAMESFC
CUPHEAD CLICKER BETA
by ygtkrkts
Klasky Csupo Scan Scan
by TFCreator2025
OctalBlocks
by gabrielkenzie
Numbers 1 to 1 Trillion but badly made remix
by Christian12152017
"Time To End This..."
by RobloxOven119
Kirby cat
by HRLR2023
Beat Up Talking Pierre Free remix remix remix
by everton123E
Make your own BFDIA! MORE ACCURATE
by Cjsletsgooo
UnderTale
by angrybirdkid
Last Hope
by Awsomgamer12325
Battle Quest
by venomous-squirrel
Vyond Effects Kit remix
by scratchfan0206
world of Tanks
by scratch_craft_2
Endless Alphabet Stampede
by Olihat
Scratch Effects Use Old Vyond Effects remix
by juliescott12
Windows with viruses
by fgsdujk
Windows Server 2019 Crazy Error Maker 2
by AndersandAngus2012
Preview 2 Scratch Cat G-Major Effects Part 6
by gamerboy1228