iOS_ARkit2_Multiusers
iOS_ARkit2_Multiusers copied to clipboard
An example implemented multiplayer experience in ARKit2
iOS ARKit2 Multiplayer Demo
A ARKit2 multiplayer demo created and simplified based on SwifShot Demo
Getting Started
These instructions will get you a copy of the project up and running on your iOS devices for development and testing purposes. See deployment for notes on how to deploy the project.
Prerequisites
Environments and devices you will need
- iOS 12
- Xcode 10
- two or more iOS devices that are capable of AR
Installing dependencies
Clone the project and go to its folder in Terminal
Get CocoaPods
$ sudo gem install cocoapods
Install SnapKit Library for Auto Layout
$ pod install
Running the app
You are going to use two or more devices
Host the game with one device
-
Find and scan the ground plane
-
Wait for the ARKit status label to show "Maped"
DO NOT ADD GAME OBJECT FOR NOW
Join the game
-
Find and scan the same ground plane
-
Wait for the ARKit status label to show "Maped" on the second device
Place the game objects on all devices
Game objects will be placed on the center of the yellow Four Square
Built With
- SnapKit - For Auto Layout
- AR Joystick - AR Joystick
- SwiftShot - Based on it
Authors
- Shawn Ma - portfolio
License
This project is licensed under the MIT License - see the LICENSE.md file for details