cristixxx's Forum Posts

  • it's ok, thank you.

  • Hello, i would like to make fighting game and i would need some help on making the jump: character cannot be controlled in air, if on ground and pressed up and forward - it jumps forward, if only pressed up - it jumps up.

  • OK,thanks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hy, everyone, how do I upload a CAPX for some help?

  • Again..I don't know how to upload the capx file here for help...

  • How can i share the capx here?

  • Well, i made some collision events when the player is on collission with enemy and player is attacking, the enemy should change into hurt animation, substract certain amount of hp and the hp bar change width according to enemy.hp..i made these events before i aded AI to enemy and it worked, after that, when i made some kind of finite states ( state 1 - walk right, state 2 - walk left, 3 - attack, 4 - hurt ), each state triggered on certain conditions ( dist. to player and so on..) it didn't work anymore..

  • It's good so far, the only thing that doesn't work is the enemy's hp. When i hit the enemy a hp bar shows up and reduces in width but when hp<=0 the bar starts to fill up ( reverts it's width ) and the enemy doesn't get destroyed. If i don't give any AI to enemy this thing with hp works perfectly..i can't figure out what have i made wrong.. Thanks again.

  • well something like in old school beat em ups..follow the player ( but not constantly ), when close - attack ( but not constantly )..when hurt - flee..something like this. Thank you.

    PS: I use the platform behaviour

  • Hy everyone, i need some help on creating a simple platform beat em up enemy ai...some simple codes or ideas..thank you.

  • There are a lot of tutorials. Search for platform AI. Also search the store, there are a lot platform AI's and I saw one recently specifically for fighting. If want to PM me I will send you a sample project of one that I created with lots of useful stuff.

    Thank you very much for help!

  • Can you tell me which part of code do you want to be improved?

    Well, the part with the enemy Ai.

  • I can't pm you, i don' t have 500 rep but it could use me some help. Thank you.

  • Yes. i made something but it doesn't work properly...

  • It doesn't work. It's not a platformer, it's a beat em up and it's working strange..