List Based Raycaster V1.2.1

List Based Raycaster V1.2.1

by Hacker-Cat2

πŸ‘ 1,229 ❀️ 57 ⭐ 52 πŸ”„ 4
Created: Dec 23, 2021 Last modified: Jan 27, 2022 Shared: Jan 5, 2022

Description

V1.0 - V1.1 edge straightening math from one of @Scratch-mation's now unshared projects. Me for everything else. :) Features: - 100% mobile compatible - FPS based movement so you always move at the same speed (FPS must be greater than 5 to move so you can't teleport through walls though) - You can import and export maps - Full control over viewing settings Update Log: Jan 05, 2022, V1.0: Shared Jan 05, 2022 (later) V1.1: - Made maps more easily editable - Eraser function in map designer Jan 25, 2022 V1.2: Added "edge sliding" so you don't instantly stop when you hit a wall, and instead "slide" against it - Fewer gaps in walls when Resolution variable is not a whole number factor of 480 - Added the Quality variable to allow control for quality and frame rate (0.25 was the previous and still is the default value, but now it can be changed to either increase frame rate or improve quality) - Changed edge straightening method to a version I figured out because it's slightly simpler than the previous one (I'm leaving @Scratch-mation in the credits because I used their code in previous versions, and they're also the one who inspired me to make a raycaster in the first place) Jan 26, 2022 V1.2.1: - Added variable screen sizes (applicable to TurboWarp only) If you have any questions or ideas, ask/suggest them in the comments! :) #raycaster #ray #caster #pen #list #Hacker-Cat2

Instructions

Welcome to my first (shared) raycaster! It is "list based", meaning it uses numbers to store map data instead of sprites. This makes it much more customizable, so you can design your own maps with the built in "map maker"! You can then save your map as a string of numbers and import it again next time you use the project! Controls: - Mobile, arrow keys or WASD to move - Press m or tap the "Map" button to show the map - Click the "Save" button to save your map and "Import" to import a pre-existing map - Click the "Edit" button to edit the current map (use the pencil and eraser buttons in either corner to draw or erase parts of the map) - FOV controls view angle width (Field Of View) - View Distance sets how far you can see - Resolution determines the number of rays sent out (higher = smoother edges, but increases lag) - Quality sets the increment distance of each ray (lower reduces edge "jitter", especially on corners, but can greatly increase lag) - FPS (Frames Per Second) displays the speed at which the game is running (more fps = more better) For best experience, play on TurboWarp: https://turbowarp.org/620889849/fullscreen?fps=250

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

(FIXED) P2SC in G-Major 36 V2

by veggietalesfan78

Project thumbnail
View Project

the OLD happyness scrunkly

by MarcoPlayer1769

Project thumbnail
View Project

HP Slash Halle(カードゲーム) ver5.7 remix

by kiyoune

Project thumbnail
View Project

Days of School Bands: Day 84

by CranberryDigeli

Project thumbnail
View Project

Mario Party Historical Logos reversed

by francescocim

Project thumbnail
View Project

Ring Slide v1.01

by CodesNorth

Project thumbnail
View Project

Why TVOKids Letters?

by Natetheninja160

Project thumbnail
View Project

Hickory Dickory Dock Super Simple Songs

by Apsisajsks

Project thumbnail
View Project

Undertale (in development)

by H0881K

Project thumbnail
View Project

Seadtype V27.4

by Steven_and_friends

Project thumbnail
View Project

i thought this was sonic mania

by SuperSonicSuperFan9

Project thumbnail
View Project

Beat up Spiffy Pictures Re-Remastered Take

by omegaflowey2025

Project thumbnail
View Project

Minecraft Dungeons: Scratch Edition

by SCMC54

Project thumbnail
View Project

p head beat ups you

by mateo2ninja

Project thumbnail
View Project

Scratchers with Most Shared Projects v1.1

by Twin138956Scratch

Project thumbnail
View Project

test

by NotTheChosen_Coder

Project thumbnail
View Project

【2εΉ΄γΆγ‚Šε†ε…±ζœ‰γ€‘γ‚’γƒ³γƒ€γƒΌγƒ†γƒΌγƒ«γ€€γ‚Έγƒ£γƒ γŠγ˜γ•γ‚“ζˆ¦Gγƒ«γƒΌγƒˆ

by banana_sansan

Project thumbnail
View Project

Lost-Water Sound Effect

by SpiderMonkeyW

Project thumbnail
View Project

Paper Minecraft The Wild Update 1.19.2|Minecraft 2D Version

by Kodyazar65

Project thumbnail
View Project

Beat Up Dora (With Cheese Button) fixed remix copy

by hyd3ns33k

Project thumbnail
View Project

Destroy Scratch Cat: Ultimate

by CRAZYLIKEME30

Project thumbnail
View Project

AY: Super Smash Bros 64 Fighter Selection Remade (remix #1)

by Juan_Talker2012

Project thumbnail
View Project

The LMNOP Crew but they are all Equivalents of M.(P)

by ChoPiPiMeow

Project thumbnail
View Project

Get Ungrounded Trivia remix

by BlankPinYin55213