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
Windows 11 Crazy Error Maker 130 remix
by emoryeee
beat up scratch cat
by Lestat1025
Spiffy Pictures Completed Collection V1.2 [ARCHIVE]
by TheBoeShowUK
PONG
by Art-Bar-Tei_2011
(AYS) Class/Lore TFG Mix
by BroJoeGoPro
Numberrunki
by ClarUsesScratch2019
Fornight
by Loganleeson1234
AY in the Moving Mine 3 [ Remix 7/22 Players ] remix remix remix remix remix remix remix remix
by digthefrog
Dida Says No Totally Spies and Gets Grounded
by gabbyabi15
Talking Roby Celik The Robot MG6070ALT Port
by Matthew-Gurrola
UnderTale last breath! (demo_TEST_asset.UnderTale)
by hdmipizic_2
Glitch Effect
by TheCommunity_Bacon
Acer Font 0.01
by BBTLEOfficialScratch
-<[{(Collabs)}]>- Talking Tom and Ben News Extra HD (New Version) remix
by veziravcisi
Egoping makes a disease and gets grounded
by mycutecorechannel
Sonic The Hedgehog Maker - v1.1
by JoshsAccount
add edit and create a new button and relese your anger to beat up retro paper mario remix remix
by liamdvd
stingy text to speech 1
by UP_the_GoAnimator
The Windows XP Simulator
by messijestsuper
how to make a trollge incident (Farwell Trollge)
by Eggmangaming123
Maze Generator And Pathfinder
by bobthejoe22
TSM DVD Menu (22.5)
by phineas2010
★>[{(COLLAB!)}]<☆ Talking Tom and Ben News HD!
by kitty_catG
Among Us Zombie - Ep 4( Animation)
by Swit_Dom