How do I create IF map?

Get help using Construct 2

Post » Thu Mar 09, 2017 10:39 am

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
@coyowl

coyowl.com

Game studio with a portfolio of 3 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,412

Post » Sun Mar 12, 2017 6:27 pm

It is not entirely clear what you are trying to do. You just want to have a player sprite move around a graphical map?
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Sun Mar 12, 2017 6:43 pm

Like this?
Image

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...
Image Image Image
B
29
S
11
G
27
Posts: 729
Reputation: 16,995


Return to How do I....?

Who is online

Users browsing this forum: MaujDeveloper, mrkaio, user5487, Zav and 2 guests