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
Super Mario Bros 3 NES Luigi & Mario sprites
by jibron121
Klasky Csupo Has A Sparta remix
by t2-_
Endless alphabet OC PICING
by splashyideas
Deltarune Images Ch. 3-5 (in Deltarune/Undertale Newsletters and/or Trailers))
by TheInsectKidCodes
3D snake #3d #satisfying #easy #scratch
by erex0203
Beat Up Template
by elevatorkoneecodise
My talking sky
by sprunkieinma
Beat up Sonic DX remix remix
by azoriad
Windows 10 S VM
by MeL_TheBunny2014
ZIGGY EATS remix
by GamoraQuinn
Ammayum Muyalum
by randerman
Jerry and Tuffy All-stars (Adventure) REMASTERED!
by Jerry2909
'물'리엔진
by sunyugwn
[WIP] Deeeep.io - Orca
by thepiguywholovespi
Virtual Fidget Spinner (mobile friendly)
by JeremyVS
Every Spiffy Pictures EXE Buttons Ever (Four.exe Buttons)
by pikansanok
Sonic Engine (on Scratch!)
by Enigmatic21
Name
by 992018
Talking tom and ben news 2
by gerofernandez666
talking tom and ben news: edición pingu extendía
by Andreus_
PR!ink!sans fight phase1~3 [undertale fun game]
by I---program-studio
ROLR Part 18: Rainbow Video Disc 1980s
by TheSixNetworkGuy
[DISCONTINUED] The Ultimate Object Show Intro Music
by Ach090535
How to animate in PvZ WILD (Including All-Star)
by EmeraldmanJoe3