How do I create IF map?

0 favourites
  • 3 posts
From the Asset Store
A template which allows you to customise the controls of your game.
  • Hello guys,

    I've been trying to wrap my mind around the concept of a map in an Interactive Fiction game.

    Like in the old days where you would have to type "move north" but without having an actual map, just text.

    But in reality the player would move in a labyrinth-like map with walls and rooms.

    I couldn't find anything in the forums, can anyone help me come up with a solution?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is not entirely clear what you are trying to do. You just want to have a player sprite move around a graphical map?

  • Like this?

    I haven't attempted it myself but I think it's just a matter of assigning different squares to different arrays and saving info into a JSON file.

    Each array element has multiple conditions.

    Maybe:

    [0][0][x] can contain ID of square and actual position of a square in a map

    [0][1][y] can contain info like number of directions possible and id of adjacent squares.

    [0][2][z] can contain info like items and interact-able elements in the map...

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