CodeBase - Detecting simple enemy hits
Return to the CodeBase listing
Category: Collision
Version: 1.0
Information
Uploaded: 14th Aug 2004 19:23
Modified: 1st Jan 1970 01:00
Author: Sir Spaghetti Code
Summary
This is the way that I detect the player hitting an enemy and vice versa after APPENDing. For the Newbs!
Full Description
This is the way that I detect the player hitting an enemy and vice versa. This is more handy if you have APPENDed more animation to your objects, therefore, you do not want to register damage when your "Idle" animation touches the enemy. This is a very simple code to make sure the program can determine if the player or enemy is attacking.
Comments
No comments yet.