How do I put exhaustion/count shot?

0 favourites
  • 5 posts
From the Asset Store
An educational game for counting pictures. An easy to use template for developers to build larger games
  • Hello friends!!

    One question! how do I put exhaustion and shot count in cannon of my game ?

    for example:

    the player has five shots and he can drop these five straight shots when you finish five shots reload the cannon

    Note: to complete the five cannon shots recharges automatically immediately ( the action of the cannon reloading may take 2 seconds ) <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" />

    have to add a shots count. <img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad" />

    each cannon will have five shots. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" />

    He dropped five shots reload the cannon automatically. <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" />

    recharge time : 2 seconds <img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" />

    I want to fix , following image here:

    imgur.com/pqx9OlW

    Please, help-me! how i make it?

    Thank you for your help!!! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

  • Hello friends!!

    One question! how do I put exhaustion and shot count in cannon of my game ?

    for example:

    the player has five shots and he can drop these five straight shots when you finish five shots reload the cannon

    Note: to complete the five cannon shots recharges automatically immediately ( the action of the cannon reloading may take 2 seconds ) <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" />

    have to add a shots count. <img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad" />

    each cannon will have five shots. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" />

    He dropped five shots reload the cannon automatically. <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" />

    recharge time : 2 seconds <img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" />

    I want to fix , following image here:

    http://imgur.com/pqx9OlW

    Please, help-me! how i make it?

    Thank you for your help!!! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

    Any people for help-me?! <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    just make an variable (in the cannon instant) called "shoots" and a booleon called "reload"

    On every shoot check if "shoots is >0.

    Than subtract 1 from shoots.

    If shoots =0 set reload to true.

    if reload is true (and a trigger ones) wait 2 seconds then set "shoots =5" and reload to "false"

    thats ist.

    maybe you should also make a timer for you can only shoot every 1 second or something like that.

  • Hi,

    just make an variable (in the cannon instant) called "shoots" and a booleon called "reload"

    On every shoot check if "shoots is >0.

    Than subtract 1 from shoots.

    If shoots =0 set reload to true.

    if reload is true (and a trigger ones) wait 2 seconds then set "shoots =5" and reload to "false"

    thats ist.

    maybe you should also make a timer for you can only shoot every 1 second or something like that.

    Hi Dear, first thanks for your help. i have one quetion. u can post one image for instructions to me? i dont understand it because i'm begginer in C2.

    create one variable called "shoots" and other called "realod" i know, it i understand, but this

    "On every shoot check if "shoots is >0." how i make it? i dont know. Is one Event, or sub-event? or action? u can post one picture for me understand? thanks!

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