Clusters of relative objects

0 favourites
  • 3 posts
From the Asset Store
Welcome! I-Spy (Hidden objects) is an educational puzzle that is more than just seek-and-find activities.
  • What's the best approach in doing clusters of objects with relative position and reusing these clusters as prefabs?

    I want to make a auto-generated dungeon but I would like to design each room in the dungeon by hand.

    So I would like to create room-prefabs, that I can create on run-time.

    Any ideas / design approaches?

  • They use this method in Elemental: Fallen Enchantress for map-making, they call these "stamps". You can combine any amount of stamps to create visually stunning maps, such as a building, an impassable terrain feature and so on. These stamps can be created and modified at will.

    In Construct 2, your best bet would be to define those rooms as lists of objects with relative coordinates. These rooms would have absolute dimensions and position as well as any other meta data (passability, environment etc.).

    I would suggest creating some kind of room/stamp editor that can generate the necessary encapsulated data for you, you just need to place objects together.

    And in the game, you could use placeholder sprites with references to those rooms.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was afraid I'd have to do something like that. I guess if you do a generic one, you could potentially re-use the same stamp-editor for other projects.

    Thank you for your input.

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