Rotate

Coding

Swift

Software and tools

XCode

SpriteKit

I made a 2D game prototype for IOS to learn Swift. I used Xcode and SpriteKit to do so.

In the game a ball is bouncing regularly and infinitely on a sphere with spikes. Using its fingers, the player can rotate the sphere and guide the ball to a green place on the sphere. Once the ball is on the green place, a new sphere is generated and the score increases by one point.
If the ball touches a spike, the game is lost and the score is reset.