coyotecraft
Sponsor
This is just a fun and easy code snippet you should try using in your game.
When Reid touchs his cock (event 1) it changes to a new event page running a parallel process and this script.
It sets the event's coordinates to be the same as the player's but the Y variable is offset to be over head.
This works for picking up pots and barrels too, but since this event uses a character sprite we can also set the event and player directional frames to be the same as well.
What is ._realX and ._realY?
It's a little deceiving. There is also a ._x and ._y property. If you were to change the ._x to match the player's you'd see the event's graphic appear over the player then slide back to the event's real position "._realX"
When Reid touchs his cock (event 1) it changes to a new event page running a parallel process and this script.
It sets the event's coordinates to be the same as the player's but the Y variable is offset to be over head.
This works for picking up pots and barrels too, but since this event uses a character sprite we can also set the event and player directional frames to be the same as well.
What is ._realX and ._realY?
It's a little deceiving. There is also a ._x and ._y property. If you were to change the ._x to match the player's you'd see the event's graphic appear over the player then slide back to the event's real position "._realX"
Last edited: