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
-

Endless music very low (chord)
by JaydenGamerzTube
-

Endless alphabet OC RATW
by splashyideas
-

Beat Up Me: Ultimate Edition
by funforhappylots
-

beat up red parrot
by piolalina
-

AY In Springy Of DOOM! (1) Added Red
by little0clover
-

Numberblocks Generator v2.0
by marques_k_provost
-

Plants Vs Zombies: Scratch Edition
by Famous_one2010
-

Endless Alphabet, Reader and Spanish Animations (added uppercase á, é, í, ñ, ó, and ú)
by Nachosun1403
-

sonic run(boss fight update almost done)
by john63778
-

Chrome Fidget Spinner
by Google_Network
-

osu! (Rhythm Game)
by DecaTen
-

Climb to the Rhythm! #games #platformer #music
by S-1014
-

Vs dave and bambi - Unfairness
by 44ttech
-

|| new minimal || intro for game_2569 ||
by intro-code
-

Fnf Sonic.exe v2 you can't run Burst Mechanic
by dminecart88
-

2048 tiles 1-3100 GENERATOR PLZ SNIP&SKETCH
by Da0DuDe0
-

Test-
by s19r11
-

無理ゲーじゃない
by pi10e10n
-

tug of war 2 players game.
by superwinston
-

Official Scratch Sans Fight
by Jden_yt
-

SONIC MAKE IN SCRATCH (BETA)
by Rextrtx
-

Playkids Band 5 (Pakistan)
by ScracthyBiscuit2021
-

(WIP) Dust Sans Buttons / Dust Sans Soundboard (WI
by DF_Sans
-

AY in Block Party Rewritten but it's only Tim and the Number blocks 1-5 [ Remix 0 | Server 2 ]
by babaamadit