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

for an upcoming project

by KIRBM0RIBOY1234

Project thumbnail
View Project

[TSDoN-9 | 1009] ⭑★- ȶɦɛ ֆȶʊɖɨօ ɖօօʀֆ օʄ ռʊʍɮɛʀֆ ‣ քǟʀȶ 9 -★⭑

by DatTrumpetGirl

Project thumbnail
View Project

Windows History with Concepts Part 1

by 82hw72vsb

Project thumbnail
View Project

Stereo in the Madness, Pollen Through Your Nose, Nature on the Tree.

by MonicaDeluxe15000

Project thumbnail
View Project

-<[{(Collabs)}]>- talking tom and ben news remix-5 remix

by jace18099

Project thumbnail
View Project

P2SC In G Major 4^4

by veggietalesfan78

Project thumbnail
View Project

Charlie the Steak

by ethaniscool200

Project thumbnail
View Project

Sprinkle Babies remix

by frant1503

Project thumbnail
View Project

Beat Up Trash Can (8/FINALE)

by JPPORTUGAL

Project thumbnail
View Project

Windows Never Released Part 7 (New Bootscreens)

by Mariofans1981

Project thumbnail
View Project

Beat Up Unknown Sprite! 3.5 remix

by siddharth1717

Project thumbnail
View Project

talking tom and ben news DLC: MSM

by ddhcuhbcuhdbu

Project thumbnail
View Project

Otis Gen2 2020

by Alphys232

Project thumbnail
View Project

Triples band 4

by DWRJones

Project thumbnail
View Project

The Grammarly Ad but in Scratch

by Ommud

Project thumbnail
View Project

cool 3d among us

by HHS26

Project thumbnail
View Project

Scratch NFT Generator

by theRealMC_Creeper

Project thumbnail
View Project

FNF vs Bunzo Bunny (Musical Memory)

by YellowReapear

Project thumbnail
View Project

fish simulation (roi)

by guy670

Project thumbnail
View Project

So much from beat up Games stuff (M E O W and Tissues Update)

by GooleSharty122

Project thumbnail
View Project

Beat Up Nothing

by KubaKo_Player

Project thumbnail
View Project

UNIVERSE SIZE COMPARISON PART 2

by kingbooscratch

Project thumbnail
View Project

add a button to beat up granny! remix 2

by GooleSharty122

Project thumbnail
View Project

Preview 2 Scratch Cat G-Major Effects Part 6

by gamerboy1228