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
Ultimate Soundboard 2.0 Remix
by LOLFACE990
FIFA FC24 Pack Opening
by Loukapb2011
I sent Scratch Cat to the TLC (bfdi scratch animation)
by blazepeppa7
Season 1 Episode 1
by this190
sprunke
by CamiloTianguis
Seadtype V24.4
by stevenrobloxisback
Upgraded Mario Sprite
by PolygonZones
Gator - SpongeBob Soundtrack
by DeluxeCheese35
AY in Marble Madness [ULTIMATE FUN SHOW PARTY] V2
by russellhtf
Wave Challenge
by thaiduong2013
Endless Music Editor Modded V7.0
by LowEHalfProduction
the magic store logo remix
by uhufffs
BFDIA 1 but it's IIR
by AMONG_US_SPY
Mythical Island -- Recomposed Remixer
by RainfallWasHere
Punch-Out!! The Definitive Remake (Beta)
by ZappyBarbecue10
Make your own object invasion scratch
by tpotfan1000000
Numbers 1 to 1000 - Part 1
by CooperGaming_
Spinning My Tails - Friends From the Future (Friday Night Funkin')
by FlyingMusicNote
Beat Up Evilbross v2.0
by zzhhooookk
Friday Night Funkin' kid-friendly
by Ven0m0usDuckling
add a button to beat up four.exe! [1]
by newmyles
[UNFINISHED, COMPUTER] ALL IN ONE (Part 1)
by yellowcreeper_mc
Who can it be now?
by TC035002
AY In Colors Of Plates [ Remix #8 | 24 Players
by TechinRamee