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
@StylianosArts
Game studio with a portfolio of 4 Apple Featured games.
B
31
S
7
G
2
Posts: 111
Reputation: 2,422

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
I don't check the forums much anymore, but I will receive an email for PMs.

"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
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

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
32
S
12
G
27
Posts: 761
Reputation: 17,244


Return to How do I....?

Who is online

Users browsing this forum: AkbarAsgharMG, matriax, vargazso and 22 guests