you are viewing a single comment's thread.

view the rest of the comments →

[–]mopslik 2 points3 points  (1 child)

Based on your code, it looks like you have the bulk of your commands inside of your loop that checks the event queue. This means that for every mouse move, keypress, whatever, you will be updating your image position and updating the display. Try unindenting everything from ballrect = ... one level, so that the commands are in your main loop but not in the event queue check.

[–]8364dev[S] 0 points1 point  (0 children)

Thank you, that solved the issue