1 decade ago by Gamma
Hello everyone,
How do you implement a punching / kicking / physical combat moves?
My initial idea, since I am used to projectiles and shooting for games, was to make a transparent image that would be projected from the player when a certain button is clicked and since no one can see the projectile, but the animation, the user assumes that the player had just punched the enemy when in fact it was an "invisible bullet" so to speak. I find this idea not quite efficient.
Is there another way to create physical combat without the use of invisible projectiles?
Pseudo code, actual code, or ideas would be much appreciated. Thank you all in advance. Have a good Friday.
Regards,
Gamma
How do you implement a punching / kicking / physical combat moves?
My initial idea, since I am used to projectiles and shooting for games, was to make a transparent image that would be projected from the player when a certain button is clicked and since no one can see the projectile, but the animation, the user assumes that the player had just punched the enemy when in fact it was an "invisible bullet" so to speak. I find this idea not quite efficient.
Is there another way to create physical combat without the use of invisible projectiles?
Pseudo code, actual code, or ideas would be much appreciated. Thank you all in advance. Have a good Friday.
Regards,
Gamma