This is an iOS game that creates targets surrounding the player, and it’s their job to find and shoot them as fast as possible. The game will create a new target every two seconds until 20 have been created in total, at which point the game ends as soon as the player finds the final target.
Important Parameters:
- A
remainingLabel
that will show the player how many targets are currently visible. - A
timer
that creates a new target every two seconds. - A
targetsCreated
counter that stores how many targets have been created in total, up to 20. - Finally, a
targetCount
counter that stores how many targets are currently visible. When this changes, we’re going to update the remainingLabel
text so the user always knows their status.
ARKit, SpriteKit, GameplayKit, ARAnchor, Timer
The concept of this app is adapted from iOS Practical 11 book written by Paul Hudson.
Soheil Novinfard - www.novinfard.com
This project is licensed under the MIT License.