GithubHelp home page GithubHelp logo

shawnma16 / tom_and_jerry Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 5.0 7.01 MB

A multiuser AR game based on ARKit 2 and MultipeerConnectivity

License: MIT License

Swift 99.57% Metal 0.25% Ruby 0.18%
arkit arkit2 multipeerconnectivity joystick swift multiuser multiplayer scenekit

tom_and_jerry's Introduction

This is an AR multiuser game based on ARKit 2 and Multipeerconnectivity.

It allow users to controll the characters to interact with.

Also see a simplified version here

Prerequisites

  • Two iOS 12 devices in the same Wi-Fi
  • Xcode 10

Installing

  • CocoaPods
$ sudo gem install cocoapods
  • SnapKit
$ cd Tom_and_Jerry-master
$ pod install

Running

The better you match the AR worldmap, the better lighting shadow you will get

open "Tom_Jerry.xcworkspace"

Host the game with one device

  1. Find and scan the ground plane

  2. Wait for the ARKit status label to show "Maped"

DO NOT ADD GAME OBJECT FOR NOW

Join the game

  1. Find and scan the same ground plane

  2. 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
  • Don't place objects too close when beginning

Features

  • Multiuser
  • Lighting in SceneKit
  • Joystick
  • Animation in SceneKit with Mixamo

Authors

tom_and_jerry's People

Contributors

shawnma16 avatar sp575 avatar yiyaonie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tom_and_jerry's Issues

Network Discover Not working

The app is really cool but I can't get the network sharing to work. I see this error in the Console :

NSNetServicesErrorDomain error -72008

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.