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
-

Spiffy Pictures Completed Collection V1.2 [ARCHIVE]
by TheBoeShowUK
-

Numberblocks Revamped Basics (NEW MODE ADDED) in 19 remix-8
by gfa572
-

DREAMWORKS LOGO SHARK TALE
by andpsaid
-

Phobiablocks Band (Dendrophobia-Electrophobia) (31-40) (FALSE)
by KosmonavtYan
-

tug of war
by s171741
-

-100 - -116 Vyond Effect
by timedoorkids-JKT
-

NumberIcons count to 1-230
by Andyspiffy
-

TSB: Ya Kids
by kirill231213
-

Beat Up Fill In Memes (8)
by tiziland009
-

MR. (Ant) TENNA-VECTOR.
by johnthe117
-

Kit to leader but Everyone hates you remix-2
by Scratcg8
-

Monster World v.1.2 - PREVIEW
by Apfellord
-

Samsung Galaxy S20 Shutdown
by kagel
-

[discontinued!] Friday Night Funkin v2.9.14
by ianplus
-

カードゲーム ver.3.3.5
by piisu0203
-

Beat up 0
by Jonahbeen2012
-

the scratch 3.0 show: The Egg but 2.0 saved himself
by Marcel1607
-

Five Nights at Freddy´s, Metal for Metal
by 06-5a01gv-2021
-

Beat Up Bronto
by yc20181013
-

Black Hole Add Round 12
by Numberblockgamer8694
-

Fixed Monkey Color and Walrus Color
by Alfad2009
-

Windows 7 error game
by Xanman634
-

Beat up man simulator
by jacrPSP23
-

BonziWORLD Anti Piarcy Screen (2019-2028) (REUPLOADED) remix remix
by htuytuytie