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
run scratch all!
by SamiSamantaG
Beat Up Zombie #game #games #all #trending #beatup remix
by crazybabybaby16
Pac Man (Rally X Version) p3
by SebastianArcorace20
Seeds of Civilisation: A Roleplay
by SomeSand
IZZZZ KRIIIIIMAAAAAAAA
by loganscratchcat
Nightmare White Parry (A Numberblocks Basics 9 Charater That Did Not Appear In NBB9)
by Jason3424Maker-Newer
Beat Up Bonzi Buddy 1.1.8 game! remix remix
by matheusmaccamargo
Make your own BFDI again
by ayazkoksal
Nickelodeon Creatures Text Engine
by ChermayeffTesting
Make your own BFDIA [BFDIA 25] but better
by newcityleaf3
Super Smash Bros
by MasterCharpy
SCP Containment breach. ao oni mod
by zombietank
AYS - I AM BACK
by Rowliecoolbird
mickey and the roadster racers E
by Jman2555
Uno!
by johnelr
Just Shapes & Beats: FINALE(HARD battle mod)
by Nick031m
random terrain generator! #rotp
by sbre2701
Super Sonic Maker - 8 Bit Platformer Creator V1.3
by 16BitGAMER132
PIBBY 2 (MOBILE FRIENDLY)
by GetYeeted2021
SSS - VS ScratchX.rar B SIDES
by Arthurp1536
20 Minute Timer - Large Colorful LED Digital Clock
by VinnieJay
OmNom Time
by MaskedTape
Sago Mini Band 3 remix
by birthdayboymatteo
The Speedrun Game V5.1
by Mystical-Studios-