Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Physics and sprite rotation

Years of Service
User Offline
Joined: 18th Mar 2015
Posted: 1st Apr 2015 23:09
Hi, I have been trying to make a game like arkanoid. I have a ball that falls down the screen and when it hits my paddle it bounces backup the screen. If it hits objects they get deleted and the score increases - this all works well. However, when the ball hits my paddle it spins around - i want the paddle to stay static rather than spin.
I hope someone can offer advice.

The main physics code i have used are:

Valued Member
Bronze Codemaster
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Apr 2015 12:12
You need to set the paddle up as a kinematic object ie. SetSpritePhysicsOn(spriteID, 3)

Using AppGameKit V2 Tier 1

Login to post a reply

Server time is: 2023-09-30 13:42:11
Your offset time is: 2023-09-30 13:42:11