Permalink
Please sign in to comment.
Showing
with
2,416 additions
and 0 deletions.
- +20 −0 .gitignore
- +22 −0 LICENSE
- +19 −0 README.md
- BIN Resources/Touch Bar Space Fight Icon.sketch
- BIN Resources/Touch Bar Space Fight.sketch
- BIN Resources/enemy.png
- BIN Resources/enemy@2x.png
- BIN Resources/enemy@3x.png
- BIN Resources/life.png
- BIN Resources/life@2x.png
- BIN Resources/life@3x.png
- BIN Resources/rocket.png
- BIN Resources/rocket@2x.png
- BIN Resources/rocket@3x.png
- BIN Resources/shot.png
- BIN Resources/shot@2x.png
- BIN Resources/shot@3x.png
- BIN Resources/sounds/enemykilled.caf
- BIN Resources/sounds/gameover.caf
- BIN Resources/sounds/life.caf
- BIN Resources/sounds/music.caf
- BIN Resources/sounds/playerhit.caf
- BIN Resources/sounds/shot.caf
- +415 −0 TouchBarSpaceFight/TouchBarSpaceFight.xcodeproj/project.pbxproj
- +74 −0 TouchBarSpaceFight/TouchBarSpaceFight/AppDelegate.swift
- +68 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/Contents.json
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-1.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-2.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-3.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-4.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-5.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-6.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-7.png
- BIN ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon-8.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon.png
- BIN ...BarSpaceFight/TouchBarSpaceFight/Assets.xcassets/AppIcon.appiconset/TouchBarSpaceFightIcon@2x.png
- +6 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/Contents.json
- +6 −0 ...hBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/Contents.json
- +21 −0 ...TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/bokeh.imageset/Contents.json
- BIN ...ght/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/bokeh.imageset/bokeh.png
- +21 −0 ...TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/spark.imageset/Contents.json
- BIN ...ght/TouchBarSpaceFight/Assets.xcassets/Particle Sprite Atlas.spriteatlas/spark.imageset/spark.png
- +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/Contents.json
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy@2x.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/enemy.imageset/enemy@3x.png
- +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/Contents.json
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life@2x.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/life.imageset/life@3x.png
- +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/Contents.json
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket@2x.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/rocket.imageset/rocket@3x.png
- +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/Contents.json
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot@2x.png
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Assets.xcassets/shot.imageset/shot@3x.png
- +907 −0 TouchBarSpaceFight/TouchBarSpaceFight/Base.lproj/Main.storyboard
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Explosion.sks
- BIN TouchBarSpaceFight/TouchBarSpaceFight/Game.sks
- +115 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameModels.swift
- +372 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameScene.swift
- +114 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameViewController.swift
- +23 −0 TouchBarSpaceFight/TouchBarSpaceFight/GameWindow.swift
- +32 −0 TouchBarSpaceFight/TouchBarSpaceFight/Info.plist
- +81 −0 TouchBarSpaceFight/TouchBarSpaceFight/ScreenViewController.swift
- +8 −0 TouchBarSpaceFight/TouchBarSpaceFight/TouchBarSpaceFight.entitlements
- BIN screenshots/touchbargame-1.png
- BIN screenshots/touchbargame-2.png
- BIN screenshots/touchbargame-3.png
20
.gitignore
| @@ -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. |
19
README.md
| @@ -0,0 +1,19 @@ | ||
| +# Touch Bar Space Fight | ||
| + | ||
| +A simple, fun game for the MacBook Pro's Touch Bar. | ||
| + | ||
| + | ||
| + | ||
| + | ||
| + | ||
| +## 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