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
talking tom and ben news 7: [edición] [extendida] remix remix remix-2 remix remix remix remix
by everton_trader
Endless Reader but i remade it because why not remix-4
by leiner77
click the springlock or die!
by 5emi4par2021
(Not) All of the Endless Numbers Alts (0-51) fixed 0’s Weird Sound remix
by aayanshdas
Generic Platformer!
by KingAlbertAlt
Miner Cat 4 (Scratch version) 日本語版
by haru3_14159265
Sonic Mobile
by jirachiflys
UnderTale Last Breath My Remake 進捗1
by Tadano-Hito4
Fidget Spinner
by ann_huy
FNF Full Game remix-2
by Ivy007777
My Singing Monsters: Mech Islet remix
by rynerleon
Sesame.exe (PART 3) (Hungry.exe Teaser)
by NickyTeam
The Studio Door of Numbers X (24 Doors)
by legofan208
talking news - the simpsons HD
by RomelloTV
Beat Up Neymar 44 Anos [4]
by JPPORTUGAL
Every Swedish Alphabet Lore Character Before Ö Rewound Time
by TheAlpahebetLoreGuy
My Theme
by ytewoW
Talking Tom & Ben News Party!
by bianca23bb
Add yourself vibing to the mappy ost
by InterCatGamer
Christmas Night at Franklin`s V2.
by kidsschoolsora
FNF NONSENSE [TEST] remix
by milohcraft
Blue Mist Plus Part 15
by NewFeo123
MEME/MLG sound effects remix remix
by bogbomma
Magic Tiles 3
by sdhtrsa