Start moving the ball once it is kicked.

Get help using Construct 2

Post » Fri May 24, 2013 8:46 pm

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.
B
5
Posts: 23
Reputation: 821

Post » Fri May 24, 2013 10:44 pm

You should probably post a capx of what you already have so far, it will make it easier to give you a precise answer.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri May 24, 2013 11:23 pm

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:

https://www.dropbox.com/s/gg8oylxkq8iytue/alternative.capx
B
5
Posts: 23
Reputation: 821


Return to How do I....?

Who is online

Users browsing this forum: MrLOL64 and 21 guests