jacobsieradzki
jacobsieradzki

Reputation: 1108

How to create game map for iOS?

I would like to create a game map for stages and levels within a game similar to the way the game Candy Crush or Two Dots have done for iOS devices. However, I want to ask the best and easiest way to achieve something like this in Swift...

Candy Crush Two Dots

Thanks

Upvotes: 4

Views: 2269

Answers (1)

Lope
Lope

Reputation: 5397

Easiest way, just draw the image with path and background, mark the positions of levels and then place level icon on each position. If you don't need to move the player's avatar along the line, this will do.

However, if you want to show player's avatar moving from one level to another along the path, you will need to define those path using curves (bezier, cubic) and then calculate position of the player based on curve's formula and his progress between two levels

Upvotes: 2

Related Questions