# Combo system in Platform games

**URL:** <https://forum.kirupa.com/t/combo-system-in-platform-games/278614>\
**Category:** programming\
**Created:** [January 2, 2009, 6:12pm UTC](https://forum.kirupa.com/t/combo-system-in-platform-games/278614 "2009-01-02T18:12:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arundracula](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Post date:** [January 2, 2009, 6:12pm UTC](https://forum.kirupa.com/t/combo-system-in-platform-games/278614/1 "2009-01-02T18:12:10Z")

</div>

I am going to make an action game in flash. Platform game. (The view is like super mario games. I think it is called platform game).

The game is exactly like Prince of Persia. I have an idea about the movements of attack and acrobatics.

OK, now the problem is how to implement the combo system and the enemy AI.

I also have some ideas about the combo system. Its like…

At idle state, when a key pressed goto corresponding animation state, before ending this state, check for another keypress and if yes goto the next continuous move …and so on

Is that the thing I require? Nesting the addEventListener for keypresses?

If you have any idea, can you please share with me?  
Also, the enemy AI idea.
