├── .babelrc ├── .gitignore ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── gamekit │ │ │ └── MainActivity.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── index.android.js ├── index.ios.js ├── ios ├── GameKit.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── GameKit.xcscheme ├── GameKit │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── GameKitTests │ ├── GameKitTests.m │ └── Info.plist ├── package.json └── src ├── assets ├── spike.png ├── sprite-walk1.png ├── sprite-walk2.png ├── sprite-walk3.png └── sprite-walk4.png ├── components ├── background.js ├── character.js ├── dead.js ├── spike.js ├── spikes.js └── sprite.js ├── index.js ├── physics └── index.js ├── store └── index.js └── util └── index.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native-stage-0/decorator-support"] 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/.gitignore -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/BUCK -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/build.gradle -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app/src/main/java/com/gamekit/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/java/com/gamekit/MainActivity.java -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/keystores/BUCK -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/android/keystores/debug.keystore.properties -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'GameKit' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/index.android.js -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/index.ios.js -------------------------------------------------------------------------------- /ios/GameKit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /ios/GameKit.xcodeproj/xcshareddata/xcschemes/GameKit.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit.xcodeproj/xcshareddata/xcschemes/GameKit.xcscheme -------------------------------------------------------------------------------- /ios/GameKit/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/AppDelegate.h -------------------------------------------------------------------------------- /ios/GameKit/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/AppDelegate.m -------------------------------------------------------------------------------- /ios/GameKit/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /ios/GameKit/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /ios/GameKit/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/Info.plist -------------------------------------------------------------------------------- /ios/GameKit/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKit/main.m -------------------------------------------------------------------------------- /ios/GameKitTests/GameKitTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKitTests/GameKitTests.m -------------------------------------------------------------------------------- /ios/GameKitTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/ios/GameKitTests/Info.plist -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/package.json -------------------------------------------------------------------------------- /src/assets/spike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/assets/spike.png -------------------------------------------------------------------------------- /src/assets/sprite-walk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/assets/sprite-walk1.png -------------------------------------------------------------------------------- /src/assets/sprite-walk2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/assets/sprite-walk2.png -------------------------------------------------------------------------------- /src/assets/sprite-walk3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/assets/sprite-walk3.png -------------------------------------------------------------------------------- /src/assets/sprite-walk4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/assets/sprite-walk4.png -------------------------------------------------------------------------------- /src/components/background.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/background.js -------------------------------------------------------------------------------- /src/components/character.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/character.js -------------------------------------------------------------------------------- /src/components/dead.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/dead.js -------------------------------------------------------------------------------- /src/components/spike.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/spike.js -------------------------------------------------------------------------------- /src/components/spikes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/spikes.js -------------------------------------------------------------------------------- /src/components/sprite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/components/sprite.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/index.js -------------------------------------------------------------------------------- /src/physics/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/physics/index.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/util/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kenwheeler/react-native-game-kit/HEAD/src/util/index.js --------------------------------------------------------------------------------