Jump to content


Photo

How Do I Make An Object Follow The View?


  • Please log in to reply
3 replies to this topic

#1 talkashie

talkashie

    GMC Member

  • New Member
  • 116 posts

Posted 26 May 2010 - 09:52 PM

I am using Game Maker 5 because the others won't work on my computer. I need to know how to make an object follow the view, like HUD. I've done it before on other Game Maker versions, but the script is obviously different on this one.

I need it working by today, I have exams all week, so I won't be on.

Thanks.
  • 0

#2 GloryAndBen

GloryAndBen

    Game Programmer

  • GMC Member
  • 944 posts

Posted 26 May 2010 - 09:53 PM

If Game Maker 8 isn't working, then five pounds says it's because you don't have DirectX installed.
  • 0

#3 talkashie

talkashie

    GMC Member

  • New Member
  • 116 posts

Posted 26 May 2010 - 09:57 PM

If Game Maker 8 isn't working, then five pounds says it's because you don't have DirectX installed.


It wouldn't let me draw sprites or anything.
You know how to do this HUD thing?
  • 0

#4 iamcheeze

iamcheeze

    GMC Member

  • New Member
  • 449 posts

Posted 27 May 2010 - 01:40 AM

Just open the help file, and search for "views".
Find the variables which store the view's position.
x = //whatever variable is for view x
y = //whatever variable is for view y

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users