Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

game maker ver.8 help


  • Please log in to reply

#1
boogoast1

boogoast1

    New Member

  • Member
  • Pip
  • 1 posts
i use a game making engine called game maker ver.8 i have 1 simple question how do you create a command that tells the game player a variable? EXSAMPLE: one of my variables is money how would i let the player see how much money they have? is there a command, or what do you do? HELP PLEASE!!!
  • 0

Advertisements


#2
Taomech

Taomech

    Member

  • Member
  • PipPip
  • 61 posts
Boogoast1,
Are you using drag and drop or code?

For D&D:
1. Open up the player object.
2. Under the Create event, go to Control and then Set Variable.
3. In the Variable field, type global.money
4. If you want your player to start with a set amount of money, eg, $100. Then type 100 in the value field.
5. Next, create a Draw event.
6. Go back to the Control tab and drag in the Draw Variable option.
7. Set the name as global.money and the x and y coordinates to wherever you want the score to appear.

If you want the code to do it, please ask.

Thanks,
Taomech
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP