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
-

Wii Menu Simulator
by SeanTheTuner
-

(YTPMV) Windows BSOD Startup Sound Scan^2
by truthbaconALT
-

Comfortaa Lowercase Spanish Alphabet Dancing to Witch Doctor by Cartoons remix
by ESTIOFOFER
-

(first scratch of october) -<{[(collabs)]}>- talking tom and ben news marokids tvokids HD remix-4
by Maxy2024
-

chibi ino yamanaka
by 4millwil
-

PBS 1998 ピンキッツ (Pinkfong) ident
by KawaiiFongStudio
-

Beat Up Tennis Ball 1.8 remix
by kubakoodziejczak
-

My Effects Kit remix
by ElGatoTheGaming123
-

Angry Birds Mania Boss Level
by laiqualasse
-

Paper Minecraft
by katariyar
-

Here is 37 and 32! for @Joegaming511_YT
by nikinik2023
-

Supa-Idiotblocks band 3
by KosmonavtYan
-

Super Mario Bros. Game Boy Recolor Resprite!
by zionp14456
-

Touhou- Reimu vs. Chen
by yoshifan
-

om nom cut the rope
by REN10
-

Beat up Baldi 1.5
by ExactableBoreScratch
-

Golf 3D World! ⛳ ゴルフ3Dワールド!
by praplane
-

Windows 8 Simulator
by LBPines_Test
-

Project Sekai - プロジェクトセカイ
by comeraperuibe944
-

Mela! / 緑黄色社会 ‖ スクリプト演奏
by ykuekii
-

Spongebob Jetpack (V.1.1) Alpha Build
by Cryptierz
-

Osu!Mania but it's in scratch.
by Kkappii
-

Super Mario Odyssey super Broken [remix]
by StanislawZ2013
-

【猫meme】【猫ミーム】の素材 Scratchの中で多分ちょう多い!
by peint0405