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

Super Mario Bros 3 NES Luigi & Mario sprites

by jibron121

Project thumbnail
View Project

Klasky Csupo Has A Sparta remix

by t2-_

Project thumbnail
View Project

Endless alphabet OC PICING

by splashyideas

Project thumbnail
View Project

Deltarune Images Ch. 3-5 (in Deltarune/Undertale Newsletters and/or Trailers))

by TheInsectKidCodes

Project thumbnail
View Project

3D snake #3d #satisfying #easy #scratch

by erex0203

Project thumbnail
View Project

Beat Up Template

by elevatorkoneecodise

Project thumbnail
View Project

My talking sky

by sprunkieinma

Project thumbnail
View Project

Beat up Sonic DX remix remix

by azoriad

Project thumbnail
View Project

Windows 10 S VM

by MeL_TheBunny2014

Project thumbnail
View Project

ZIGGY EATS remix

by GamoraQuinn

Project thumbnail
View Project

Ammayum Muyalum

by randerman

Project thumbnail
View Project

Jerry and Tuffy All-stars (Adventure) REMASTERED!

by Jerry2909

Project thumbnail
View Project

'물'리엔진

by sunyugwn

Project thumbnail
View Project

[WIP] Deeeep.io - Orca

by thepiguywholovespi

Project thumbnail
View Project

Virtual Fidget Spinner (mobile friendly)

by JeremyVS

Project thumbnail
View Project

Every Spiffy Pictures EXE Buttons Ever (Four.exe Buttons)

by pikansanok

Project thumbnail
View Project

Sonic Engine (on Scratch!)

by Enigmatic21

Project thumbnail
View Project

Name

by 992018

Project thumbnail
View Project

Talking tom and ben news 2

by gerofernandez666

Project thumbnail
View Project

talking tom and ben news: edición pingu extendía

by Andreus_

Project thumbnail
View Project

PR!ink!sans fight phase1~3 [undertale fun game]

by I---program-studio

Project thumbnail
View Project

ROLR Part 18: Rainbow Video Disc 1980s

by TheSixNetworkGuy

Project thumbnail
View Project

[DISCONTINUED] The Ultimate Object Show Intro Music

by Ach090535

Project thumbnail
View Project

How to animate in PvZ WILD (Including All-Star)

by EmeraldmanJoe3