Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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.
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" />
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.
Develop games in your browser. Powerful, performant & highly capable.
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!