Log in
Search
GameML File Sharing
USERNAME: gamemladmin@gmail.com PASSWORD: gamemlsite Upload Here: https://gameml.forumotion.com/GameML-File-Sharing-h3.htmPlease add only games.Moving with a character.*SOLVED, wow why didn't I think of the solution?*
3 posters
:: Game Making :: Game Maker Help :: Game Dev. Q&A :: 2d game Help
Page 1 of 1
Moving with a character.*SOLVED, wow why didn't I think of the solution?*
Lets say I want a box to stay over a character in a 2d platform game. It would have to stay over the person in the same relative position even when the character was moving. How do you do it?
Last edited by -js1210- on Sat Aug 22, 2009 7:03 pm; edited 2 times in total
Re: Moving with a character.*SOLVED, wow why didn't I think of the solution?*
to ways to do it. i know one works the first, dont know if second does.
1)jump to position player.x, player.y, then adjust the origin of the box sprite to way below the box sprite.
2) do this for the box sprite under step- jump to position player.x, player.y+-6
1)jump to position player.x, player.y, then adjust the origin of the box sprite to way below the box sprite.
2) do this for the box sprite under step- jump to position player.x, player.y+-6
Similar topics
» Facing Toward Character? Please Help!
» HTML-The length of a topic title has to be at least 10 character so I am including this overly long extra section to make it fit that criteria
» HTML-The length of a topic title has to be at least 10 character so I am including this overly long extra section to make it fit that criteria
:: Game Making :: Game Maker Help :: Game Dev. Q&A :: 2d game Help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum