You can probably imagine the amount code work needed to add complicated sprites that interact with each other and with the game world you create. In this game, you’ll want basic physics principles like gravity to affect every character that you add to the game. You’ll also want your sprites to have some walls or ledges to run along. However, all of the coding required to handle all of these physics-based interactions is daunting. Luckily, Sprite Kit comes with a built-in physics world. Let’s start exploring this option with your sprite and its world.
Bitte loggen Sie sich ein, um Zugang zu diesem Inhalt zu erhalten