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
-

Edit A Button To Beat Up Masha! (7)
by MPAOS81
-

Bop It Extreme (Scratch Edition)
by leocorderogames
-

〔フリーコラボ〕Add Yourself Singing Roasted remix remix
by SRAT_4649
-

Bus Esquivador
by AlvaAA_2012
-

talking tom and ben news 7: edición extendida remix remix
by MokuGyou
-

Ball storm | #all #games
by Goyti2
-

rainbow fish
by brinly-animations
-

Number Decimals Band Episode 10: Part 5-6
by splashyideas
-

bubbles
by fluffycheesecake2
-

ay black hole
by chiko1978
-

The Studio Doors of Numbers I - Part II (139 Doors)
by KailoArriba
-

Numbericons 1-2400
by vanhouchin
-

V8 オンライン 軽量版向き付き 10人参加可能
by YKK15
-

Numberblocks - Low battery
by ant3k5
-

Endless monster tales: Alphabat
by williamsS565
-

Mr. TimeGuyMan 2nd #all #games
by surlo_gamez
-

Scratch Wars (A Star Wars Game)
by ottobunny
-

BTD5 Multiplayer
by jerry_darock2
-

Arabic Jumpstart Quickie: Dawud finds a guitar
by KoAnimations
-

PONG GAME but if you lose you crash
by rasyad_kareem
-

Hill Climb Racing v1.0 remix remix
by koudaiyugo
-

With 2 Hard Signs :]
by MarbickManuel
-

MultiStyle Intro for JIMO | kobajin
by kobajin
-

did 756 (read inside sprite)
by -Matteo8-