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
thinkbox v10 - hey!
by incredibox_fan_24
Talking tom and ben news Carl Fredricksen and Alex News V2 remix-5 remix
by ELYADENCRACK
FNaS : UCN Tech Demo II
by GlitchGamesOmega
Flush
by the-bite-of-190385
Super Mario 64 Online Gaming Server remix
by QwertyGuy2024
OMFGbox - Hello
by Quinnster134
APRIL THE THIRD
by jetixfan2020
MegacoolZ | Accurate Wither Storm: Reimagined!
by MEGACOOL_YOUTUBE
Zanta- Friday Night Funkin' AgustipGamer12
by 4baaron22
Subaru VIZIV G speedometer
by quicksteve
death at sea
by luigismansion77
mnfgjnjbn
by bar9
Beat up jack
by codingrocks9_55
Sonic 3d Xtreme: Temperate Temple
by squidchip
Island Survival Beta 1.2.9 Mobile Update
by Vanster303
Beat Up WeDo
by liamdvd
FRAME FIGHTER
by bobosigianan
Scratchnapped Ultimate v1.6
by LSPECTRONIZTAR
3D‼レースゲーム‼(3D race)
by Salmon0141y
ball and square
by Alaron
Add A Button To Beat Up Victor!
by CartoonComedian366
Catch the coin
by Code-Gear
SAMSUNG SGH Z140 startup and shutdown
by romanrai2013
Beat Up Trash 13! [EARTH DAY 2024]
by SonicFan7000