Changing map and avatar direction
Posted: 31 Mar 2013, 08:23
Hi there,
I'm currently about to finish my game, and i designed and linked every maps of my world. Almost everything work fine and i'll surely have further questions about openspace details, like this one :
When my avatar enter in a new map, the direction he look at is defined by default as facing north west. But i need to send to my avatar a direction dependent to the tile where he is and where he came from (i mean if he appeared on a nothern tile he should look at south, and if he appeared on a southern tile he should look at north).
I thought i had found a thread asking for the same think but i don't find it again... maybe that this is just a parameter to write on the mapExit tile in the map editor, i don't know, but what is the way to send the avatar the good direction to look at ?
I'm currently about to finish my game, and i designed and linked every maps of my world. Almost everything work fine and i'll surely have further questions about openspace details, like this one :
When my avatar enter in a new map, the direction he look at is defined by default as facing north west. But i need to send to my avatar a direction dependent to the tile where he is and where he came from (i mean if he appeared on a nothern tile he should look at south, and if he appeared on a southern tile he should look at north).
I thought i had found a thread asking for the same think but i don't find it again... maybe that this is just a parameter to write on the mapExit tile in the map editor, i don't know, but what is the way to send the avatar the good direction to look at ?