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

end event (Add Round 1) remix

by LGL524

Project thumbnail
View Project

v1.0 Interminable Rooms Spawner (E-Section in WIP)

by Vitooo080914

Project thumbnail
View Project

AY in Mr. Ball's Passing By! (Remix #18)

by DeeTheScratcher

Project thumbnail
View Project

Olimar eats a lemon and dies (TTS)

by pokemon-fan2021

Project thumbnail
View Project

マイクラMOD 超身体能力+

by superneko2222

Project thumbnail
View Project

Chung Pow Kitties (Yin Yang Yo) Vectors

by htvy2_ca

Project thumbnail
View Project

RBMK

by MSQE21

Project thumbnail
View Project

Omega Flowey Fight remix (Warning bullets are Dangerous)

by ARJANVEER1_the_Coder

Project thumbnail
View Project

鉄道車両キット:Lumi Rail/ルミレール v1.0.0

by sota627

Project thumbnail
View Project

Total drama my way

by harlensasowe

Project thumbnail
View Project

ENDLESS TURMOIL - CHILD MASSACRE (Chapter 1, Song 1) remix

by elprolaso

Project thumbnail
View Project

Beat Up SCRATCH CAT

by Alfie_Ben16

Project thumbnail
View Project

This mailbox is mine remix

by jioreijiciasico13

Project thumbnail
View Project

Microscratch Word v0.1 ALPHA

by TryyalAzureboarder

Project thumbnail
View Project

Plants VS Zombies 植物大战僵尸 2.0

by cyx2015s

Project thumbnail
View Project

The Studio Doors of Numbers - Part 3 (236 Doors)

by KlaskyCsupojr

Project thumbnail
View Project

❶+❷=❸ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ - ᑭᗩᖇT ❺ - 446/500 ᗪOOᖇᔕ | ❹=❺+❻

by KARises

Project thumbnail
View Project

アンダーテール 素材+ undertale bgm! リクエスト募集中!

by soupsuki

Project thumbnail
View Project

二つの冒険8話 「未来」

by seikunn

Project thumbnail
View Project

W A L L N U T

by TurnupList00

Project thumbnail
View Project

HOW TO MAKE YOUR OWN PEN TEXT ENGINE

by ThePenDude

Project thumbnail
View Project

Black hole add round 0

by wlck3d

Project thumbnail
View Project

ragdoll

by jellyfif789

Project thumbnail
View Project

(NEW UPDATE) Bop It XT Carabiner

by VisittoCharlie1