diff --git a/ios/application_single_view.nic/AppDelegate.h b/ios/application_single_view.nic/AppDelegate.h new file mode 100755 index 0000000..11ee789 --- /dev/null +++ b/ios/application_single_view.nic/AppDelegate.h @@ -0,0 +1,6 @@ +@interface AppDelegate : UIResponder + +@property (nonatomic, retain) UIWindow *window; +@property (nonatomic, retain) UIViewController *rootViewController; + +@end diff --git a/ios/application_single_view.nic/AppDelegate.m b/ios/application_single_view.nic/AppDelegate.m new file mode 100755 index 0000000..5e730e6 --- /dev/null +++ b/ios/application_single_view.nic/AppDelegate.m @@ -0,0 +1,18 @@ +#import "AppDelegate.h" +#import "ViewController.h" + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(UIApplication *)application { + _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; + + _rootViewController = [[ViewController alloc] init]; + + _window.rootViewController = _rootViewController; + + + [_window makeKeyAndVisible]; +} + + +@end diff --git a/ios/application_single_view.nic/Makefile b/ios/application_single_view.nic/Makefile new file mode 100755 index 0000000..bfdc838 --- /dev/null +++ b/ios/application_single_view.nic/Makefile @@ -0,0 +1,14 @@ +include @@THEOS@@/makefiles/common.mk + +APPLICATION_NAME = @@PROJECTNAME@@ + +@@PROJECTNAME@@_FILES = $(wildcard *.m) + +@@PROJECTNAME@@_FRAMEWORKS = UIKit CoreGraphics + +@@PROJECTNAME@@_CFLAGS = -fobjc-arc + +include $(THEOS_MAKE_PATH)/application.mk + +after-install:: + install.exec "killall \"@@PROJECTNAME@@\"" || true diff --git a/ios/application_single_view.nic/NIC/control b/ios/application_single_view.nic/NIC/control new file mode 100755 index 0000000..498db9b --- /dev/null +++ b/ios/application_single_view.nic/NIC/control @@ -0,0 +1,5 @@ +name "iphone/application_single_view" + + +constrain file "control" to package +constrain "theos" to link_theos diff --git a/ios/application_single_view.nic/Resources/AppIcon29x29.png b/ios/application_single_view.nic/Resources/AppIcon29x29.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon29x29@2x.png b/ios/application_single_view.nic/Resources/AppIcon29x29@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon29x29@3x.png b/ios/application_single_view.nic/Resources/AppIcon29x29@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon40x40.png b/ios/application_single_view.nic/Resources/AppIcon40x40.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon40x40@2x.png b/ios/application_single_view.nic/Resources/AppIcon40x40@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon40x40@3x.png b/ios/application_single_view.nic/Resources/AppIcon40x40@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon50x50.png b/ios/application_single_view.nic/Resources/AppIcon50x50.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon50x50@2x.png b/ios/application_single_view.nic/Resources/AppIcon50x50@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon57x57.png b/ios/application_single_view.nic/Resources/AppIcon57x57.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon57x57@2x.png b/ios/application_single_view.nic/Resources/AppIcon57x57@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon57x57@3x.png b/ios/application_single_view.nic/Resources/AppIcon57x57@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon60x60.png b/ios/application_single_view.nic/Resources/AppIcon60x60.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon60x60@2x.png b/ios/application_single_view.nic/Resources/AppIcon60x60@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon60x60@3x.png b/ios/application_single_view.nic/Resources/AppIcon60x60@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon72x72.png b/ios/application_single_view.nic/Resources/AppIcon72x72.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon72x72@2x.png b/ios/application_single_view.nic/Resources/AppIcon72x72@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon76x76.png b/ios/application_single_view.nic/Resources/AppIcon76x76.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/AppIcon76x76@2x.png b/ios/application_single_view.nic/Resources/AppIcon76x76@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/Info.plist b/ios/application_single_view.nic/Resources/Info.plist new file mode 100755 index 0000000..1b33ee3 --- /dev/null +++ b/ios/application_single_view.nic/Resources/Info.plist @@ -0,0 +1,154 @@ + + + + + CFBundleExecutable + @@PROJECTNAME@@ + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29 + AppIcon40x40 + AppIcon57x57 + AppIcon60x60 + + UIPrerenderedIcon + + + + CFBundleIcons~ipad + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29 + AppIcon40x40 + AppIcon57x57 + AppIcon60x60 + AppIcon50x50 + AppIcon72x72 + AppIcon76x76 + + UIPrerenderedIcon + + + + CFBundleIdentifier + @@PACKAGENAME@@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + armv7 + + UILaunchImageFile + LaunchImage + UILaunchImages + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 480} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-700-568h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 568} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-Portrait + UILaunchImageOrientation + Portrait + UILaunchImageSize + {768, 1024} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-Landscape + UILaunchImageOrientation + Landscape + UILaunchImageSize + {768, 1024} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-667h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {375, 667} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-Portrait-736h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {414, 736} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-Landscape-736h + UILaunchImageOrientation + Landscape + UILaunchImageSize + {414, 736} + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/ios/application_single_view.nic/Resources/LaunchImage-700-568h@2x.png b/ios/application_single_view.nic/Resources/LaunchImage-700-568h@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-700-Landscape@2x~ipad.png b/ios/application_single_view.nic/Resources/LaunchImage-700-Landscape@2x~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-700-Landscape~ipad.png b/ios/application_single_view.nic/Resources/LaunchImage-700-Landscape~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-700-Portrait@2x~ipad.png b/ios/application_single_view.nic/Resources/LaunchImage-700-Portrait@2x~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-700-Portrait~ipad.png b/ios/application_single_view.nic/Resources/LaunchImage-700-Portrait~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-800-667h@2x.png b/ios/application_single_view.nic/Resources/LaunchImage-800-667h@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-800-Landscape-736h@3x.png b/ios/application_single_view.nic/Resources/LaunchImage-800-Landscape-736h@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage-800-Portrait-736h@3x.png b/ios/application_single_view.nic/Resources/LaunchImage-800-Portrait-736h@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage.png b/ios/application_single_view.nic/Resources/LaunchImage.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/Resources/LaunchImage@2x.png b/ios/application_single_view.nic/Resources/LaunchImage@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_single_view.nic/ViewController.h b/ios/application_single_view.nic/ViewController.h new file mode 100755 index 0000000..9abac8f --- /dev/null +++ b/ios/application_single_view.nic/ViewController.h @@ -0,0 +1,4 @@ + +@interface ViewController : UIViewController + +@end diff --git a/ios/application_single_view.nic/ViewController.m b/ios/application_single_view.nic/ViewController.m new file mode 100755 index 0000000..af293d0 --- /dev/null +++ b/ios/application_single_view.nic/ViewController.m @@ -0,0 +1,38 @@ +#import "ViewController.h" + + + + +@interface ViewController () +//private interface + + +@end + + +@implementation ViewController { + +} + +- (void)loadView { + [super loadView]; + + + + self.view.backgroundColor = [UIColor whiteColor]; + + + + +} + +- (void)viewDidLoad { + + // do anything after the view loads + + + +} + + +@end diff --git a/ios/application_single_view.nic/control b/ios/application_single_view.nic/control new file mode 100755 index 0000000..708f3b6 --- /dev/null +++ b/ios/application_single_view.nic/control @@ -0,0 +1,8 @@ +Package: @@PACKAGENAME@@ +Name: @@FULLPROJECTNAME@@ +Version: 0.0.1 +Architecture: iphoneos-arm +Description: An awesome single view application! +Maintainer: @@USER@@ +Author: @@USER@@ +Section: Utilities diff --git a/ios/application_single_view.nic/main.m b/ios/application_single_view.nic/main.m new file mode 100755 index 0000000..a8c26a6 --- /dev/null +++ b/ios/application_single_view.nic/main.m @@ -0,0 +1,7 @@ +#import "AppDelegate.h" + +int main(int argc, char *argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass(AppDelegate.class)); + } +} diff --git a/ios/application_spriteKit_game.nic/AppDelegate.h b/ios/application_spriteKit_game.nic/AppDelegate.h new file mode 100755 index 0000000..11ee789 --- /dev/null +++ b/ios/application_spriteKit_game.nic/AppDelegate.h @@ -0,0 +1,6 @@ +@interface AppDelegate : UIResponder + +@property (nonatomic, retain) UIWindow *window; +@property (nonatomic, retain) UIViewController *rootViewController; + +@end diff --git a/ios/application_spriteKit_game.nic/AppDelegate.m b/ios/application_spriteKit_game.nic/AppDelegate.m new file mode 100755 index 0000000..420cb47 --- /dev/null +++ b/ios/application_spriteKit_game.nic/AppDelegate.m @@ -0,0 +1,21 @@ +#import "AppDelegate.h" +#import "ViewController.h" + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(UIApplication *)application { + _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; + _rootViewController = [[ViewController alloc] init]; + _window.rootViewController = _rootViewController; + [_window makeKeyAndVisible]; + [application setStatusBarHidden:YES]; +} +/* +- (void)dealloc { + [_window release]; + [_rootViewController release]; + [super dealloc]; +} +*/ + +@end diff --git a/ios/application_spriteKit_game.nic/Makefile b/ios/application_spriteKit_game.nic/Makefile new file mode 100755 index 0000000..85377c2 --- /dev/null +++ b/ios/application_spriteKit_game.nic/Makefile @@ -0,0 +1,15 @@ +include @@THEOS@@/makefiles/common.mk + +APPLICATION_NAME = @@PROJECTNAME@@ + +@@PROJECTNAME@@_FILES = $(wildcard *.m) + +@@PROJECTNAME@@_FRAMEWORKS = UIKit CoreGraphics SpriteKit + +@@PROJECTNAME@@_CFLAGS = -fobjc-arc + + +include $(THEOS_MAKE_PATH)/application.mk + +after-install:: + install.exec "killall \"@@PROJECTNAME@@\"" || true diff --git a/ios/application_spriteKit_game.nic/NIC/control b/ios/application_spriteKit_game.nic/NIC/control new file mode 100755 index 0000000..63abb1a --- /dev/null +++ b/ios/application_spriteKit_game.nic/NIC/control @@ -0,0 +1,5 @@ +name "iphone/application_spriteKit_game" + + +constrain file "control" to package +constrain "theos" to link_theos diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon-60@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon-60@2x.png new file mode 100755 index 0000000..61d10d5 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon-60@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification.png b/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification.png new file mode 100755 index 0000000..31d8d3f Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification@3x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification@3x.png new file mode 100755 index 0000000..57d198a Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon-Notification@3x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon.png b/ios/application_spriteKit_game.nic/Resources/AppIcon.png new file mode 100755 index 0000000..b384385 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon29x29.png b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29.png new file mode 100755 index 0000000..cb0cb7a Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@2x.png new file mode 100755 index 0000000..430b618 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@3x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@3x.png new file mode 100755 index 0000000..1923633 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon29x29@3x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon40x40.png b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40.png new file mode 100755 index 0000000..0230e55 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@2x.png new file mode 100755 index 0000000..70e5ff1 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@3x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@3x.png new file mode 100755 index 0000000..70e5ff1 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon40x40@3x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon50x50.png b/ios/application_spriteKit_game.nic/Resources/AppIcon50x50.png new file mode 100755 index 0000000..6889d59 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon50x50.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon50x50@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon50x50@2x.png new file mode 100755 index 0000000..0c0d6a4 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon50x50@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon57x57.png b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57.png new file mode 100755 index 0000000..0c0d6a4 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@2x.png new file mode 100755 index 0000000..0c0d6a4 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@3x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@3x.png new file mode 100755 index 0000000..0c0d6a4 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon57x57@3x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon60x60.png b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60.png new file mode 100755 index 0000000..c68b536 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@2x.png new file mode 100755 index 0000000..c68b536 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@3x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@3x.png new file mode 100755 index 0000000..c68b536 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon60x60@3x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon72x72.png b/ios/application_spriteKit_game.nic/Resources/AppIcon72x72.png new file mode 100755 index 0000000..931ccf9 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon72x72.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon72x72@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon72x72@2x.png new file mode 100755 index 0000000..4ce94c1 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon72x72@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon76x76.png b/ios/application_spriteKit_game.nic/Resources/AppIcon76x76.png new file mode 100755 index 0000000..424b9c1 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon76x76.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon76x76@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon76x76@2x.png new file mode 100755 index 0000000..4b7c59b Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon76x76@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon83.5x83.5@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon83.5x83.5@2x.png new file mode 100755 index 0000000..3109263 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon83.5x83.5@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/AppIcon@2x.png b/ios/application_spriteKit_game.nic/Resources/AppIcon@2x.png new file mode 100755 index 0000000..3852488 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/AppIcon@2x.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/Info.plist b/ios/application_spriteKit_game.nic/Resources/Info.plist new file mode 100755 index 0000000..1b33ee3 --- /dev/null +++ b/ios/application_spriteKit_game.nic/Resources/Info.plist @@ -0,0 +1,154 @@ + + + + + CFBundleExecutable + @@PROJECTNAME@@ + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29 + AppIcon40x40 + AppIcon57x57 + AppIcon60x60 + + UIPrerenderedIcon + + + + CFBundleIcons~ipad + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29 + AppIcon40x40 + AppIcon57x57 + AppIcon60x60 + AppIcon50x50 + AppIcon72x72 + AppIcon76x76 + + UIPrerenderedIcon + + + + CFBundleIdentifier + @@PACKAGENAME@@ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + armv7 + + UILaunchImageFile + LaunchImage + UILaunchImages + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 480} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-700-568h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 568} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-Portrait + UILaunchImageOrientation + Portrait + UILaunchImageSize + {768, 1024} + + + UILaunchImageMinimumOSVersion + 7.0 + UILaunchImageName + LaunchImage-Landscape + UILaunchImageOrientation + Landscape + UILaunchImageSize + {768, 1024} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-667h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {375, 667} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-Portrait-736h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {414, 736} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + LaunchImage-800-Landscape-736h + UILaunchImageOrientation + Landscape + UILaunchImageSize + {414, 736} + + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-568h@2x.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-568h@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Landscape@2x~ipad.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Landscape@2x~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Landscape~ipad.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Landscape~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Portrait@2x~ipad.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Portrait@2x~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Portrait~ipad.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-700-Portrait~ipad.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-667h@2x.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-667h@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-Landscape-736h@3x.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-Landscape-736h@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-Portrait-736h@3x.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage-800-Portrait-736h@3x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/LaunchImage@2x.png b/ios/application_spriteKit_game.nic/Resources/LaunchImage@2x.png new file mode 100755 index 0000000..e69de29 diff --git a/ios/application_spriteKit_game.nic/Resources/assets/btn1.png b/ios/application_spriteKit_game.nic/Resources/assets/btn1.png new file mode 100755 index 0000000..d889f93 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/assets/btn1.png differ diff --git a/ios/application_spriteKit_game.nic/Resources/assets/stars.sks b/ios/application_spriteKit_game.nic/Resources/assets/stars.sks new file mode 100755 index 0000000..35586ff Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/assets/stars.sks differ diff --git a/ios/application_spriteKit_game.nic/Resources/bego.otf b/ios/application_spriteKit_game.nic/Resources/bego.otf new file mode 100755 index 0000000..90d2651 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/bego.otf differ diff --git a/ios/application_spriteKit_game.nic/Resources/bego.ttf b/ios/application_spriteKit_game.nic/Resources/bego.ttf new file mode 100755 index 0000000..3ec7015 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/bego.ttf differ diff --git a/ios/application_spriteKit_game.nic/Resources/spark.png b/ios/application_spriteKit_game.nic/Resources/spark.png new file mode 100755 index 0000000..3383a21 Binary files /dev/null and b/ios/application_spriteKit_game.nic/Resources/spark.png differ diff --git a/ios/application_spriteKit_game.nic/ViewController.h b/ios/application_spriteKit_game.nic/ViewController.h new file mode 100755 index 0000000..010b977 --- /dev/null +++ b/ios/application_spriteKit_game.nic/ViewController.h @@ -0,0 +1,3 @@ +@interface ViewController : UIViewController + +@end diff --git a/ios/application_spriteKit_game.nic/ViewController.m b/ios/application_spriteKit_game.nic/ViewController.m new file mode 100755 index 0000000..6ed5582 --- /dev/null +++ b/ios/application_spriteKit_game.nic/ViewController.m @@ -0,0 +1,60 @@ +#import "ViewController.h" +#import "myScene.h" +#import "menuScene.h" + +#import + + + +@implementation ViewController { + +} + + + + +-(void)viewDidLoad{ + + + // your code here + + + +} + + + + +- (void)viewWillLayoutSubviews { + [super viewWillLayoutSubviews]; + + //Setting the rectangle of the screen frame + + CGRect screenFrame = [UIScreen mainScreen].bounds; + + // creating the skview which will hold our scenes + SKView *skView = [[SKView alloc] initWithFrame:screenFrame]; + + //show FPS (frames per second) + skView.showsFPS = YES; + //show the node/object count + skView.showsNodeCount = YES; + // creating the scenes which will hold all the game content + //myScene *playScene = [myScene sceneWithSize:skView.bounds.size]; + + menuScene *FirstScene = [menuScene sceneWithSize:skView.bounds.size]; + + //setting the scale mode + //playScene.scaleMode = SKSceneScaleModeAspectFill; + + FirstScene.scaleMode = SKSceneScaleModeAspectFill; + + + [self.view addSubview:skView]; + + //Setting the scene + + [skView presentScene:FirstScene]; +} + +@end diff --git a/ios/application_spriteKit_game.nic/control b/ios/application_spriteKit_game.nic/control new file mode 100755 index 0000000..85834dd --- /dev/null +++ b/ios/application_spriteKit_game.nic/control @@ -0,0 +1,8 @@ +Package: @@PACKAGENAME@@ +Name: @@FULLPROJECTNAME@@ +Version: 0.0.1 +Architecture: iphoneos-arm +Description: An awesome Game! +Maintainer: @@USER@@ +Author: @@USER@@ +Section: Utilities diff --git a/ios/application_spriteKit_game.nic/main.m b/ios/application_spriteKit_game.nic/main.m new file mode 100755 index 0000000..a8c26a6 --- /dev/null +++ b/ios/application_spriteKit_game.nic/main.m @@ -0,0 +1,7 @@ +#import "AppDelegate.h" + +int main(int argc, char *argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass(AppDelegate.class)); + } +} diff --git a/ios/application_spriteKit_game.nic/menuScene.h b/ios/application_spriteKit_game.nic/menuScene.h new file mode 100755 index 0000000..1d24ed9 --- /dev/null +++ b/ios/application_spriteKit_game.nic/menuScene.h @@ -0,0 +1,8 @@ +#import + +@interface menuScene : SKScene + +@property (nonatomic, strong) SKLabelNode *title; + +@property (nonatomic, strong) SKSpriteNode *startBtn; +@end \ No newline at end of file diff --git a/ios/application_spriteKit_game.nic/menuScene.m b/ios/application_spriteKit_game.nic/menuScene.m new file mode 100755 index 0000000..e655300 --- /dev/null +++ b/ios/application_spriteKit_game.nic/menuScene.m @@ -0,0 +1,98 @@ +#import "menuScene.h" +#import "myScene.h" + + +// assets + +static NSString *const btn1 = @"assets/btn1.png"; + + + + +@implementation menuScene { + + +} + +-(id)initWithSize:(CGSize)size { + + if (self = [super initWithSize:size]) { + + [self setupScene]; + } + + return self; + + +} + + +-(void) setupScene{ + + self.backgroundColor = [SKColor colorWithRed:0.27 green:0.27 blue:0.27 alpha:1.00]; + + + + // start title + _title = [SKLabelNode labelNodeWithFontNamed:@"Chalkduster"]; + + _title.text = [NSString stringWithFormat:@"SpriteKit Template"]; //change to as desired + _title.fontColor = [SKColor whiteColor]; + _title.position = CGPointMake(CGRectGetMidX(self.frame), self.frame.size.height - 150); + _title.verticalAlignmentMode = 1; + + // title end + + // start button + _startBtn = [SKSpriteNode spriteNodeWithImageNamed:btn1]; + _startBtn.position = CGPointMake(CGRectGetMidX(self.frame), self.frame.size.height / 3); + _startBtn.xScale = 0.5; + _startBtn.yScale = 0.5; + _startBtn.name = @"startButton"; + _startBtn.alpha = 0.001; + SKAction *fade1 = [SKAction fadeInWithDuration:1]; + + SKAction *fadeIn = [SKAction runBlock:^{ + [_startBtn runAction:fade1]; + }]; + + [self addChild:_startBtn]; + + + + [self runAction:fadeIn]; + //end button + + [self addChild:_title]; +} + + +//touches began +- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event +{ + UITouch *touch = [touches anyObject]; + + CGPoint location = [touch locationInNode:self]; + + + //if start button touched, bring the rain + SKNode *node = [self nodeAtPoint:location]; + + // if next button touched, start transition to next scene + if ([node.name isEqualToString:@"startButton"]) { + + myScene *playScene = [[myScene alloc] initWithSize:self.view.bounds.size]; + + + playScene.scaleMode = SKSceneScaleModeAspectFill; + + [self.view presentScene:playScene]; + } +} + + + + + + +@end diff --git a/ios/application_spriteKit_game.nic/myScene.h b/ios/application_spriteKit_game.nic/myScene.h new file mode 100755 index 0000000..7af1b90 --- /dev/null +++ b/ios/application_spriteKit_game.nic/myScene.h @@ -0,0 +1,11 @@ +//myScene.h + + +#import +@interface myScene : SKScene + -(instancetype)initWithSize:(CGSize)size; + + + +@end + diff --git a/ios/application_spriteKit_game.nic/myScene.m b/ios/application_spriteKit_game.nic/myScene.m new file mode 100755 index 0000000..2d28afa --- /dev/null +++ b/ios/application_spriteKit_game.nic/myScene.m @@ -0,0 +1,89 @@ +#import "myScene.h" + + + +#define dgrToRad(degrees)((M_PI * degrees)/180) + + + +@implementation myScene { + + + + +} + +-(id)initWithSize:(CGSize)size { + + if (self = [super initWithSize:size]) { + + [self setupScene]; + + } + + return self; + + +} + + +-(void) setupScene{ + + + self.backgroundColor = [SKColor colorWithRed:0.09 green:0.09 blue:0.10 alpha:1.00]; + +} + + + + + + +-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event +{ + + + for (UITouch *touch in touches) { + + //CGPoint touchLocation = [touch locationInNode:self]; + + + + + } +} + + +- (void)touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event +{ + + for (UITouch *touch in touches) { + + //CGPoint touchLocation = [touch locationInNode:self]; + + + + + + } +} + + + + +- (void)update:(NSTimeInterval)currentTime { + // this function get called before every Frame + +} + + + + +//collide delegate + + +- (void)didBeginContact:(SKPhysicsContact *)contact { + +} + +@end diff --git a/iphone_application_single_view.nic.tar b/iphone_application_single_view.nic.tar new file mode 100644 index 0000000..a342abd Binary files /dev/null and b/iphone_application_single_view.nic.tar differ diff --git a/iphone_application_spriteKit_game.nic.tar b/iphone_application_spriteKit_game.nic.tar new file mode 100644 index 0000000..c7704cf Binary files /dev/null and b/iphone_application_spriteKit_game.nic.tar differ