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

2,100 to 2,199 Jumpscares (Part 2 of Blue Mist Plus 2,000 All Jumpscares) copy copy

by Jharring20

Project thumbnail
View Project

Beat Up GAMING TRUCK

by dirtotheobjectrises

Project thumbnail
View Project

Pomni suffers the springlock failure (she dies lol)

by abraham01126

Project thumbnail
View Project

Minecraft Siren head Edition!! ver1.0

by Scratch_dino123

Project thumbnail
View Project

Beat Up Roblox Logo (MUSIC UPDATE) remix

by xmrrileyxx

Project thumbnail
View Project

Beat up Do stuff: Weird ai Edition remix remix remix

by AnnoyingOrangeKid

Project thumbnail
View Project

Goodbye to a world song

by pikachu_pokemonfan

Project thumbnail
View Project

Blue Lock Heroes v5.4

by rdyyfuygyfuy

Project thumbnail
View Project

Endless Music Maker (V1.1) Maxwell cat better ending

by pinkchknnugg

Project thumbnail
View Project

Numbers 0-99999

by jayden2015paul

Project thumbnail
View Project

-Trinity Encore- (FNF VS Rewrite ROUND 2

by sweetapie8

Project thumbnail
View Project

jump rope squid game 3

by Anakindonesia_iscool

Project thumbnail
View Project

SP:pico’s worst quiz day ever

by 9584512

Project thumbnail
View Project

SCP Containment breach. ao oni mod

by zombietank

Project thumbnail
View Project

TJOC halloween edition 2D

by Kiwbird1

Project thumbnail
View Project

o tarado

by gay

Project thumbnail
View Project

Scratch Adventure [DEMO]

by Gangstergrape

Project thumbnail
View Project

Beat Up Black Cat V1 More Buttons remix remix

by CLAX1212

Project thumbnail
View Project

Beat Up Pucci (1)

by peggraz51

Project thumbnail
View Project

γƒžγƒͺγ‚ͺγ‚΅γƒΌγ‚­γƒƒγƒˆγ£γ½γ„οΌοΌŸγƒ—γƒ©γƒƒγƒˆγƒ•γ‚©γƒΌγƒžγƒΌοΌοΌ

by sgihyt781

Project thumbnail
View Project

Cherokee Toonphabet

by bren319

Project thumbnail
View Project

Beat up Cat 3.0

by Diddyer78

Project thumbnail
View Project

Mario Odyssey Cap Kingdom

by king1568

Project thumbnail
View Project

add a button to beat up Nano: 2024 edition [4]

by coolguy1713