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
-

shooting game sample(use clone)
by uran225
-

My French Alphabet Lore In Bren319's Style
by ATF2009NextGen
-

UPDATE talking tom and ben news 9 V4 added all hd remix-2
by tomandbennews6
-

IT'S MUGEN TIME!
by EduardoMarinToons
-

Preview 2 Scratch Cat v10.5
by bfdieditor17
-

UPDATE talking tom and ben news 9 V4 added all hd remix remix-4 remix remix-2 remix remix
by bonzi346
-

Jabonese artistic alphabet without transition remake remix
by razaadams
-

extended bio (1)
by Defalted
-

talking tom and ben news - numberblocks V5 remastered remix
by Jmason2023
-

日常に潜むYOU DIED
by NM_i
-

E.T. End Credits | Piano Music | v1.0
by Harveyhascoolgames
-

mario kart: scratch edition! remix remix remix
by silvadabarreto
-

I don't know what I made
by GoosePatrol
-

Omega Pearl, FINALE
by OmegaLollo
-

1420[1]
by zacdog
-

Beat Up Scratchy remix-2
by Mutant300
-

NES Godzilla Creepypasta Chimera Fight (SOLOMON) remix
by Homer5678
-

Beat up Barney
by newmyles
-

Phone calls...
by ShadowGuy_Animations
-

(W.I.P) Mickey Mouse Clubhouse Game!
by anguythatlikesmickey
-

Elevator Action New
by CaptainPoppycorn
-

超長編アニメ 〜#36〜 そして繰り返す
by SAS134
-

Imagine that: Face Raiders but VR
by Duskdawn06
-

Beat up evil doodland uttp
by Batatapo89RisesYETAg