frankencost's Recent Forum Activity

  • Hi guys,

    Hope you are doing great.

    Could you please check my penalty game capx, I managed with the help of LittleStain to increase the ?score? variable by 1 every time the ball hits the net (malla) object but have a big problem to increase the ?misses? variable, it seems to be working but it is not increasing by one as I need, it increases several times. What I need is to increase the misses variable by one each time to kicker fails the shoot. What I?m doing currently is activating and deactivating the Missed group after any goalkeeper animation is finished, but I?m getting crazy now since every different option I?m trying is not working.

    I will really appreciate your advise pals. Here is my

    capx

  • Hi again LittleStain, sorry for bothering again... one last question, if you check everytime the ball collides with the object net (malla)the scores increases by 1, what about if they do not collide? well... I need to increase the variable misses by 1. I tried all ways posible to set an else statement but without success, could you please explain me a little bit how to do that? I tried to cr�ate further variables as if kicked=1 and collided=0 increase the misses value +1 but it starts growing right after the layout starts, could you please help me using the same capx we shared before. Once again thanks for your patience man.

  • Hey LittleStain, thank you very much!!! of course it works you are great!!! and now I have a second starting point cause now I know how to do things in the future. I really really appreciate it my friend! <img src="smileys/smiley31.gif" border="0" align="middle" />

  • Hi guys ,

    Hope you are doing great, with a lot of work and help I have managed to advance my penalty shootout game but now I�m really stuck, I will really appreciate if you guys enlighten me a little bit with the following missing stuff:

    1-     I need the ball to get smaller as it gets closer to the goal area (really don�t know how to do that)

    2-     I need to change dynamically my mouse events to touch events in case somebody wants to play from a mobile device, I tried duplicating the events (mouse and touch) but I removed that since the events were doing everything twice

    3-     The physics stuff sometimes act weird, probably I should add something to the physics behavior.

    4-     If you check there is an object call malla (it means net), I need the score to increase by one when the ball collides with it, tried but without success.

    5-     

    Here is my capxs and I�ll really appreciate your help, I�m still a newbie so I will be more than grateful if you give me some directions

    capx

  • Thanks a lot Jayjay, it's great to know there's more than one way to do things, I'll try your option as well because I really want to learn and for that I will need a lot of practice. Have a great day! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Go it guys, thanks to Weishaupt and this wonderful tutorial: scirra.com/tutorials/252/random-animation

    Thanks a lot!!! Problem successfully solved!

  • Hi guys,

    Could you please help me to construct an array of the following animations : leftup, rightup,leftdown,rightdown, center,centerup.

    I tried several tutorials but without success (I'm just a newbie), the thing is that I need to play a random animation when the mouse left button is clicked, in my basic knowledge of arrays (other languajes) i could think about something like this Sprite.Set animation to array(random[leftup, rightup,leftdown,rightdown, center,centerup]) but obviously this won't work.

    I'll really appreciate your help pals.

  • Thanks a lot for your reply Kyatric, as you will see I'm just starting the project and theres a lot of things that I would need to figure out, for the momento I just want to kick the ball directly to the aim, please also note that I also need help on how to make the aim automaticaly all around the goal area, like a random target, and then throw the ball there (I'll figure out how to play a random animation of the keeper. Thanks again and here is the file:

    dropbox.com/s/gg8oylxkq8iytue/alternative.capx

  • Hi guys, I'm still a newbie with C2 and probably this is going to be a basic question, I'll really appreciate your help.

    I have taken back my penalty shotout game and I'm kind of stuck with it, I need to make the player kick the ball and I have set a click event for this, so after the mouse is clicked the shooter animation begins and when the animation reaches the frame number 5 I need to start moving the ball towards the goalie. Actually there will be an object moving around the goalie and the ball must follow the object (its an aim), I know i will need to add some physics as well to simulate a real kick.

    My question is, how may I move the ball towards this object, I have tried several ways but I just make the ball disappear when it exists the stage.

    Once again guys thanks a lot for your help.

  • Thanks a lot Sully, will try and will let you know. Have a great day! I really appreciate your help <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Try Construct 3

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

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

    Just got my lincense after a couple of days playing around with the C2 tools, I simply love it! Quick question, is it posible to play an animation in Random Frames, I mean if an animation has 6 frames then go and play the frames randomly? I have a goalkeeper in 6 diferent positions so i was trying to avoid making 6 diff animations with a single frame each.

    I?ll really appreciate your response pals!

    <img src="smileys/smiley1.gif" border="0" align="middle" />

frankencost's avatar

frankencost

Member since 20 Aug, 2012

None one is following frankencost yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies