Augmented Reality Tetris made with ARKit and SceneKit

Overview

ARTetris

Augmented Reality Tetris made with ARKit and SceneKit


We are a development agency building phenomenal apps.



FAQ

App crashes when running on iPhone 6, iPhone 5s, iPad Air, etc.

ARKit only works on devices with A9 chip or greater. So you need at least iPhone 6S or iPad with such a chip.

App runs, but nothing happens.

To play the game you need to find some horizontal surface: floor, table top, etc. Point you camera to a plane and move your device a little bit in different directions to force ARKit to find bounds of the plane. Once it will be found, you will see Tetris well on this plane.

Source Code Guide

Issues
  • tetris doesn't show

    tetris doesn't show

    Hi,

    This is a very interesting idea using ar. I try to run the app, but it doesn't show any Tetris on my screen, only a camera scene....

    opened by markzhong88 4
  • iPhone 6 not support

    iPhone 6 not support

    [Session] Unable to run the session, configuration is not supported on this device: <ARSessionConfiguration: 0x1c4279300 worldAlignment=Gravity lightEstimation=Enabled>

    opened by CrazyCoderShi 3
  • failed assertion `MTLTextureDescriptor has invalid pixelFormat (520)

    failed assertion `MTLTextureDescriptor has invalid pixelFormat (520)

    Run with: iOS 11 beta 2, iPhone 5s.

    -[MTLTextureDescriptorInternal validateWithDevice:]:778: failed assertion `MTLTextureDescriptor has invalid pixelFormat (520).'
    

    Please help

    opened by und3fined 2
  • iPhone6 s plus support?

    iPhone6 s plus support?

    Hi, supposedly iPhone 6s+ is supported by ARKit, but I just get a video feed from my camera, with nothing happening on the screen. I've tried a few other tutorials and it seems the ones that use spriteKit don't work on 6sPlus. Is this a known limitation? Am I doing something wrong? Paul.

    opened by seishonagon 2
  • 'init()' is unavailable beta 5

    'init()' is unavailable beta 5

    on beta 5, after setting the new function (ARConfiguration & ARWorldTrackingConfiguration )

    I've an error 'init()' is unavailable ... any idea?

    bug 
    opened by mcnahum 2
  • Cannot see the tetris game.

    Cannot see the tetris game.

    I have downloaded the project and run in on iPhone SE with iOS 11 beta 6, built with Xcode 9 beta 5 (9M202q). The project runs but I do not see any tetris game.

    opened by dandreikiv 2
  • Crash when runningon iPad Air

    Crash when runningon iPad Air

    Hi,

    I'm trying to run the project on my iPad Air but i'm getting the following error: ARTetris[3259:958330] -[MTLTextureDescriptorInternal validateWithDevice:], line 778: error 'MTLTextureDescriptor has invalid pixelFormat (520).' -[MTLTextureDescriptorInternal validateWithDevice:]:778: failed assertion `MTLTextureDescriptor has invalid pixelFormat (520).

    Don't really know what's going on yet but maybe you have a clue?

    opened by TripwireNL 1
  • Doesn't work.

    Doesn't work.

    Downloaded but nothing happens.

    opened by adamdahan 1
  • Crashes on iPhone 5s, iOS 11 b3

    Crashes on iPhone 5s, iOS 11 b3

    failed assertion MTLTextureDescriptor has invalid pixelFormat (520).

    opened by NSExceptional 1
  • how to extract scores to another views

    how to extract scores to another views

    Guys. This is great job you did. thanks for sharing this great app for us. I am newbie at development and want to extract scores after game over. and want to add restart function. For days I m trying find a way to extract scores without using UserDefaults. but cant manage. any further information will be appreciated. regards..

    opened by xyzbilal 1
Owner
Exyte
Exyte
An implementation of a Super Mario Bros-like game in augmented reality with ARKit and SceneKit.

arkit-smb-homage Bjarne Lundgren / [email protected] / @bjarnel This project is a homage to Super Mario Bros. It does not, however, contain ANY original

Bjarne Lundgren 244 Nov 6, 2021
A demo Augmented Reality shooter made with ARKit in Swift (iOS 11)

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

Faris Sbahi 805 Nov 14, 2021
ARRuler is a simple iOS app which measures real-world distances using ARKit and Augmented Reality.

ARRuler A simple iOS app which measures real-world distances using ARKit and Augmented Reality. ARRuler allows you to measure distances using augmente

Vardhan Agrawal 26 Nov 10, 2021
Lovely Augmented Reality Charts for iOS - Built with ARKit

