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
I AM STEVE
by 1theeventcreator
Nintendo Switch menu
by Alguien_Miitopia
Multiplayer Platformer Game
by bobobobanana
Beat up NAH8228 (1)
by lalumo
BFDI Contestant Generating Game 3
by drzootopia11
Mac OS X 10.2 Jaguar Simulator [WIP]
by Androidxpert
User Name without the symbols As Nick Creatures
by siddharth1717
Klaskyklaskyklaskyklasky Gummy Bear song version remix-12
by Gum1my
Nickelodeon Creatures Text Engine
by danendra08
Windows History with Never Released Versions (Part 9, 2005-2013 Era)
by Deshaun4168214
Brawl Stars CyberBrawl theme
by Hudnguyen
Jumpstart Numbers Shorts: 67's reaction to this "sheep"
by MyJSNumbersShorts
Add a button BEAT UP SUPER WHY!!!! (15)
by Dylan2020crew
スライム育成ゲーム v1.24
by yamarsukunn
Word Data Calculator
by BeastyCodes
Paper Minecraft v1.18 (Minecraft 2D)
by gaker19
Punch-Out!! Lite demo V0.2
by DaMastaofdat
イントロ #3 intro by @omowaka
by omowaka
Fidget Spinner Simulator
by Pizza_Cheetah4774
ФНАФ Ultra Custom Night remix-3
by kripperu
Beat up Scratch Cat 2.31
by ExcellenceManu
Kağıt Uçak / Uçak Oyunu
by 5Forest_
Beat Up Sonic (READ DESC)
by KubaKo_Player
my Talking Tom 2
by nathygames9087