The Daily Click ::. Forums ::. Klik Coding Help ::. Beat-em-up Engine?...
 

Post Reply  Post Oekaki 
 

Posted By Message

Arekus



Registered
  07/04/2008
Points
  21
11th April, 2008 at 20:38:13 -

Alright... I know I can make a basic beat-em-up style movement system with detectors for movement stop, etc.... My major problem is...

If I give my enemy a health meter.... say a counter with an initial/max value of 5....

and I set a key for an attack... It changes animation and all successfully, and it subtracts 1 from the counter... the only problem is it subtracts the entire counter in the short duration it takes to hit the enemy one time... I realize I should make a detector that follows a fixed point on player's weapon during the animation, but what would be the best way to do this?

Also... I'm thinking of adding a weapon-change system... like the old first person shooter games.... run into one weapon, change flag X of player on.... Make a weapon object that always follows the player at (x,y) visible... add ammo and whatnot as necessary... Make an active object with the text "You Got <Item> appear for 2 seconds and disappear... think that would be the best approach?

 
n/a

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
11th April, 2008 at 23:34:08 -

Well the counter thing is simple. just insert: Only one action when event loops.

Yes the weapons are good with the position it as a whole differnet object. Thats what i do.

 
All your base are in another castle, take this.
   

Post Reply



 



Advertisement

Worth A Click