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

Boss Battle Is On AY in Free-For-All Elimination-summer version

by DarioSanzper

Project thumbnail
View Project

Beat Up Spiffy Pictures Super Mega Ulimate Extreme FINAL remix remix remix remix

by bonzi346

Project thumbnail
View Project

2 Oodles I made

by jtlandry2008

Project thumbnail
View Project

Novokrusk Nuclear Control room (RBMK 1u69rod) WIP (1) (1)

by theopatate

Project thumbnail
View Project

Paper Minecraft Mobile: Updated remix

by fanjaygray

Project thumbnail
View Project

Incredibox - Sprunksters (unofficial scratch port) DEMO RELEASE copy-2-2 remix

by yan-357

Project thumbnail
View Project

Nickelodeon Creatures Text Engine 10.7

by siddharth1717

Project thumbnail
View Project

Mac-Pan Re-Mac'd (V2.01)

by ThePac-GhostFan2010

Project thumbnail
View Project

Beat Up Talking Tom Cat 7: Unlock These Buttons (2)

by tiziland009

Project thumbnail
View Project

squid game dalgona

by daxke9999

Project thumbnail
View Project

Egoping makes a disease and gets grounded

by mycutecorechannel

Project thumbnail
View Project

A Birdon Story

by RobertsJ938

Project thumbnail
View Project

雪合戦deバトル 改 V13

by 02515617

Project thumbnail
View Project

Windows XP Simulator

by _A-Guy_

Project thumbnail
View Project

さいたま2000 (太鼓の達人)

by Kuppi-scratch

Project thumbnail
View Project

FNF Tricky Mod [Fire Notes Added]

by kris235

Project thumbnail
View Project

Beat up Numberblock 1

by zoomanimal

Project thumbnail
View Project

Lava Test (v0.1.6)

by GorLig_NotDev

Project thumbnail
View Project

Spanish Alphabet Lore cast vector

by dantethecreator2021

Project thumbnail
View Project

:| mulpan challenge 10

by reoreo333

Project thumbnail
View Project

The Black Hole (Add Round 4) remix

by kaa94

Project thumbnail
View Project

Beat Up F remix

by KubaKoFullMovieHd

Project thumbnail
View Project

Kuba Kołodziejczak Csupo

by kubakolodziejczak007

Project thumbnail
View Project

Interactive Spanish Alphabet Lore

by GOPLAY_F