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

Beat up Edward [More Buttons]

by xanderafa

Project thumbnail
View Project

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

by bonzi346

Project thumbnail
View Project

Mr Talalaa Fight Cloud

by thesecretsussy

Project thumbnail
View Project

The Scratch 3.0 Show: Rain ULTRA RAGE!

by francescocim

Project thumbnail
View Project

Wario Party - Say "A" or "B" remix

by infinateyyy

Project thumbnail
View Project

Orona Elevator ZJ28

by Bombyismycreeper

Project thumbnail
View Project

Abstract Count 20 Interactive ABC’s Book volume 1 Full game Late 2023-2024

by Robofun220507

Project thumbnail
View Project

Dreams || TwoTime Forsaken

by Loafhasvanooshed

Project thumbnail
View Project

AY_ get sucked by the portal 4

by Aleksanderlabubu1

Project thumbnail
View Project

Dusttrust Sans Fight phase2

by Xx_Kimchi_xX

Project thumbnail
View Project

sans

by greatest_plan

Project thumbnail
View Project

Squid Games Tug of War

by NRSUFCMAN9

Project thumbnail
View Project

Drawing Morpher

by Dinosu

Project thumbnail
View Project

Beat Up Paper V1.1

by Rileyroo2011

Project thumbnail
View Project

[β] 2代目!プロセカっぽい音ゲー作ってみた

by spacediver

Project thumbnail
View Project

Beat Up Scratch Cat! (Ultimate Edition) For fun! (1)

by BASE098

Project thumbnail
View Project

Beat Up the Dig-Its! remix

by Shiankamaslanka

Project thumbnail
View Project

Chaos' End sans fight phase1 旧

by OichitoSan

Project thumbnail
View Project

My interactive Spanish Alphabet Lore, But with ANL!

by BackpackAiden

Project thumbnail
View Project

Beat Up Tennis Ball DLC V2 180 Beat Ups

by HomeWithKuya

Project thumbnail
View Project

ただのアニメ #7 意味が分かると多分怖い話

by mizukusa164

Project thumbnail
View Project

Beat up giga

by NicolasRluz

Project thumbnail
View Project

five little pumpkins

by chocabunny

Project thumbnail
View Project

Sonic EXE Remake Tails Stage

by greensonic35