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
remainingLabelthat will show the player how many targets are currently visible. - A
timerthat creates a new target every two seconds. - A
targetsCreatedcounter that stores how many targets have been created in total, up to 20. - Finally, a
targetCountcounter that stores how many targets are currently visible. When this changes, we’re going to update the remainingLabeltext 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.
