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 Lollipop V

by tnwlss1013

Project thumbnail
View Project

Numbericons 1-5700 remix

by kieffer244

Project thumbnail
View Project

すごいお菓子集め Online

by pafeiwasi

Project thumbnail
View Project

Beat Up Nano 2!

by charliechooch101015

Project thumbnail
View Project

endless numbers wip project.

by Michaeleton2

Project thumbnail
View Project

Numbers Band 81 - THE RETURN remix

by rizqiuwais

Project thumbnail
View Project

Sugary spire exhibition demo P rank animation with music

by DemidProAnimator

Project thumbnail
View Project

Sprunki Deluxe Post Newfound Abundance Update

by Gamingforgood200050

Project thumbnail
View Project

Paper Minecraft Hardcore |v1.21.15|

by GoldenSheep777125

Project thumbnail
View Project

Scratch - The Movie (Trailer)

by Crazy-Coderz

Project thumbnail
View Project

Normal + Try Not To Laugh NBB Jumpscares

by alphabetdude2020

Project thumbnail
View Project

Plants vs Zombies!!! hacked

by enderkid_14

Project thumbnail
View Project

Geometry Dash Wave

by Zouhair-naf

Project thumbnail
View Project

Project RiiVolution - Revisit

by Pepsicola7_

Project thumbnail
View Project

Beat up Spiffy Pictures Re-Remastered Take 26

by Jmason2023

Project thumbnail
View Project

Numberblocks Generator: Up to 1 quadrillion

by oranjewolk60

Project thumbnail
View Project

The Ninja 5 insanely Hacked!

by thesecond29gg

Project thumbnail
View Project

Scratch: Story Mode - Season 2 | Episode 4

by -Cinematic-

Project thumbnail
View Project

Angry Birds Level Editor remix-2

by jt15677

Project thumbnail
View Project

The Studio Door of Numbers X [ 96 Doors ] remix remix

by Rhythmheaven10

Project thumbnail
View Project

LM 25 Players Minigame

by lamic1234

Project thumbnail
View Project

best up sonic exe 6.3 remix

by vicopoa2015

Project thumbnail
View Project

SERVER 2 - Jester Mod ☁️ Among Us Scratch v0.27 (online)

by TimMcCool

Project thumbnail
View Project

SAMSUNG SGH Z140 startup and shutdown

by romanrai2013