Raycast Lighting Concept

Raycast Lighting Concept

by PurplePyramid

👁 103 ❤️ 12 ⭐ 7 🔄 0
Created: Aug 23, 2022 Last modified: Aug 27, 2022 Shared: Aug 27, 2022

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

Project thumbnail
View Project

talking tom and ben news 7: [edición] [extendida] remix remix remix-2 remix remix remix remix

by everton_trader

Project thumbnail
View Project

Endless Reader but i remade it because why not remix-4

by leiner77

Project thumbnail
View Project

click the springlock or die!

by 5emi4par2021

Project thumbnail
View Project

(Not) All of the Endless Numbers Alts (0-51) fixed 0’s Weird Sound remix

by aayanshdas

Project thumbnail
View Project

Generic Platformer!

by KingAlbertAlt

Project thumbnail
View Project

Miner Cat 4 (Scratch version) 日本語版

by haru3_14159265

Project thumbnail
View Project

Sonic Mobile

by jirachiflys

Project thumbnail
View Project

UnderTale Last Breath My Remake 進捗1

by Tadano-Hito4

Project thumbnail
View Project

Fidget Spinner

by ann_huy

Project thumbnail
View Project

FNF Full Game remix-2

by Ivy007777

Project thumbnail
View Project

My Singing Monsters: Mech Islet remix

by rynerleon

Project thumbnail
View Project

Sesame.exe (PART 3) (Hungry.exe Teaser)

by NickyTeam

Project thumbnail
View Project

The Studio Door of Numbers X (24 Doors)

by legofan208

Project thumbnail
View Project

talking news - the simpsons HD

by RomelloTV

Project thumbnail
View Project

Beat Up Neymar 44 Anos [4]

by JPPORTUGAL

Project thumbnail
View Project

Every Swedish Alphabet Lore Character Before Ö Rewound Time

by TheAlpahebetLoreGuy

Project thumbnail
View Project

My Theme

by ytewoW

Project thumbnail
View Project

Talking Tom & Ben News Party!

by bianca23bb

Project thumbnail
View Project

Add yourself vibing to the mappy ost

by InterCatGamer

Project thumbnail
View Project

Christmas Night at Franklin`s V2.

by kidsschoolsora

Project thumbnail
View Project

FNF NONSENSE [TEST] remix

by milohcraft

Project thumbnail
View Project

Blue Mist Plus Part 15

by NewFeo123

Project thumbnail
View Project

MEME/MLG sound effects remix remix

by bogbomma

Project thumbnail
View Project

Magic Tiles 3

by sdhtrsa