
Raycast Lighting Concept
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

☁️銃撃戦バトルオンライン(日本語版)V2.0
by varuki

Undying Undyne Simulator (2 Player)
by Izimonster

スプラトゥーン[3D]ボールころころ
by SayYah_1007

Nano Network Final Shutdown/Nano Kids First Startup
by TobyRobloxgames

Neon || 100% Pen Platformer
by jburrito75

LBP Interactive Music Mixer
by Gut_Mi

FRAME FIGHTER
by bobosigianan

スクラッチストライクVer.4.0
by zyo-ka-da

初期アイコンメーカー / Default Icon Creator
by Kuppi-scratch

ᴢᴏᴍʙʟᴇᴛ 2 BLOOD RUSH (OPEN BETA)
by screencheese_youtube

RALA Everyone is Frozen: Ц
by BeastmodeM

Pizza Clicker
by Animator180

期間限定配信主男の脱獄物語:1章#3
by sansdaaaa

My geometry dash faces + official faces
by BigWorldOfJed

どっちぼおる勇話 人「狼」の正体
by kinnsiwa-do

Talking Tom and Ben news REMIX!!
by Glebik0892

Super Mario Bros. Wii V0.7
by NightCat28

Scratch-aerobics2
by tammy

反応拡散系 / Reaction-diffusion system
by AquaBalloon

Amanda The Adventurer : Pilot episode
by _Wooly

Random pen stuff
by DivineCodes

GD | SPAM CHALLENGE
by DrizzlyRB

vs. Galacta Knight?
by Mossmandaynight

Geometry Dash 2.2 (Icon Kit)
by NeekoBeeksGaming