Objective-C/OSX/main.m
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
This sample code demonstrates how to use Xcode to build a SceneKit level, choose the renderer in between Metal and OpenGL ES, add positional audio triggers, and setup light maps with the new material properties. |
It also demonstrates the usage of particle systems, complex material settings including normal and illumination maps. SceneKit's physics is used to detect collisions with walls, ground, enemy and to collect collectable items. |
This sample app also show how to use SpriteKit to achieve the 2D game overlays (for score and congratulations screen). |
*/ |
@import Cocoa; |
int main(int argc, const char * argv[]) { |
return NSApplicationMain(argc, argv); |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13