Player co-ords

Started by , Tue 01/07/2003 10:13:17

Previous topic - Next topic

MunkeyBoy

Hullo....

I want something to enter the screen were the player is.  But the player can move!!!!!  How do I record the position???


Help please :-\

Squinky

there are the
character[EGO].x and y references


so, if you want the "somethingto pop up when the char stands on a hotspot or something just put something to make the character or object your using appear at the same spot

character[SOMETHING].x=character[EGO].x;
character[SOMETHING].y=character[EGO].y;

or something like that, don't do it while the something is moving though, if you want to have him appear and move toward the char, then do as above just with a plus or minus to the char xy position, followed by a movecharacter or something...

SMF spam blocked by CleanTalk