
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

remastered beat up template
by Rileyroo2011

HALE BLASTER(ゲームボーイ風STG)
by Mikoto_Shinbara

Toilet Flush Test
by head_cat

AYS / Add Yourself Singing Dictator
by GorgPag7572

beat up a.k.e.e. 2
by SamiSamantaG

60 minute timer with relaxing music.
by Gekko2013

Minecraft 3D IN SCRATCH!!
by -cloudcoding-

beat up DTLegendz remix remix
by nagihan282

BMS (Beatmania) Game
by _ooooo_

Ultra Numberblocks Night 2023 remix 13+
by atinshhf

[MULTIPLAYER] Adventure - A platformer
by Dandyprogrammer12

Fleeing the Complex 2
by Lor888

Sonic Dimension [ Aka sonic level creator ] V1.1
by ninjaMWilliams

Space shooter - Space shooter
by 888569

Windows History with Concepts Part 3
by 82hw72vsb

Beat Up Baby Shark but green
by StayPeachyIOS123

Spiffy.EXE Buttons Infinity
by kari1213

My Numberblocks 1-100
by Beb15SecondChannel

Endless Reader/Endless Scratch remix-4
by leiner77

Veh's Original File with lil bonus
by cs4200621

Outfit7 Games On Scratch || Talking Baby Hippo
by -YacineOnScratch-

by Aaddaamm54321

Dateblocks Band 19 (Aidans Version)
by AidanScratchMaker

beat up stickman 2! teaser trailer
by henryp08