PeXi81
Member
Hi!
I'm creating test project where is Player and Enemy. But just thinking what would be best way to hit with fist? It should work like this:
- Press SPACE --> Players hand shows up (and there would be HitBox that "hurts" enemy
- After hitting hand goes back to "Standby state" waiting next Space pressing
And off course enemy should hit also when it comes near player but I'm not that far yet (I only have objPLAYER)
But just asking what would be the best way to code this hitting and then make hand to go It's normal state...?
I'm creating test project where is Player and Enemy. But just thinking what would be best way to hit with fist? It should work like this:
- Press SPACE --> Players hand shows up (and there would be HitBox that "hurts" enemy
- After hitting hand goes back to "Standby state" waiting next Space pressing
And off course enemy should hit also when it comes near player but I'm not that far yet (I only have objPLAYER)
But just asking what would be the best way to code this hitting and then make hand to go It's normal state...?