It's a basic implementation of radial gravity. Check the distance between an item and the center of the screen (in this case), and give the item velocity accordingly.
The game is interrupting from time to time and I get a black screen, even after refreshing the window. No message like "Maintenance" is displayed. Game is calm and nice anyway but this small bugs are annoying.
It's a basic implementation of radial gravity. Check the distance between an item and the center of the screen (in this case), and give the item velocity accordingly.