How do I add speed mechanic to my game?

0 favourites
  • 4 posts
From the Asset Store
Add SubRip (SRT) subtitles to your videos in Construct 3
  • This is what i currently have for checking speed but it doesn't work. I go first even though my opponents speed is higher.As you can see it only checks who's speed is higher so there's no way i can go twice or more if my speed is double or more. I am also wondering what equation I should use to decide if i can go twice or more times if its two or more times my opponents speed.

  • This is possibly a picking issue.

    The System "Compare two values" condition does no picking.

    So if you have several instances no specific instance is picked.

    Even less since it is in a function for which all picking is reset anyway.

    So you need to pick your enemy again with "Pick by UID".

    And same if there are more than one "UserSoldier".

    Finally, instead of the Compare two values, use the compare instance variable condition of the Enemy object itself directly.

  • I still go first even though the enemys speed is higher.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have not added picking conditions to your "SpeedCheck" function.

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