The RPG Maker Resource Kit

Other Game Creation => Other Game Making Programs => Topic started by: Shibuya on April 26, 2007, 12:52:18 PM

Title: [gm] Please Help!
Post by: Shibuya on April 26, 2007, 12:52:18 PM
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!
Title: Re: Please Help!
Post by: Identity on April 26, 2007, 07:02:32 PM
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.
Title: Re: Please Help!
Post by: Arrow on April 26, 2007, 08:20:39 PM
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.
Title: Re: Please Help!
Post by: Shibuya on April 26, 2007, 11:11:58 PM
Thanx ALL ;D Now I can get started on my two games!
Title: Re: Please Help!
Post by: Arrow on April 27, 2007, 12:24:42 AM
No problem. :D If you need anything else just say so, I'm usually right here.
Title: Re: Please Help!
Post by: Identity on April 27, 2007, 01:57:08 AM
I think my health explaination was wrong. I suggest downloading an example.

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