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

spongebob credits

by Bomberman2024

Project thumbnail
View Project

PNAF1 v1.2

by VicentitoGames

Project thumbnail
View Project

Super Mario Z 5 Redemption

by triangle5820

Project thumbnail
View Project

pride flags

by MrBob_Dave

Project thumbnail
View Project

Beat up Edward (MORE BUTTONS!)

by AJthescratchmaker

Project thumbnail
View Project

Lost Project: Beat Up Evil Scratch Cat More Buttons remix

by Lestat1025

Project thumbnail
View Project

Angry birds Scratch Edition is cool

by carlosangrybirdsfan

Project thumbnail
View Project

ITT Countdown 1996/97-1997-98 Short remix

by Sahapap2015

Project thumbnail
View Project

γƒœγ€€γ‘γ€€γ¦

by Tsurutti

Project thumbnail
View Project

dusttrust phase2 \\animation//

by wdijam

Project thumbnail
View Project

Alphabet Lore but it's the Xramwolese Conlang

by The_Meme_King_44

Project thumbnail
View Project

☁️ Among Us online 2k13

by MapTime123

Project thumbnail
View Project

Inside Peach's Castle noteblock - Super Mario 64 remix

by marigoomba

Project thumbnail
View Project

3D raycasting maze

by PianoApprentice

Project thumbnail
View Project

Evil Scratch Cat gets sent to the Underworld (4) remix

by ChristopherM1592

Project thumbnail
View Project

angry birds (beta) 3.0 v aguila poderosa

by realbird2012

Project thumbnail
View Project

Mermaid Catch

by ziggyxcheerr

Project thumbnail
View Project

棒人間をスレチック

by linlinlingo

Project thumbnail
View Project

Bling-Bang-Bang-Born

by abcde-roi

Project thumbnail
View Project

Beat up goomba XTRA!

by sanshas7souls

Project thumbnail
View Project

Take Care Of Your Dried Ghast!

by SoloRegent31110

Project thumbnail
View Project

gmandunn sparta remix thing

by gwall89

Project thumbnail
View Project

Beat Up Vivi! (Version 2.1 / 49 Buttons / 2 Moment Buttons)

by Jmason2023

Project thumbnail
View Project

This Is Living For Beat Up Dora! Project 1A! (PlayStation3)

by LiamPenPal026