DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. Dynamic AR Game Development Using Apple ARKit

Dynamic AR Game Development Using Apple ARKit

ARKit allows iOS developers to create augmented reality apps for mobile devices. Learn about its features and how to get started.

Joydeep Bhattacharya user avatar by
Joydeep Bhattacharya
CORE ·
Dec. 12, 17 · Tutorial
Like (1)
Save
Tweet
Share
4.81K Views

Join the DZone community and get the full member experience.

Join For Free

ARKit is a new, free set of software tools that allows anyone to build powerful and dynamic apps and experiences on the iPhone and iPad. iOS 11 was launched in Sep 2017 that allows people to download and try AR for themselves. We are now heading towards 2018, and this year can certainly be termed as the year of dynamic augmented solutions.

Dynamic AR uses the effects of lighting, audio, and animatronics. Visions is an innovative platform that generated virtual AR ghosts, leveraging the power of the Skeleton Key Rooms, combining a bit of virtual reality with real practical startle scares and effects. Some of the upcoming VR powered games that are set to grow big in 2018 are HoloGrid Monster Battle AR (Happy Giant), which is a hybrid of a board game, a collectible card game, a mobile game, and an augmented reality game — all in one; and PuzzlAR World Tour (Bica Studios), which offers three landscapes for players to piece together. The three available landscapes are the Statue of Liberty, Taj Mahal, and Saint Basil Cathedral. The landmark sprouts up on a patch of land, and when players complete the puzzle, it shows off a victory animation, such as fireworks for the Statue of Liberty.

ARKit Features That Support Dynamic Game Development

Apple AR Kit has some great features that offer easy development of dynamic AR gaming. ARKit uses Visual Inertial Odometry (VIO) to accurately track motion, leveraging the power of camera sensor data. VIO helps to fuse the camera sensor data with the Core Motion data. It allows for "fast and stable motion tracking," where objects are allowed to interact with and look as if they are actually being placed in reality—in lieu of its current state.

ARKit’s advanced feature allows the accurate detection of horizontal planes and effective integration with screen rendering frameworks such as Metal and SceneKit. ARKit runs on the Apple A9, A10, and A11 processors. Powerful processors like these help to deliver breakthrough performance that offers a real-life performance with fast scene understanding. Game developers can build detailed and compelling virtual content on top of real-world scenes. Advanced iPhone X cameras allow for proper detection of 50+ muscle movements. The True Depth camera makes it easy to apply live selfie effects or uses facial expressions to drive a 3D character.

How to Create a New AR App Project Template in Xcode

Click “File,” “New,” and select “Project.” You will see a grid of options as shown in the below screenshot.

Now, click on “Augmented Reality App.”

Add the product name, choose the content technology, and fill in the other required fields as shown in the below screenshot.

 

In Xcode on your Mac, select “Window” from the top menu bar and click on “Devices and Simulators”. Now, double-click your iOS device after checking the box that says “Show as run destination.” 

 

Ensure your iOS device is selected in the device picker drop-down menu in the top left-hand corner of Xcode. Choose “Product,”  and then click “Run.”  

If you want to stop the demo app then go back to “Product” in Xcode and scroll down to “Stop.” 

That’s it! You can now start using ARKit. ARKit is Apple’s big bet on bringing AR to mainstream consumers by baking it directly into the iPhone and iOS. ARKit provides huge opportunities to game developers in 2018 and ahead.

augmented reality

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • A Brief Overview of the Spring Cloud Framework
  • Differences Between Site Reliability Engineer vs. Software Engineer vs. Cloud Engineer vs. DevOps Engineer
  • Top 10 Secure Coding Practices Every Developer Should Know
  • Load Balancing Pattern

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: