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

tornado game (WIP)

by bammy_the_cat

Project thumbnail
View Project

Малсил во вселенной Соника!

by MallSillBo2012

Project thumbnail
View Project

地震シミュレーション Ver3.0 remix

by pura314

Project thumbnail
View Project

Paper Minecraft v11.9 (Minecraft 2D) remix

by comotuquieras25

Project thumbnail
View Project

The MouseHeadz but with MORE! remix remix

by pikminsigma12

Project thumbnail
View Project

planes adventures 5 plane turns evil haha

by mandud5454

Project thumbnail
View Project

FIDGET SPINNER SPINNER ( Clicker Game )

by lego_pillow

Project thumbnail
View Project

Clay GunAttack Upgrading 2.0 Fast Version

by hl2tqt

Project thumbnail
View Project

Pripara X Mixels Intro (2025 Revamp)

by VALENTEDAVI

Project thumbnail
View Project

Ultra Planet Clicker

by Ultrapig15

Project thumbnail
View Project

Test thingy

by Sedrik_Void

Project thumbnail
View Project

UncannyBlock Band Noddles Different 48

by Basilioleo1120

Project thumbnail
View Project

Haüy Rhombic Dodecahedral Numbers Band Remastered 1

by -ethangamer-

Project thumbnail
View Project

The One Who's Running The Show AMV

by MasterZenoUltimate

Project thumbnail
View Project

Windows Server 2008 R2 Enterprise

by windows2007

Project thumbnail
View Project

2D Minecraft 1.18 v3.8

by sanggser

Project thumbnail
View Project

e4 early colision test (wallride mechanic devellopement)

by pheedee

Project thumbnail
View Project

Beat up Edward DLC remix

by battlecatgamer-3

Project thumbnail
View Project

Planet clicker 2.0

by liaoep

Project thumbnail
View Project

PvZ 2 Click remix

by LeoMario100

Project thumbnail
View Project

[LOUD?] [FLASHING] Windows Virus remix

by THE_diamond_2021cat

Project thumbnail
View Project

Bop It XT

by mattthew213

Project thumbnail
View Project

Beat up nano but all sounds are reversed except the backdrop's sound

by paata27747438

Project thumbnail
View Project

Beat up e-mail!

by Olek32167xv