I need help immediately! Street-Fighter Style Game!

0 favourites
  • 6 posts
From the Asset Store
Isometric Stategy Roleplay Game Building and Streets Pack.
  • so... i ran into some problems when one of my combatants couldn't punch or kick when overlapping the enemy combatant. Can someone give me and edited version of my game?

    how can i attach files btw? im not allowed to post links.

    ***.dropbox. ***/s/g0o9sxsd7op13wb/Dead%20or%20Alive.capx?dl=0

    replace the first *** with www and the second one with com

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the one that cant attack when overlapping enemy is the blue one.

    awd for blue guy movement (sub-zero), f=punch g=kick

    arrow keys for yellow(scorpion) <=punch >=kick

  • You need to use collision boxes. Like if scorpion is punching, you'd create a small box where his hand is for the punching frame. You do this by creating an imagepoint in the image editor on the frame where he punches. Then in your events, if frame = THAT FRAME, then create a collision box. Then you'd check that collision box to see if it overlaps.

    There's much more to it than what I've described though. How do you cancel out the opponent's strike if you both hit at the same time? What about frame skipping.. that one frame for the collision box may not be enough, so you'll either need to create it for a few frames, or add a small delay for that frame (in the image editor, you can set delay times for each frame).. and so on..

  • thanks for replying! i'll try fixing dat problem with the solution of urs.

  • i dont get the if frame part. I created an image point on the hand when it punches. im sorry if i'm bothering you... but as my name suggests... I started just using Construct 2 yesterday -_-

    sorry!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)