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
The Argam Countalong: Suprise Attack!
by NumberArt2024
sonic anti piracy
by catmananddogman
new black hole add round 5
by Adibe_raissouni
Beat up Seven DLC his luck remix-2
by xmrrileyxx
Masha and the Bear Russia End Credits Lost Episode
by zyron74
bahw sir chew poe (REMADE ON SCRATCH)
by warewolfwindows10ALT
the omega wither storm [version 1.2]
by kirbyspringbreeze
BFDI Contestant Generating Game 3
by drzootopia11
Super Mario: The ABC Song from ABC No Utau Video! remix-2 remix
by Seankalnizki
Wii Menu Simulator
by Davidman2024
appel v1.4
by fatcatcoolkid2014
AY in Hole Lookout (14 Players)
by Basilioleo1120
Talking Tom And Ben News On Scratch!
by ryanplays_SP
Computer
by authorgirl15
scratch in the space | bullet hell V0.7
by Alex-tremo
Windows 10 21H2
by ehappyuser
Spiffy Pictures.EXE Buttons C
by MonicaNunez15000
Pac-Man Arcade Edition - HD Mod
by Mfox_Games
FNF: VS Sonic.EXE [ 3.0 / 2.5 ]
by MrChillMan
ćę”ę£åøęćć·ć£ć¤ćć³ć°ć¹ćæć¼/ęåPV
by vonnornoth
Spiffy Pictures.EXE Buttons C
by vivoscolores2
beat up mr bean god editon
by JonDoe128
(Not official) One Night at Franklin's RE
by syumai_mania
knight game
by person2