frankencost's Forum Posts

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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" />

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