Login | Register

How to Make an Object Stay on Another Object

January 28, 2009, 08:09 by Nano
[loading]
-->



All you need to do is insert
x=object name.x
y=object name.y

in to the step event of the attaching object and the sprite origin of the "attached" sprite will match the [sprite]origin of he object it is attached to.

Comments

Loading comments... [loading]
.
Users logged in:

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games