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
Turbo Dismount
by samukai0207
Semi-accurate Interminable Rooms Jumpscares
by alfaromeogiulia
MiniCraft: Remastered
by Darkcloak123
Digital clock with day night cycle
by 12Duy
ソニックコラボ開催!
by susitrainrobot
Minecraft
by 24nops18
impossible wave challenge (1 level)
by andreail_bello
Beat Up Snowman! (1)
by Macjun12
Fidget Spinner Clicker Game
by timothymhuang
9 KlaskY Csupo Logos remix-3
by calebdoodlebug
The mine song but every mine in replaced the scartch cart
by Disaster3432
AY in Number Crunchers [Server 1 | Remix 17 | 23 Players ]
by PiitaBuOwO
暗黒ノ世界ーThe Dark Worldー #2「一騎当千」
by meganenooujisama
脱出×人狼 脱出ゲームSeason1 #5 サボタージュ 60FPSターボワープ版
by -Alut-
My Effects Kit V0.5
by maikaivenko
Simple Scrolling platformer #All #Games
by randomsonicfan852
Black Hole Add Round 2 remix-2
by Linesta
Maze Generator v1.4
by MistaLOD
1年アニメ 3/13 whitedayのchocolate作り
by 1296-cat
Beat Up Objects remix
by egwemma
Numbericons 1-100
by Iloveendlessalphabet
Slime Jump
by Technoman7
Number/Blocks Font 3.5 (UPDATE TWO) remix
by RSF-2
Speakable 22-28
by cometofoxysparty