<> Project Description <> This is a Tile Terrain Generator, a project that creates a randomly generated world made up of 16x16 squares, also called tiles! For now, there is no game, but there might be one in the future... <> Controls <> - [W] [A] [S] [D] to move - [Move Mouse] to hover over a tile <> Information <> For anyone who wants to test the limits of this project, inside there is a sprite called "Experimental". This sprite contains some features, like toggling a Frames-per-second tracker, inside. These features are defined by a comment near them. <> Updates <> April 20: Shared! (Features Trees, Lakes, Flowers, Grass, Ores, and Player Ghost Movement) April 21: Started to add cave generation. The caves are the boxes that look like darker stone underground. (Unfinished) <> My Future Plans for this Project <> This project is meant to be a test to see how scratch can run scrolling tile stamped projects. I tried optimizing the render as much as possible, but there is some choppiness as you increase the board size. This project could be used as a template for future scrolling tile projects. If you want me to add a feature, comment your request, and I will see what I can do! <> How it Works <> For anyone wondering how I accomplished this rendering of the tile list that can have 100,000 entries sometimes, this section is for you. Basically, when the screen is drawn for the player, I use the built-in Scratch function to get an item at an index of a list. The index that I input is the bottom left of the player's screen. The draw function then loops through the tiles only on the player's screen, allowing for a set loop of around 900 tiles every tick, instead of the whole list's 100,000 tiles. Each section generates a part of the world. If you want to look into the project, I have comments describing the uses of each function. <> Credits <> Code 100% by me! Player art from the internet, all tile art by me. Inspiration taken from Terraria and Griffpatch's tile scrolling games and tutorial. <> Other <> If you want to suggest something for me to add to this, just put it in the comments! I also appreciate any feedback and compliments you want to give me :). I am fine with you using this in your project, but just be sure to give me credit. <> Tags <> #all