Permalink
Browse files

Initial Commit

  • Loading branch information...
0 parents commit 42499816c94391efdce03c7c30b0a4c975e16fcb @insidegui committed Nov 13, 2016
Showing with 2,416 additions and 0 deletions.
  1. +20 −0 .gitignore
  2. +22 −0 LICENSE
  3. +19 −0 README.md
  4. BIN Resources/Touch Bar Space Fight Icon.sketch
  5. BIN Resources/Touch Bar Space Fight.sketch
  6. BIN Resources/enemy.png
  7. BIN Resources/enemy@2x.png
  8. BIN Resources/enemy@3x.png
  9. BIN Resources/life.png
  10. BIN Resources/life@2x.png
  11. BIN Resources/life@3x.png
  12. BIN Resources/rocket.png
  13. BIN Resources/rocket@2x.png
  14. BIN Resources/rocket@3x.png
  15. BIN Resources/shot.png
  16. BIN Resources/shot@2x.png
  17. BIN Resources/shot@3x.png
  18. BIN Resources/sounds/enemykilled.caf
  19. BIN Resources/sounds/gameover.caf
  20. BIN Resources/sounds/life.caf
  21. BIN Resources/sounds/music.caf
  22. BIN Resources/sounds/playerhit.caf
  23. BIN Resources/sounds/shot.caf
  24. +415 −0 TouchBarSpaceFight/TouchBarSpaceFight.xcodeproj/project.pbxproj
  25. +74 −0 TouchBarSpaceFight/TouchBarSpaceFight/AppDelegate.swift
  26. +68 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/Contents.json
  27. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-1.png
  28. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-2.png
  29. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-3.png
  30. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-4.png
  31. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-5.png
  32. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-6.png
  33. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-7.png
  34. BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-8.png
  35. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon.png
  36. BIN ...BarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon@2x.png
  37. +6 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/Contents.json
  38. +6 −0 ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/Contents.json
  39. +21 −0 ...TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/bokeh.imageset/Contents.json
  40. BIN ...ght/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/bokeh.imageset/bokeh.png
  41. +21 −0 ...TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/spark.imageset/Contents.json
  42. BIN ...ght/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/spark.imageset/spark.png
  43. +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/Contents.json
  44. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy.png
  45. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy@2x.png
  46. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy@3x.png
  47. +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/Contents.json
  48. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life.png
  49. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life@2x.png
  50. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life@3x.png
  51. +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/Contents.json
  52. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket.png
  53. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket@2x.png
  54. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket@3x.png
  55. +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/Contents.json
  56. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot.png
  57. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot@2x.png
  58. BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot@3x.png
  59. +907 −0 TouchBarSpaceFight/TouchBarSpaceFight/Base.lproj/Main.storyboard
  60. BIN TouchBarSpaceFight/TouchBarSpaceFight/Explosion.sks
  61. BIN TouchBarSpaceFight/TouchBarSpaceFight/Game.sks
  62. +115 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameModels.swift
  63. +372 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameScene.swift
  64. +114 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameViewController.swift
  65. +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameWindow.swift
  66. +32 −0 TouchBarSpaceFight/TouchBarSpaceFight/Info.plist
  67. +81 −0 TouchBarSpaceFight/TouchBarSpaceFight/ScreenViewController.swift
  68. +8 −0 TouchBarSpaceFight/TouchBarSpaceFight/TouchBarSpaceFight.entitlements
  69. BIN screenshots/touchbargame-1.png
  70. BIN screenshots/touchbargame-2.png
  71. BIN screenshots/touchbargame-3.png
@@ -0,0 +1,20 @@
+.DS_Store
+__MACOSX
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+*.xcworkspace
+!default.xcworkspace
+xcuserdata
+profile
+*.moved-aside
+DerivedData
+.idea/
+Crashlytics.sh
+generatechangelog.sh
+Pods/
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2015 Guilherme Rambo
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+- Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,19 @@
+# Touch Bar Space Fight
+
+A simple, fun game for the MacBook Pro's Touch Bar.
+
+![shot](screenshots/touchbargame-1.png)
+![shot](screenshots/touchbargame-2.png)
+![shot](screenshots/touchbargame-3.png)
+
+## How to play
+
+You will need a new MacBook Pro with the Touch Bar or a [Touch Bar Simulator](https://github.com/bikkelbroeders/TouchBarDemoApp).
+
+[⬇️ Download the latest release here ⬇️](https://github.com/insidegui/TouchBarSpaceFight/releases).
+
+Run the game and look at your touch bar, the game runs in there. Use the arrow keys to move the player and the space key to shoot, your goal is to avoid being hit by enemies and use the least ammount of shots possible to destroy as many enemies as possible.
+
+### Disclaimer
+
+This is a very simple and buggy project, it's just a fun little hack to see what the touch bar is capable of, I will not support this in any way 😬
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 4249981

Please sign in to comment.