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
Hill Climb Racing 2 v.10.6 ( Mobile Friendly) remix-2
by sfa20106
Cancelled Build demo of ONaYF 2 Remastered
by LeoYcamilaStudioYT
Beat Up Bonzi Buddy! remix remix remix-14 remix remix remix-2 remix
by bonzi346
60 minute timer cat color
by dano0219
FNF: The Foolish Tower (Remade)
by Mr_NUGG3T
Fortnight Hacked English drip 2D
by Ali_snoop-dog
ScratchX.RAR (retake) ref sheet
by DuoEntertainment321
Friday Night Funkin' Update
by GreenFox701
I… Have Minecraft Movie Sound Buttons!
by babybirdy24
Number lore | 1
by Numberkid2021
Lexus IS-F Speedometer
by DarkShadowDrifter
Geometry Dash - Ship Adventures remix
by magicoceoloet8699
underfell Asgore fight (underfell 1) HACKED
by earth-ninja
3k
by sab_pg
SPIFFY.EXE BUTTONS EXE Scary
by kari1213
beat up stickman button contest season 2!
by henryp08
DUNK BALL v1.7⎥COLLAB with -SKYSBANE-
by FREEZING_BLAZER
Give me an OC and i'll make it as a beat up X button! remix-7 remix
by bartolomai
かくれんぼOnline3 v1.5 JP
by redpandakun
scratchキャットの水泳競争!
by _kano-pusu_
【拡散希望】☁︎半分自作オンラインチャット
by porone-risu
Numberblocks: Rays (1-4) remix
by monicatoyfan2013
[BETA] WarioWare: Gold (Get It 9-Volt)
by Alphabetlore77
Talking tom and ben news outfit7 and scratch classic's
by Isaias1tuiri