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

Bitmap PVZ Wild Widescreen

by Modern_Bottle

Project thumbnail
View Project

Tom & Ben News Ultra remix-3

by kuponoIs

Project thumbnail
View Project

Android4.2.2 jerrybean ใ‚นใƒžใƒ›

by kjking11

Project thumbnail
View Project

Ultra Numberblocks Night 2020 Plus (Fan Made) (Radicaly Update) remix

by capatidesmond

Project thumbnail
View Project

TOO MANY TVOKIDS NUMBERS remix

by emedua15

Project thumbnail
View Project

Super Mario Bros. Enlightened

by Super_Mario_Fan_46

Project thumbnail
View Project

Pride flags band 2 (real)

by 158283

Project thumbnail
View Project

Klasky Csupo Robot Logo in 4ormulator V3

by Alfredpehmx

Project thumbnail
View Project

DON'T Add a button to Beat Up Bimooo!

by YGL2K14copy2

Project thumbnail
View Project

Five Nights at Freddy's 2 (Remastered)

by IIAquaMarineII

Project thumbnail
View Project

ABC bebele pack

by trizzle314

Project thumbnail
View Project

Super Mario Maker 2 - A Platformer Creator

by BenjaminWins11

Project thumbnail
View Project

~ Appel - A Platformer ~ (MOBILE FRIENDLY)

by Owen7777777

Project thumbnail
View Project

Pixel Robot Fight!!!

by PixelPhoneix

Project thumbnail
View Project

Talking tom and ben news remix

by Bosskilla2009

Project thumbnail
View Project

beat up nibble nom 5

by Isaias1tuiri

Project thumbnail
View Project

Make Your Own IDFB if it was after bfdia 10

by Braceletythesupport

Project thumbnail
View Project

Beat up orange

by AMONG_GAMER_2011

Project thumbnail
View Project

AI powered alarm clock

by indogbin

Project thumbnail
View Project

Uppercase Alphablocks Logo Bloopers Take 9

by Abdullahfriend90

Project thumbnail
View Project

Battle For BFDI/BFB Contestant Generating Game remix

by stevefaCe1234

Project thumbnail
View Project

-<[{(Collabs)}]>- talking tigra and benchik news the joy creation remix

by jayjayy1809

Project thumbnail
View Project

AmongUs v3.1 [REPLICA]

by Whfww762

Project thumbnail
View Project

My Italian Alphabet Lore

by MixelMaster102