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

The Mouseheadz Band Song Pt.1

by podeewhitemonkey

Project thumbnail
View Project

Alphabet Lore but the word is FUNNY instead of Friends

by SillyGooseReturns

Project thumbnail
View Project

Beat up 4-BIT 1 remix

by birthdayboy12_matteo

Project thumbnail
View Project

W

by ALBTWIAIOF

Project thumbnail
View Project

Beat Up 1-Ball! [4]

by DelightFans

Project thumbnail
View Project

Incredibox - Sprunki oc (real) V3 PART 1/3

by KAWAJUNJTV

Project thumbnail
View Project

Air Programs International (API) Television Production (audio fixed)

by LTV2008

Project thumbnail
View Project

Blox Master1

by 7aaluno01

Project thumbnail
View Project

noedolekciN Screaming Logo Fixed remix

by jacejimerson7

Project thumbnail
View Project

Sprunki Swapped Bonus 4

by nicholasgrecu

Project thumbnail
View Project

前作七段が十段を取りたいだけ【段位道場2025】 #1

by MizikanegiP

Project thumbnail
View Project

Three Left (undertale)

by ScratchNoah2012

Project thumbnail
View Project

AY in Firebar Jump! Pink And Sky Blue Edition [The Ultimate Fun Show Party] V5

by russellhtf

Project thumbnail
View Project

Angry Birds Space V2.0

by multiluxion

Project thumbnail
View Project

Incredibox v2 - Little Miss 2012 (Original 2012 Version)

by ac2867

Project thumbnail
View Project

Elevator At The Tom & Ben News World Side Tower Hotel remix-2 remix

by Tuud

Project thumbnail
View Project

satokoro's select 2021.winter

by satokoro

Project thumbnail
View Project

Scratchtale 1.15

by atbbyt

Project thumbnail
View Project

[Sparta Remix] Patrick Sparta custom source Has A Sparta Remix Remade in Scratch remix-4

by mj305mast

Project thumbnail
View Project

SCRATCH CITY ONLINE! V.30

by bigbonesjones

Project thumbnail
View Project

Pac Man 3D (Scratch Edition)

by IncredibleHDGamer

Project thumbnail
View Project

Endless Letter Sounds + Animations (Lowercase) but Russain but black

by uppersin

Project thumbnail
View Project

AMONG US NEW SEVER!

by TranslateToVietnam

Project thumbnail
View Project

Windows 8.1 Demo - Fix

by AlexandruVizitiu