maxpower

Weblog aboth GameMaker challenges.

Challenge 8

Problem:

You have to hit a character 3 times with a bullet before it dies.

For this one I started with challenge 4, then changed a few things.

The first thing I changed was the enemy object
In the create event for this I set the number of lives to 3.
Then in the Step event I made it that when there are no more lives it destroys the instances.
I also made it that when the bullet hits the enemy is destroys one life by setting the number of lives to -1 relative.

Help: I didnt need any help for this one.

BULLET

February 27, 2006 - Posted by | Challenges

1 Comment »

  1. Events tab?, I think you mean Step Event for checking when all the lives are gone?

    Comment by Bill Kerr | March 4, 2006


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.