Where to Go From Here?
Here is the finished example project from this GameplayKit tutorial.
At this point, you can repeat the process described here to add more components to your game - for example a component to deal melee damage, a component to fire lasers, a component to display a health bar, etc.
I thought about extending the tutorial to show how to do all this, but this tutorial has gone on long enough. So instead, I created a project for the complete game that you can download and take a look at for reference.
Update: Christian Lysne has
ported this game to tvOS - I thought I'd post it here in case it's useful for anyone. Thanks Christian! :]
I hope you enjoyed this tutorial, and if you have any questions or comments, please join the forum discussion below!