ScratchData LogoScratchData
Back to Locomule's profile

randomized open world tiled engine demo

LOLocomule•Created December 13, 2020
randomized open world tiled engine demo
13
13
106 views
View on Scratch

Instructions

ENGINE DEMO clicking the green flag or pressing R resets the map all you can do is walk around (arrows) you can't walk through the big blue water tile

Description

I've been working on a tiled game engine tutorial which lead to watching a video on designing your own tiled board game. https://www.youtube.com/watch?v=qIiViwg_tTg In the tutorial a game is described where the player basically constructs the game world as they explore it. This project starts by quickly writing a huge, empty map into list data then places the player in the middle of it. Then it creates some random land around the player. After that it follows a few simple rules.. -always show the terrain surrounding the player but not what is on that terrain unless the player has explored it -when the player walks onto an unexplored tile write a random tile into the map data list then stamp it beneath the player The effect of these 2 rules is that the more the player explores the more the map grows. The randomization of new tiles is weighted to add space in the world between the most unique tiles. The next step would be to add an event system based on the players current tile, player stats so events have consequences, and an inventory system to add collectibles to the game. Once again the beauty of a tiled game system is that once the engine is working you are free to add tons of things to your game without worrying whether the graphic system will continue working. I could easily add day/night cycles, quests, cities, npcs, achievements, etc.

Project Details

Project ID463313574
CreatedDecember 13, 2020
Last ModifiedJune 12, 2021
SharedDecember 13, 2020
Visibilityvisible
CommentsAllowed