Rank: 223780 based on 0 downloads (last 30 days) and 0 file submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Farhan View all
Updated File Comments Rating
20 Apr 2012 getkey Get a (single) keypress (v2.0, june 2012) Author: Jos (10584)

Hey everone!!
Can any one please provide me with a code of keydown function and keypress function.
actually what i want to do is that when a specific key e.g. up arrow key is pressed, the ball starts moving in a circle and keeps on oving uptil the key is pressed.
as soon as that key is unpressed, the ball stops moving in a circle.
thanks in advance :)

20 Apr 2012 getkey Get a (single) keypress (v2.0, june 2012) Author: Jos (10584)

In the above post, by 'stops moving', i intended to mean 'stops moving in a circle', and instead move in the tangential direction to the circular path. Hope it clarifies my problem.

Contact us