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
Preview 2 Scratch Cat in G Major 44
by gamerboy1228
Video 013 ~ Retaking The Airship || #games #animations #all remix
by julu3er
Scratch OS
by ThatWindows11Boy
Beat Up Lieopa V1 remix
by ethan187champ
Talking Tom And Ben News + Ginger & Angela
by GWYSY
With Sound
by BTM2913
Just For Laughs Logo history (10)
by migbuenoalmeida
Angry Birds Adventures Season 2 Episode 9 A Silver Face
by charmxthe2nd
Eternal Sugar Cookie Drawing
by Rena-rouge_LW_
jump rope squidgame
by -B4rr3tt_Animations-
Pokemon Company Logo
by PokemonLegends
Stingy text to speech with more words and phrases
by SuperBoyScratcher
Pokémon Scratch Edition [DISCONTINUED]
by AliTheScratcher
Dozenalblocks - Intro but 5,s fixed
by KuyaSean
bandyBlocks band 2
by puncc
リアルな太陽系シミュレーターver2.0
by 46491cat
Graphing Calculator
by benb737
逆翻訳メーカー【進化版】
by Entity951
The Worm Game
by Blue_Pumpkin
Artistic Text 10.0
by ChermayeffTesting
my bfdi, bfdia, idfb, bfb, tpot assets! bfarng
by astronautman04
DIG DUG EPIC!!!
by RoboKolten
matel's talking clock
by Zander-77-
Talking tom and ben news Sinister turmoil remix
by jacejim