
Raycast Lighting Concept
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

GD Levels 16-21 v3.7
by scratchcoder1345

Car Driving 2 || #Games / #All
by b1m1m1

Russian alphabet lore part 1
by LonghandaStudios

Numberblocks Basics Sprite Pack Update
by CampbellLincoln23

The Nickelodeon Creatures Show!: NYE Celebration 2026 - Netflix Family but accurate
by dkBay

❄️ Ice Cube SMASH ❄️ TimMcCool games
by TimMcCool

C A R
by pooiod7

Popularity tycoon 1.1 #games #all
by Geisterschiss

Desert Bus 3D Widescreen Edition
by KadenVolcanoKid

Harry Potter and the philosopher's stone video game
by 123goss

Ink! Sans Fight. Phase 1-4
by jforthewin12

[Deltarune] - No More Agreements
by LucasBr003

Vyond effects remix remix
by BeiMLGGod

spiffy.exe buttons Noob
by coopstar_white3

✯ Donut 2 || A Platformer ✯
by blackdiamond500

Strongholds!!! - paper minecraft mod
by poliakoff

青の塔15階
by sakaryuu

my beat up template 2
by lukemanolopoulos8

Levi's Quest RPG
by Will_Wam

アイリスアウト素材
by syokakl

Official Colourblocks Band but its EXTREME COLOR BLOCKS BAND remix-2 remix
by kentrell7

Vyond Effects Kit remix
by scratchfan0206

Sonic Engine Test
by The_Updator

ふぇ?令和6年能登半島地震の余震がでかすぎた件。
by cheese-shouyu