Skip to content
forked from farice/ARShooter

A demo Augmented Reality shooter made with ARKit in Swift (iOS 11)

License

Notifications You must be signed in to change notification settings

aliirz/ARShooter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARShooter

License

ARShooter is an open source Augmented Reality shooter made with ARKit and written in Swift. Hence, it is only useable with the iOS 11 beta.

For more details on how to get started with ARKit and make your own AR Shooter, take a look at the complementary (and complimentary) tutorial.

status

Requirements

  • Xcode 9 Beta 2
  • iOS 11 Beta 2
  • A9 or better chip for ARWorldTrackingSessionConfiguration

Note: The app automatically detects if your device supports the ARWorldTrackingSessionConfiguration. If not, it will use the less immersive ARSessionConfiguration, which is to be supported by all devices. However, at the current time (Beta 2), ARSessionConfiguration is also only supported by devices with an A9 or better chip. See the release notes for details. This means you need an iPhone 6S or better to use ARKit at the current time.

Communication

  • If you found a bug, open an issue after checking the FAQ.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Download

Simply navigate to your directory of interest, then clone.

$ git clone https://github.com/farice/ARShooter.git

If you'd like bullets to disappear rather than collect in the space around you, then switch to the bullets-disappear branch

 $ git checkout bullets-disappear

Finally, open the *.xcodeproj file and build to your supported device

FAQ

I am getting the SCNMatrix error:

Cannot invoke initializer for type 'SCNMatrix4' with an argument list of type '(matrix_float4x4)'

Please update to the latest Xcode beta (this error is a result of a syntactical change made in Beta 2). If you insist on using Xcode Beta 1, then simply replace SCNMatrix4 with SCNMatrix4FromMat4.


Thanks

ARShooter has been featured by

License

ARShooter is released under the Apache license. See LICENSE for details.

About

A demo Augmented Reality shooter made with ARKit in Swift (iOS 11)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%