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
All The Interactive Endless Reader Words!
by alphafan40
Beat Up Klasky Csupo remix remix remix remix remix
by Lestat1025
WaterFall Dust sans Ops
by greendevilv22
Mouseheadz Minigame Mania! (Alpha)
by SuperSargoLogan
PVZW Mod - Custom Plants & Zombies remix-2
by Starwars_fan_25
Online Mii Maker on Scratch remix
by colinmi1234
Portuguese Alphabet Lore Redesign Ú
by AdrianthePVZfan2005
Numberblocks Basics 5 Remastered: Jumpscares
by Jason3424Maker-Newer
Payload 29 for Caltranite
by XxDaniel_PL
Seadtype V26.0
by Steven_and_friends
fornite
by sunkaru1320
FARAL ERROR: 666
by Dravyn_the_fox
Animation vs Scratch
by -MakouAnimates-
What If Talking Tom Band Was Numberblocks Band Styled?
by LeonBluey_Fortnites
Sans vs. Chara 2 player (DUSTALE VERSION)
by Ravenclaw3797
Beat Spiffy Pictures Up
by pinkkyjae
Beat Up Four v3.0 remix remix
by saolqui
Quadomino | Puzzle Game
by Draiveri77-11
Robot Destructor Server For Competition
by THE_MEEP111
UCN remix
by Turibogi
Beat up orange
by AMONG_GAMER_2011
ただのアニメ #11 夜の学校
by mizukusa164
Beat up Myself 2.1
by ptv_23
Beat Up peggraz51 (3)
by newmyles