Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm making a top down soccer game using physics. When the player kicks the ball, the ball only travels a few pixels. No matter what force/impulse I add, I can't seem to change it.
Any clue where I'm going wrong? Thanks.
kenhes
i take it your ball has a physics behavior? Could you post a capx.
It may be a matter of fiction. Try to reduce it with low number. I am just giving you what I am thinking, I am also new to C2. <img src="smileys/smiley4.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
Yes, the ball has physics and low friction. Here's a capx to play with. Maybe you can find the problem? To move the player, drag the button at the bottom.
Physics Ball
You are applying impulse to the player, not to the ball. Use:
(ball) Apply impulse 500 towards ball.x-100, ball.y
That did it. Thanks 7Soul!