How do I make big maps for top down open world games?

0 favourites
  • 5 posts
From the Asset Store
Minimap (2 in 1)
$2 USD
80% off
Two types of minimap: "full map" and "player is the center" (square map and radial map)
  • A question that has been asked 100 times before...I know as I have read all the threads asking this question.

    But there doesn't seem to be a consistent answer to this question (more than 1 way to skin a cat I guess)

    So I guess my question is, what is the best way to make a large map (51200,51200)

    Using Tilemap for the roads, paths, grass etc... I'm using 3d object for the buildings, cars are 2d sprites, people will also be 2d sprites

    Should I load it all in chunks, or have 1 big Tilemap and the buildings load in chunks, or just have at it and have everything in 1 big map and hope it works?

    Picture the original GTA as a reference to what I want to build (I'm not making a GTA clone but I want a map that's like it, with cities and out of town areas etc...)

    I've started 1 big map, but in the editor it feels like it starts to lag when I'm editing stuff, so I started to think about chunk loading, but not sure if it will make any difference as then it's just using resources to load/destroy objects.

    Any help would be greatly appreciated.

    Thanks <3

  • We are using chunks in our game.

    Each island is a 150x150 tilemap, the world consists of over 100 of them. Objects are linked to each island and we only load the tilemaps+objects which are near the player.

    In our game most objects are dynamic - players can add/remove/modify them. So we have to store all objects in JSON and re-create them from that JSON.

    If your objects are static and never change you can simply add them into a hierarchy with each tilemap. Give a template name to every chunk and when you create them, all objects on the tilemap will be created automatically.

  • dop2000 thanks for replying mate, I thought this might have been the case.

    I've not used hierarchy's before (not actually noticed it tbh)

    But from a min of playing around this looks promising thanks.

  • dop2000 Ok so hierarchy seem like a perfect fit for what I'm trying to do,

    My one problem is that when i spawn a new chunk in use hierarchy the tilemap and objects are all on the same layer, now i know i could do an event saying on x created move to layer, but just wanted to check that I'm not missing an option somewhere that stores the layer from when i add the object to hierarchy?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • check that I'm not missing an option somewhere that stores the layer from when i add the object to hierarchy?

    I believe there is no such option..

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)