ScratchData LogoScratchData
Back to Xpt4pw's profile

Using Makeshift 2D Arrays to Make Level Gen!

XPXpt4pw•Created June 11, 2021
Using Makeshift 2D Arrays to Make Level Gen!
1
1
5 views
View on Scratch

Instructions

I've made and used this system for world gen for ages when I coded in JavaScript. (Specifically Processing.JS) However, that makes the way the axis works a bit different from here, so I ended up spending a decent amount of time translating it. I found a way to make makeshift 2D arrays in the Scratch Wiki, and so I tried it out here. It works great! I am planning a game with procedural terrain generation, so I will be using this to save all the terrain. Change the generation script to easily make tile-based levels!

Description

Everything here, including the texture, is by me. Do not use this code or art without credit to me. Refusal to do so will see your project reported. Thank you. Press the flag and go in fullscreen.

Project Details

Project ID543444775
CreatedJune 11, 2021
Last ModifiedJune 23, 2021
SharedJune 11, 2021
Visibilityvisible
CommentsAllowed