Game Development Reference
In-Depth Information
Want to do a Super Mario-style bouncing on the head?
Place an actor at your player's feet, and one on the enemy's
head to detect a true collision. When a collision has occurred,
kill the enemy and have a Timer on your player that will
accelerate him upward for a short amount of time.
There are a lot of cool things you can do with enemies. In fact, if you were creating
a shooting game, you could even have the enemies have a certain amount of ammo,
and when they run out, they could either look for more or beat you with their guns;
all this, just with a few little behaviors.
Summary
Our game is getting more and more functional as we go on. Wow! We created some
great enemies for our game. We even programmed a simple Artificial Intelligence
system that helps them move around without pre-defining paths for them. Then we
gave them health so that they can get hurt too! Let's be honest, Kevin is the one that
is suppose to do the hurting, not just the enemies! Kevin has such a hard life.
We are almost done with the major mechanics of the game. In the next chapter, we are
going to finish it up. We are going to look at doing some objectives, and then we will
talk about what you can do with your game when you've inished reading this topic.
On to the next chapter!
 
Search WWH ::




Custom Search