Main Menu
  • Welcome to The RPG Maker Resource Kit.

[gm] Please Help!

Started by Shibuya, April 26, 2007, 12:52:18 PM

0 Members and 2 Guests are viewing this topic.

Shibuya

Hi all GameMaker users.....I have recently got GameMaker and in one day...I could make a Kingdom Hearts BS....But 2 problems.
1.I donno how to set up HP and SP and Drive bars.
2.Donno how to make AI.

Thanx ALL!
Dude do you break dance?

Identity

#1
I will try to explain how to do health bars. But I haven't used GM in years so bare with me. Plus I suck at explaining things.

Also, This is only if you're not using views.

First off, make a new object and name it something like "health control". Next add a draw event to the object. Inside the draw event place the action "Draw health bar" (It's in the "score" section.)

This is the part I don't remember (so I may be wrong), you got to set the Xs and Ys. IIRC These are the coordinates of corners of the square that will be the bar. It tells where the bar will be drawn. To get the coordinates go to the room and use the grid to pick where you want corner 1,2,3, and 4. 

I would help with the rest but I don't really remember much about GM.

Edit: Also if you wish to make a event that would cause the health bar to go down use the "set health" action and make sure to set it as relitive.

Arrow

AI is simpler than you think. Just make a chain of events started by an if statement. For instance:

If player.y = self.y

Open

If player.x < self.x

Open

*actions*

Close

Close

And etc.

Shibuya

Thanx ALL ;D Now I can get started on my two games!
Dude do you break dance?

Arrow

No problem. :D If you need anything else just say so, I'm usually right here.

Identity

I think my health explaination was wrong. I suggest downloading an example.

This site should have one: http://birchdale.net/gm/