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
Beat Up Scratch Cat
by Moranguinhos832
Paper Minecraft
by Sooojs
Beat up little guy 6 remix
by Lestat1025
Thomas & Friends Best Of Percy DVD Menu remix
by SubToEvanPlaysYT
KinitoPet OC?? remix
by HeavenB2014
KABOOM.js FNF test
by Flip293
SANS
by ERRORGAMES101
Baldi's Basics Soundboard Mega Update
by broken_solar_panel_2
Five Nights at Freddy's
by SwimmingGecko101
Zombs Royale
by Twibble
Remix of Hungry Xue hua piao piao
by cs3040114
QC's Disney Junior Logo Bloopers Part 6 - Lyrick Studios Letters
by Quarter_Change
Geometry Dash 2.2 Editor (STOP PLAYING THIS)
by axelthegdkidl839
TDGBV version 2.29.1 Easy Mod 1.0
by tr-d
Sonic beat up! remix
by baby_jaba1604
Universe Expander v0.1.0
by _--Daniel_2--_
Digidle ||#All #Art #Games #Code #Trending #wordle #numbers
by anthonyfish
ULTIMATE custom night 155 animatronic coming up!
by OffsetChannel7
U̷5̴3̵R̷D̵V̸ In PVZ DS
by sonicbrendan900
The Alphabet Lore The Movie DVD Menu
by pook67
All BlockIcon 1-200
by AidanFuture2095
Vyond Effects Kit! (2023) remix
by lalumo
Beat up Scratch Cat [5]
by scratchcatsonic
Fnf Test(WIP)
by Flair44