ARCharts ARCharts is a library making it easy to create beautiful charts tailored for augmented reality. Table of Contents Project Details Requirement

Boris Emorine 691 Nov 12, 2021
:airplane: An augmented reality app to visualize and discover the planes flying around you. Finalist at Hack the North 2017 in Waterloo, ON, Canada.

AR Planes AR Planes is an app that lets you visualize and discover the planes flying around you. It uses ARKit to show all of the planes nearby in aug

null 98 Aug 1, 2021
👻 Augmented reality game in a pixel/billboard style

ARbusters What's ARbusters? ARbusters is an augmented reality game in a pixel/billboard style. The gameplay is pretty simple, look around you and kill

Pedro Carrasco 83 Nov 11, 2021
Show your GitHub commit records in 3D with ARKit and SceneKit. 用 ARKit 展示你的 GitHub 提交图

ARGitHubCommits Show your GitHub commit records in 3D with ARKit and SceneKit. Listed in Awesome ARKit now. Welcome to Star ⭐️ ~ Preview Requirement i

Kuixi Song 282 Nov 8, 2021
Shell Game built with ARKit and SceneKit

ARKit Shell Game Shell Game built with ARKit and SceneKit. Good sample to learn AR/3D basics. Requirements XCode 9 Device running iOS, with an A9 chip

Handsome 85 Jul 10, 2021
A demonstration of vertical planes "tracking" and occlusions with ARKit+Scenekit

arkit-occlusion-demo Bjarne Lundgren / [email protected] / @bjarnel This ARKit+SceneKit project shows how to "track" vertical planes (relative to horizo

Bjarne Lundgren 345 Sep 29, 2021
Record your SceneKit and ARKit scenes easily.

SceneKitVideoRecorder Example To run the example project, clone the repo, and run pod install from the Example directory first. Apps using SceneKitVid

SV Hawks 225 Nov 13, 2021
Quick demo of 3d drawing in ARKit using metal + SceneKit. NOTE: This is experimental code!

ARBrush Quick demo of 3d drawing in ARKit using metal + SceneKit. Code adapted from: https://github.com/lapfelix/ARKit-line-drawing and: https://www.r

laan labs 774 Nov 10, 2021
Tic-Tac-Toe implemented using ARKit+Scenekit

arkit-tictactoe Bjarne Lundgren / [email protected] / @bjarnel In this example I have taken the simple scenekit tic-tac-toe (another of my repositories)

Bjarne Lundgren 383 Nov 14, 2021
Make VR with SceneKit & ARKit.

ARKitPlusVR VR with SceneKit & ARKit. This project demonstrates the using of ARKit to make the movement in VR scene possible. Requirements A9 ( iPhone

WorkerAmo 81 Oct 21, 2021
Voxel graphics framework using ARKit + SceneKit

ARVoxelKit Lightweight Framework for Voxel graphic using AR + SceneKit Requirements ARVoxelKit requires iOS 11 and devices, which support ARKit Usage

null 71 Jun 8, 2021
Clean class to create a portal in SceneKit for use in ARKit.

SceneKit-PortalMask See my Medium post about this CocoaPod This class PortalMask creates an occluding box around any rectangular frame, including a tr

Max Cobb 53 Sep 8, 2021
Face mesh tracking with ARKit + SceneKit

Face Mesh with iOS ARKit + SceneKit So I was exploring ways to deploy face landmark detector onto a mobile environment. The only way I know how was to

Rex Low 3 May 6, 2021
Easily use ARKit to detect facial gestures. FaceTrigger is a simple to use class that hides the details of using ARKit's ARSCNView to recognize facial gestures via ARFaceAnchor.BlendShapeLocations

FaceTrigger Introduction FaceTrigger is a simple to use class that hides the details of using ARKit's ARSCNView to recognize facial gestures via ARFac

Michael Peterson 65 Sep 4, 2021
An ARKit version of WeChat Bottle Jump game. ARKit 版微信跳一跳游戏

ARBottleJump An ARKit version of WeChat Bottle Jump game. Welcome to Star ⭐️ ~ Instruction After launching, please move your iPhone around in order to

Kuixi Song 262 Nov 9, 2021
Rosberry Portfolio app made with Apple ARKit

Rosberry pARtfolio Simple ARKit example with Rosberry apps. Requirements iOS 11.0+ Xcode 9.0+ An iOS device with an A9 or better processor (iPhone 6s

Rosberry 29 Jun 2, 2020