tiagosr1's Forum Posts

  • Create a variable (lets called it "ammo") and set it to 5

    I guess you already have an event for shooting, go there and add the effect "substract from variable".

    Basicaly what you want is to substract 1 from the variable "ammo" every time you shoot.

    Then you should have another event so when "ammo" gets to 0 the reload happens.

    Im not sure if thats what you are looking for.

    I already have this system, so i need add the hud beneath the tank to show how many shots are left. I create a sprite of bullet and the empty capsule. how i make it?

    to show how many shots are left to players?

  • Heeeello people! good night.

    I have one question. u can help-me?

    my project game is one war of cannons multiplayer 2D and I have some doubts.

    How i create it:

    each cannon has 5 shots and each time the player shoots he misses a shot when he shoot 5 times will reload the cannon. how do I represent it in the game? to let him know how many shots still have?

    for example:

    I want to make the player know that he's still got three shots left to reload the gun . I created the sprite and will represent it with 5 small ammunition upon cannon, each time the player will shoot dec 1 sprite(ammunition) . How do I create a script to place it on c2 ? can someone explain me with picture if possible ?

    here one example with image:

    imgur.com/xUKq4WT

    imgur.com/xUKq4WT

  • 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!

  • 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" />

  • With all the posts you've been making I feel like you really should read some tutorials and try out some basic concepts before making whatever it is you're planning. It's almost as if you're asking everyone to make the game for you so you can pull the assets together and call it done.

    But I digress, a login screen would be as simple as two textboxes, a button and a connection to a database/server that handles authentication. Could probably use the websockets for that.

    thank you for the constructive criticism. I have difficulty in English, I'm not fluent. This hinders my understanding of the forum content. do you have a link to pass me?

  • >

    > u can help-me to create one login screen for the players of my game? i dont know create it

    >

    again, you are not giving much information.

    first layout or select default layout

    on event go to level/game

    on event toggle sound

    on event choose character

    on event do something

    Carbincopy I need a login screen that the player put his name and enter the game. u understand it?

  • Hello Dear!!

    Friends! i need help!

    necessary to ensure that every time the character dies he receive the message that died on the screen and wait for 5 seconds to revive the base.

    My Game is an online multiplayer where players face off with war cannons in 2D.

    It is based on two team. Team one and Team two (red and green Time).

    I need the Player one reborn in a base one and Player two reborn in another base.

    note: do not set the coordinates for the base yet. just need the function working to test

    Can help-me? How i make it? very thanks!!

  • 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" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for your help friend!!!!!! it solved my problem!!! thanks!!!

    I'm happy!

    u can help-me to create one login screen for the players of my game? i dont know create it

  • Sorry you need to be more precise as to what you are trying to do.

    maybe these could give you ideas.

    loop animation.

    loop multi animations.

    i need one loop animation. I have two image .png in pixels 32x32 and i load it in C2 but the water change the frame but then stoped.

    look the image:

    imgur.com/R2a2YvU

    I need loop here, in this frames(water)

    imgur.com/WaQ7y5b

    to give the impression that the water moves in the same place.

    Sorry my English and thanks for help!

  • how i create one hud for my game? and i need create one login area for players, how i create it?

  • any people for help? plaese

  • Hello,

    How i make one loop in one sprite? i need make it for move water in my game. i have 6 animation frames 64x64.

    i load this frames in edit image so my water dont reload loop. can help me?

    thansk

  • Use google translator, place your email, for i can contact you

    email: tiagosr1@ outlook.com.br

    skype: tiago.sr1

  • I maked 10 tiled in 70,70 pixel on photoshop of one stone breaking. how do I mount all images in one frames for give animation in this stone on Construct 2? I need to make the player hit with a pick this stone and show the animation of it breaking. how i do it? please help-me this printing screenshot to example?

    eu fiz 10 concepts de 70x70 pixel pelo photoshop de uma pedra quebrando. Como eu faço para representar elas no Construct 2 com animação? preciso fazer com que o jogador bata com uma picareta nessa pedra e mostre a animação dela quebrando. alguem pode me ajudar?