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

Fidget Spinner

by Chappy619

Project thumbnail
View Project

地震シミュレーション ver3.2 remix

by kawakmi-kami

Project thumbnail
View Project

Talking Pomni

by Dmitrovich

Project thumbnail
View Project

Beat Up Nano 2!

by charliechooch101015

Project thumbnail
View Project

Add A Button To Beat Up Victor! remix

by scratchlover201403

Project thumbnail
View Project

TVOKids Logo Bloopers: DVD Menu

by RealDVDPlayerMovies

Project thumbnail
View Project

Beat up Kick The Buddy 2 | Kick The Buddy Gets Grounded

by juliescott12

Project thumbnail
View Project

Russian Alphabet Lore Tseh (Tsecilia) feet

by MARCELOSAULDANIEL

Project thumbnail
View Project

Unit Fractions Band Season 2

by Matusitinam8

Project thumbnail
View Project

MGM Logo Remake

by lautiii

Project thumbnail
View Project

Walt Disney Television Logo/Toon disney

by ihacksphone

Project thumbnail
View Project

☁ Fall Guys scratch edition: Season 1

by Bonkyti

Project thumbnail
View Project

✦ soutarogon

by -Grebe-

Project thumbnail
View Project

Angry Csupo (KLaSKY CSUPO?????)

by TheKlaskyCsupoFan12

Project thumbnail
View Project

(CHARMS) Cuphead King Dice Full Boss Fight

by SpeckTrially

Project thumbnail
View Project

【人狼】一人で!人狼推理ゲーム Solo Werewolf Reasoning Game

by prigon325

Project thumbnail
View Project

(AY) Destroy the "Project could not save"! (11)

by Lcvi-123

Project thumbnail
View Project

Super Ultra Odyssey!

by BubblesTheArtist

Project thumbnail
View Project

Bren319's Spanish Alphabet Lore but A is a villian

by SillygooseMike

Project thumbnail
View Project

Lord X Test remix

by meek5j

Project thumbnail
View Project

What Do You Think About The Beat Up Edward DLC Downfall?

by Adrianito2011

Project thumbnail
View Project

A Wither Storm Evolution (V. 1.1) (OLD)

by VinonQA12

Project thumbnail
View Project

i lomando äter man lomando

by Franknov27

Project thumbnail
View Project

Nano gets grounded on behavior card day big time again!!!!!!!!!

by Ryan_SuperScratcher