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
-

Metal Island Reworked - Full Song
by ScratchCatGamer_Meow
-

Beat Up Scratch Cat 2.1
by sneakypete2012
-

A Dance of Fire and Ice
by Snake_Gio
-

Jumpstart Tamil
by AJJRScratch
-

Omega Flowey Fight V1.2 (David Baszucki edition)
by FunGames91
-

Opening to Scratch and Meowflash's Logo Movie 2018 DVD (Better)
by Superflex29
-

Schindler 7000 at The Schindler Hotel
by Jon5432
-

Flappy Dunk - Mobile friendly
by AnimationsScratch
-

Mega Man X - Boss Rush
by legobuzz12
-

Анонс Вести Недели
by kalamba1
-

Angry Birds Maker
by Wah4Smashh
-

脱獄ごっこ 用語集 ver.2.0
by uyou0003
-

DANTDM ANIMATED FUNNY MOMENTS
by gravitnt
-

日本語版 ☁️ Among Us スクラッチリメイク v2.81
by STARWARS-SUKI
-

Crowd panic studio v0.1
by redmapcat
-

☁ MMGISS Tower defense v4.6 ☁
by MMGISS
-

hand with 1 to 4000 fingers
by Neohm
-

Jumpstart Number Band 701-710
by nagihan282
-

Paper Minecraft Nether Update! #games
by ChessProking-tm
-

Super Mario Odyssey with music
by CoolLuigicat1
-

Wii Sports Resort - BGM集
by JRwest221
-

Talking Gina
by Lunablz
-

Games | Physics Engine - Rag Doll physics engine
by TheGamer-
-

Colorado is flying
by user123456789a7