├── .gitignore ├── Flappy Bird.xcodeproj ├── project.pbxproj └── xcshareddata │ └── xcschemes │ ├── Flappy Bird.xcscheme │ └── macOS.xcscheme ├── Flappy Bird ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── 100.png │ │ ├── 1024.png │ │ ├── 114.png │ │ ├── 120.png │ │ ├── 144.png │ │ ├── 152.png │ │ ├── 167.png │ │ ├── 180.png │ │ ├── 20.png │ │ ├── 29.png │ │ ├── 40.png │ │ ├── 50.png │ │ ├── 57.png │ │ ├── 58.png │ │ ├── 60.png │ │ ├── 72.png │ │ ├── 76.png │ │ ├── 80.png │ │ ├── 87.png │ │ └── Contents.json │ ├── AppLogo.imageset │ │ ├── 1024.png │ │ └── Contents.json │ ├── Contents.json │ ├── DotGears.imageset │ │ ├── Contents.json │ │ └── DotGears.png │ └── textures.spriteatlas │ │ ├── Contents.json │ │ ├── PipeDown.imageset │ │ ├── Contents.json │ │ └── PipeDown.png │ │ ├── PipeUp.imageset │ │ ├── Contents.json │ │ └── PipeUp.png │ │ ├── back-button.imageset │ │ ├── Contents.json │ │ └── back.png │ │ ├── blue-bird-1.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── blue-bird-2.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── blue-bird-3.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── copper-medal.imageset │ │ ├── Contents.json │ │ └── medal.png │ │ ├── day-sky.imageset │ │ ├── Contents.json │ │ └── sky.png │ │ ├── flappybird.imageset │ │ ├── Contents.json │ │ └── flappy.png │ │ ├── flappyplay.imageset │ │ ├── Contents.json │ │ └── play.png │ │ ├── gameover.imageset │ │ ├── Contents.json │ │ └── gameover.png │ │ ├── get-ready.imageset │ │ ├── Contents.json │ │ └── getready.png │ │ ├── github.imageset │ │ ├── Contents.json │ │ └── github.png │ │ ├── gold-medal.imageset │ │ ├── Contents.json │ │ └── medal.png │ │ ├── green-bird-1.imageset │ │ ├── Contents.json │ │ └── green-bird-1.png │ │ ├── green-bird-2.imageset │ │ ├── Contents.json │ │ └── green-bird-2.png │ │ ├── green-bird-3.imageset │ │ ├── Contents.json │ │ └── green-bird-3.png │ │ ├── kup-bird-1.imageset │ │ ├── Contents.json │ │ └── kup-bird-1.png │ │ ├── kup-bird-2.imageset │ │ ├── Contents.json │ │ └── kup-bird-2.png │ │ ├── kup-bird-3.imageset │ │ ├── Contents.json │ │ └── kup-bird-3.png │ │ ├── land.imageset │ │ ├── Contents.json │ │ └── land.png │ │ ├── mariojumpleft.imageset │ │ ├── Contents.json │ │ └── mariojumpleft.png │ │ ├── mariojumpright.imageset │ │ ├── Contents.json │ │ └── mariojumpright.png │ │ ├── new.imageset │ │ ├── Contents.json │ │ └── new.png │ │ ├── night-sky.imageset │ │ ├── Contents.json │ │ └── sky.png │ │ ├── peach-bird-1.imageset │ │ ├── Contents.json │ │ └── peach-bird-1.png │ │ ├── peach-bird-2.imageset │ │ ├── Contents.json │ │ └── peach-bird-2.png │ │ ├── peach-bird-3.imageset │ │ ├── Contents.json │ │ └── peach-bird-3.png │ │ ├── platinum-medal.imageset │ │ ├── Contents.json │ │ └── medal.png │ │ ├── purple-bird-1.imageset │ │ ├── Contents.json │ │ └── purple-bird-1.png │ │ ├── purple-bird-2.imageset │ │ ├── Contents.json │ │ └── purple-bird-2.png │ │ ├── purple-bird-3.imageset │ │ ├── Contents.json │ │ └── purple-bird-3.png │ │ ├── red-bird-1.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── red-bird-2.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── red-bird-3.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── scoreboard.imageset │ │ ├── Contents.json │ │ └── scoreboard.png │ │ ├── settings-panel.imageset │ │ ├── Contents.json │ │ └── settings.png │ │ ├── settings.imageset │ │ ├── Contents.json │ │ └── settings.png │ │ ├── silver-medal.imageset │ │ ├── Contents.json │ │ └── medal.png │ │ ├── sparkle.imageset │ │ ├── Contents.json │ │ └── sparkle.png │ │ ├── super-bird-1.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── super-bird-2.imageset │ │ ├── Contents.json │ │ └── bird-2.png │ │ ├── super-bird-3.imageset │ │ ├── Contents.json │ │ └── bird-3.png │ │ ├── taptap.imageset │ │ ├── Contents.json │ │ └── taptap.png │ │ ├── toggle.imageset │ │ ├── Contents.json │ │ └── toggle.png │ │ ├── watermark.imageset │ │ ├── Contents.json │ │ └── watermark.png │ │ ├── yellow-bird-1.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ ├── yellow-bird-2.imageset │ │ ├── Contents.json │ │ └── bird-1.png │ │ └── yellow-bird-3.imageset │ │ ├── Contents.json │ │ └── bird-1.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Controllers │ ├── Game │ │ └── GameViewController.swift │ └── UI │ │ └── LoadingViewController.swift ├── Delegates │ └── AppDelegate.swift ├── Flappy Bird.entitlements ├── Info.plist ├── Support │ ├── CustomVisualEffectsView.swift │ ├── MKOutlinedLabelNode.swift │ └── Then.swift ├── fonts │ ├── inside.ttf │ ├── outside.ttf │ └── pixel.ttf ├── game │ ├── Actions.sks │ ├── Assets.swift │ ├── External Display │ │ ├── ControlCentre.swift │ │ ├── SKButtonNode.swift │ │ ├── ScreenMirror.swift │ │ └── TapViewController.swift │ ├── GameScene.sks │ ├── GameScene.swift │ ├── Reachability.swift │ ├── ResultBoard.swift │ └── SettingsPanel.swift └── sounds │ ├── sfx_die.caf │ ├── sfx_hit.caf │ ├── sfx_point.wav │ ├── sfx_swooshing.caf │ └── sfx_wing.caf ├── LICENSE ├── README.md └── demo └── demo.gif /.gitignore: -------------------------------------------------------------------------------- 1 | /Pods/ 2 | .DS_Store 3 | *.xcuserstate 4 | project.xcworkspace/ 5 | xcuserdata/ 6 | build/ 7 | /compileAll 8 | 9 | # Xcode 10 | # 11 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 12 | 13 | ## User settings 14 | xcuserdata/ 15 | 16 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) 17 | *.xcscmblueprint 18 | *.xccheckout 19 | 20 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) 21 | build/ 22 | DerivedData/ 23 | *.moved-aside 24 | *.pbxuser 25 | !default.pbxuser 26 | *.mode1v3 27 | !default.mode1v3 28 | *.mode2v3 29 | !default.mode2v3 30 | *.perspectivev3 31 | !default.perspectivev3 32 | 33 | ## Obj-C/Swift specific 34 | *.hmap 35 | 36 | ## App packaging 37 | *.ipa 38 | *.dSYM.zip 39 | *.dSYM 40 | 41 | ## Playgrounds 42 | timeline.xctimeline 43 | playground.xcworkspace 44 | 45 | # Swift Package Manager 46 | # 47 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 48 | # Packages/ 49 | # Package.pins 50 | # Package.resolved 51 | # *.xcodeproj 52 | # 53 | # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata 54 | # hence it is not needed unless you have added a package configuration file to your project 55 | # .swiftpm 56 | 57 | .build/ 58 | 59 | # CocoaPods 60 | # 61 | # We recommend against adding the Pods directory to your .gitignore. However 62 | # you should judge for yourself, the pros and cons are mentioned at: 63 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 64 | # 65 | # Pods/ 66 | # 67 | # Add this line if you want to avoid checking in source code from the Xcode workspace 68 | # *.xcworkspace 69 | 70 | # Carthage 71 | # 72 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 73 | # Carthage/Checkouts 74 | 75 | Carthage/Build/ 76 | 77 | # Accio dependency management 78 | Dependencies/ 79 | .accio/ 80 | 81 | # fastlane 82 | # 83 | # It is recommended to not store the screenshots in the git repo. 84 | # Instead, use fastlane to re-generate the screenshots whenever they are needed. 85 | # For more information about the recommended setup visit: 86 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 87 | 88 | fastlane/report.xml 89 | fastlane/Preview.html 90 | fastlane/screenshots/**/*.png 91 | fastlane/test_output 92 | 93 | # Code Injection 94 | # 95 | # After new code Injection tools there's a generated folder /iOSInjectionProject 96 | # https://github.com/johnno1962/injectionforxcode 97 | 98 | iOSInjectionProject/ 99 | -------------------------------------------------------------------------------- /Flappy Bird.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 88112B3C2703F41E00B448DF /* Sentry in Frameworks */ = {isa = PBXBuildFile; productRef = 88112B3B2703F41E00B448DF /* Sentry */; }; 11 | 881336392700DF5A00252F12 /* Then.swift in Sources */ = {isa = PBXBuildFile; fileRef = 881336382700DF5A00252F12 /* Then.swift */; }; 12 | 885785C52855532B00D55755 /* LoadingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 885785C42855532B00D55755 /* LoadingViewController.swift */; }; 13 | 885E0F9728559FC2008C70EF /* MKOutlinedLabelNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 885E0F9628559FC2008C70EF /* MKOutlinedLabelNode.swift */; }; 14 | 886C3FC2270A1C9C00EF00C3 /* IQKeyboardManagerSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 886C3FC1270A1C9C00EF00C3 /* IQKeyboardManagerSwift */; }; 15 | 888D9F612707E5EA00F76EF3 /* Assets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 888D9F602707E5EA00F76EF3 /* Assets.swift */; }; 16 | 888E79CA27093B9700912CD9 /* CustomVisualEffectsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 888E79C927093B9700912CD9 /* CustomVisualEffectsView.swift */; }; 17 | 889E3EC024AD152400176E98 /* ControlCentre.swift in Sources */ = {isa = PBXBuildFile; fileRef = 889E3EBD24AD152400176E98 /* ControlCentre.swift */; }; 18 | 889E3EC124AD152400176E98 /* ScreenMirror.swift in Sources */ = {isa = PBXBuildFile; fileRef = 889E3EBE24AD152400176E98 /* ScreenMirror.swift */; }; 19 | 889E3EC224AD152400176E98 /* TapViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 889E3EBF24AD152400176E98 /* TapViewController.swift */; }; 20 | 889E3EC424AD158D00176E98 /* SKButtonNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 889E3EC324AD158D00176E98 /* SKButtonNode.swift */; }; 21 | DD237702245B73B500B570A3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD237701245B73B500B570A3 /* AppDelegate.swift */; }; 22 | DD23770A245B73B500B570A3 /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD237709245B73B500B570A3 /* GameViewController.swift */; }; 23 | DD23770D245B73B500B570A3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DD23770B245B73B500B570A3 /* Main.storyboard */; }; 24 | DD23770F245B73B700B570A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DD23770E245B73B700B570A3 /* Assets.xcassets */; }; 25 | DD237712245B73B700B570A3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DD237710245B73B700B570A3 /* LaunchScreen.storyboard */; }; 26 | DD676405246DF93D00632CA8 /* Reachability.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD676404246DF93D00632CA8 /* Reachability.swift */; }; 27 | DD898AFD245CCFC400478094 /* sounds in Resources */ = {isa = PBXBuildFile; fileRef = DD898AFC245CCFC400478094 /* sounds */; }; 28 | DD898B13245CD23A00478094 /* SettingsPanel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD898B0F245CD23A00478094 /* SettingsPanel.swift */; }; 29 | DD898B14245CD23A00478094 /* GameScene.sks in Resources */ = {isa = PBXBuildFile; fileRef = DD898B10245CD23A00478094 /* GameScene.sks */; }; 30 | DD898B15245CD23A00478094 /* ResultBoard.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD898B11245CD23A00478094 /* ResultBoard.swift */; }; 31 | DD898B16245CD23A00478094 /* GameScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD898B12245CD23A00478094 /* GameScene.swift */; }; 32 | DD898B18245CD26600478094 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = DD898B17245CD26600478094 /* fonts */; }; 33 | DD898B1A245CD2C200478094 /* Actions.sks in Resources */ = {isa = PBXBuildFile; fileRef = DD898B19245CD2C100478094 /* Actions.sks */; }; 34 | /* End PBXBuildFile section */ 35 | 36 | /* Begin PBXCopyFilesBuildPhase section */ 37 | 88AB408D24A58388000818D4 /* Embed Libraries */ = { 38 | isa = PBXCopyFilesBuildPhase; 39 | buildActionMask = 2147483647; 40 | dstPath = ""; 41 | dstSubfolderSpec = 10; 42 | files = ( 43 | ); 44 | name = "Embed Libraries"; 45 | runOnlyForDeploymentPostprocessing = 0; 46 | }; 47 | /* End PBXCopyFilesBuildPhase section */ 48 | 49 | /* Begin PBXFileReference section */ 50 | 88112A1D270162EF00B448DF /* Flappy Bird.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Flappy Bird.entitlements"; sourceTree = ""; }; 51 | 881336382700DF5A00252F12 /* Then.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Then.swift; sourceTree = ""; }; 52 | 885785C42855532B00D55755 /* LoadingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingViewController.swift; sourceTree = ""; }; 53 | 885E0F9628559FC2008C70EF /* MKOutlinedLabelNode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MKOutlinedLabelNode.swift; sourceTree = ""; }; 54 | 888D9F602707E5EA00F76EF3 /* Assets.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Assets.swift; sourceTree = ""; }; 55 | 888E79C927093B9700912CD9 /* CustomVisualEffectsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomVisualEffectsView.swift; sourceTree = ""; }; 56 | 889E3EBD24AD152400176E98 /* ControlCentre.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ControlCentre.swift; sourceTree = ""; }; 57 | 889E3EBE24AD152400176E98 /* ScreenMirror.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScreenMirror.swift; sourceTree = ""; }; 58 | 889E3EBF24AD152400176E98 /* TapViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TapViewController.swift; sourceTree = ""; }; 59 | 889E3EC324AD158D00176E98 /* SKButtonNode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SKButtonNode.swift; sourceTree = ""; }; 60 | DD2376FE245B73B500B570A3 /* Flappy Bird.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flappy Bird.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | DD237701245B73B500B570A3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 62 | DD237709245B73B500B570A3 /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; 63 | DD23770C245B73B500B570A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 64 | DD23770E245B73B700B570A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 65 | DD237711245B73B700B570A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 66 | DD237713245B73B700B570A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = "Flappy Bird/Info.plist"; sourceTree = SOURCE_ROOT; }; 67 | DD676404246DF93D00632CA8 /* Reachability.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Reachability.swift; sourceTree = ""; }; 68 | DD898AFC245CCFC400478094 /* sounds */ = {isa = PBXFileReference; lastKnownFileType = folder; path = sounds; sourceTree = ""; }; 69 | DD898B0F245CD23A00478094 /* SettingsPanel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsPanel.swift; sourceTree = ""; }; 70 | DD898B10245CD23A00478094 /* GameScene.sks */ = {isa = PBXFileReference; lastKnownFileType = file.sks; path = GameScene.sks; sourceTree = ""; }; 71 | DD898B11245CD23A00478094 /* ResultBoard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResultBoard.swift; sourceTree = ""; }; 72 | DD898B12245CD23A00478094 /* GameScene.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GameScene.swift; sourceTree = ""; }; 73 | DD898B17245CD26600478094 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; 74 | DD898B19245CD2C100478094 /* Actions.sks */ = {isa = PBXFileReference; lastKnownFileType = file.sks; path = Actions.sks; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | DD2376FB245B73B500B570A3 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 88112B3C2703F41E00B448DF /* Sentry in Frameworks */, 83 | 886C3FC2270A1C9C00EF00C3 /* IQKeyboardManagerSwift in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | /* End PBXFrameworksBuildPhase section */ 88 | 89 | /* Begin PBXGroup section */ 90 | 280C71132CC39B187A028DB4 /* Frameworks */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | ); 94 | name = Frameworks; 95 | sourceTree = ""; 96 | }; 97 | 88138F9724A55BEF00D80F49 /* Support */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 881336382700DF5A00252F12 /* Then.swift */, 101 | 888E79C927093B9700912CD9 /* CustomVisualEffectsView.swift */, 102 | 885E0F9628559FC2008C70EF /* MKOutlinedLabelNode.swift */, 103 | ); 104 | path = Support; 105 | sourceTree = ""; 106 | }; 107 | 886C3FB4270A126500EF00C3 /* Delegates */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | DD237701245B73B500B570A3 /* AppDelegate.swift */, 111 | ); 112 | path = Delegates; 113 | sourceTree = ""; 114 | }; 115 | 886C3FB5270A127200EF00C3 /* Controllers */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 886C3FB7270A128F00EF00C3 /* UI */, 119 | 886C3FB6270A128300EF00C3 /* Game */, 120 | ); 121 | path = Controllers; 122 | sourceTree = ""; 123 | }; 124 | 886C3FB6270A128300EF00C3 /* Game */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | DD237709245B73B500B570A3 /* GameViewController.swift */, 128 | ); 129 | path = Game; 130 | sourceTree = ""; 131 | }; 132 | 886C3FB7270A128F00EF00C3 /* UI */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 885785C42855532B00D55755 /* LoadingViewController.swift */, 136 | ); 137 | path = UI; 138 | sourceTree = ""; 139 | }; 140 | 889E3EBC24AD152400176E98 /* External Display */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 889E3EC324AD158D00176E98 /* SKButtonNode.swift */, 144 | 889E3EBD24AD152400176E98 /* ControlCentre.swift */, 145 | 889E3EBE24AD152400176E98 /* ScreenMirror.swift */, 146 | 889E3EBF24AD152400176E98 /* TapViewController.swift */, 147 | ); 148 | path = "External Display"; 149 | sourceTree = ""; 150 | }; 151 | DD2376F5245B73B500B570A3 = { 152 | isa = PBXGroup; 153 | children = ( 154 | DD237700245B73B500B570A3 /* Flappy Bird */, 155 | DD2376FF245B73B500B570A3 /* Products */, 156 | 280C71132CC39B187A028DB4 /* Frameworks */, 157 | ); 158 | sourceTree = ""; 159 | }; 160 | DD2376FF245B73B500B570A3 /* Products */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | DD2376FE245B73B500B570A3 /* Flappy Bird.app */, 164 | ); 165 | name = Products; 166 | sourceTree = ""; 167 | }; 168 | DD237700245B73B500B570A3 /* Flappy Bird */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 88112A1D270162EF00B448DF /* Flappy Bird.entitlements */, 172 | 886C3FB5270A127200EF00C3 /* Controllers */, 173 | 886C3FB4270A126500EF00C3 /* Delegates */, 174 | 88138F9724A55BEF00D80F49 /* Support */, 175 | DD898AFC245CCFC400478094 /* sounds */, 176 | DD898B17245CD26600478094 /* fonts */, 177 | DD898B0E245CD23A00478094 /* game */, 178 | DD23770B245B73B500B570A3 /* Main.storyboard */, 179 | DD23770E245B73B700B570A3 /* Assets.xcassets */, 180 | DD237710245B73B700B570A3 /* LaunchScreen.storyboard */, 181 | DD237713245B73B700B570A3 /* Info.plist */, 182 | ); 183 | path = "Flappy Bird"; 184 | sourceTree = ""; 185 | }; 186 | DD898B0E245CD23A00478094 /* game */ = { 187 | isa = PBXGroup; 188 | children = ( 189 | 889E3EBC24AD152400176E98 /* External Display */, 190 | DD898B19245CD2C100478094 /* Actions.sks */, 191 | DD898B0F245CD23A00478094 /* SettingsPanel.swift */, 192 | DD898B10245CD23A00478094 /* GameScene.sks */, 193 | DD898B11245CD23A00478094 /* ResultBoard.swift */, 194 | DD898B12245CD23A00478094 /* GameScene.swift */, 195 | DD676404246DF93D00632CA8 /* Reachability.swift */, 196 | 888D9F602707E5EA00F76EF3 /* Assets.swift */, 197 | ); 198 | path = game; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXGroup section */ 202 | 203 | /* Begin PBXNativeTarget section */ 204 | DD2376FD245B73B500B570A3 /* Flappy Bird */ = { 205 | isa = PBXNativeTarget; 206 | buildConfigurationList = DD237716245B73B700B570A3 /* Build configuration list for PBXNativeTarget "Flappy Bird" */; 207 | buildPhases = ( 208 | DD2376FA245B73B500B570A3 /* Sources */, 209 | DD2376FB245B73B500B570A3 /* Frameworks */, 210 | DD2376FC245B73B500B570A3 /* Resources */, 211 | 88AB408D24A58388000818D4 /* Embed Libraries */, 212 | ); 213 | buildRules = ( 214 | ); 215 | dependencies = ( 216 | ); 217 | name = "Flappy Bird"; 218 | packageProductDependencies = ( 219 | 88112B3B2703F41E00B448DF /* Sentry */, 220 | 886C3FC1270A1C9C00EF00C3 /* IQKeyboardManagerSwift */, 221 | ); 222 | productName = "Flappy Bird"; 223 | productReference = DD2376FE245B73B500B570A3 /* Flappy Bird.app */; 224 | productType = "com.apple.product-type.application"; 225 | }; 226 | /* End PBXNativeTarget section */ 227 | 228 | /* Begin PBXProject section */ 229 | DD2376F6245B73B500B570A3 /* Project object */ = { 230 | isa = PBXProject; 231 | attributes = { 232 | LastSwiftUpdateCheck = 1130; 233 | LastUpgradeCheck = 1300; 234 | ORGANIZATIONNAME = "Brandon Plank & Thatcher Clough"; 235 | TargetAttributes = { 236 | DD2376FD245B73B500B570A3 = { 237 | CreatedOnToolsVersion = 11.3.1; 238 | LastSwiftMigration = 1130; 239 | }; 240 | }; 241 | }; 242 | buildConfigurationList = DD2376F9245B73B500B570A3 /* Build configuration list for PBXProject "Flappy Bird" */; 243 | compatibilityVersion = "Xcode 12.0"; 244 | developmentRegion = en; 245 | hasScannedForEncodings = 0; 246 | knownRegions = ( 247 | en, 248 | Base, 249 | ); 250 | mainGroup = DD2376F5245B73B500B570A3; 251 | packageReferences = ( 252 | 88112B3A2703F41E00B448DF /* XCRemoteSwiftPackageReference "sentry-cocoa" */, 253 | 886C3FC0270A1C9C00EF00C3 /* XCRemoteSwiftPackageReference "IQKeyboardManager" */, 254 | ); 255 | productRefGroup = DD2376FF245B73B500B570A3 /* Products */; 256 | projectDirPath = ""; 257 | projectRoot = ""; 258 | targets = ( 259 | DD2376FD245B73B500B570A3 /* Flappy Bird */, 260 | ); 261 | }; 262 | /* End PBXProject section */ 263 | 264 | /* Begin PBXResourcesBuildPhase section */ 265 | DD2376FC245B73B500B570A3 /* Resources */ = { 266 | isa = PBXResourcesBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | DD23770D245B73B500B570A3 /* Main.storyboard in Resources */, 270 | DD898AFD245CCFC400478094 /* sounds in Resources */, 271 | DD898B1A245CD2C200478094 /* Actions.sks in Resources */, 272 | DD23770F245B73B700B570A3 /* Assets.xcassets in Resources */, 273 | DD237712245B73B700B570A3 /* LaunchScreen.storyboard in Resources */, 274 | DD898B14245CD23A00478094 /* GameScene.sks in Resources */, 275 | DD898B18245CD26600478094 /* fonts in Resources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | /* End PBXResourcesBuildPhase section */ 280 | 281 | /* Begin PBXSourcesBuildPhase section */ 282 | DD2376FA245B73B500B570A3 /* Sources */ = { 283 | isa = PBXSourcesBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | 889E3EC024AD152400176E98 /* ControlCentre.swift in Sources */, 287 | DD676405246DF93D00632CA8 /* Reachability.swift in Sources */, 288 | 888E79CA27093B9700912CD9 /* CustomVisualEffectsView.swift in Sources */, 289 | 889E3EC224AD152400176E98 /* TapViewController.swift in Sources */, 290 | DD898B16245CD23A00478094 /* GameScene.swift in Sources */, 291 | 885785C52855532B00D55755 /* LoadingViewController.swift in Sources */, 292 | DD23770A245B73B500B570A3 /* GameViewController.swift in Sources */, 293 | 888D9F612707E5EA00F76EF3 /* Assets.swift in Sources */, 294 | DD237702245B73B500B570A3 /* AppDelegate.swift in Sources */, 295 | 885E0F9728559FC2008C70EF /* MKOutlinedLabelNode.swift in Sources */, 296 | DD898B15245CD23A00478094 /* ResultBoard.swift in Sources */, 297 | 889E3EC424AD158D00176E98 /* SKButtonNode.swift in Sources */, 298 | DD898B13245CD23A00478094 /* SettingsPanel.swift in Sources */, 299 | 889E3EC124AD152400176E98 /* ScreenMirror.swift in Sources */, 300 | 881336392700DF5A00252F12 /* Then.swift in Sources */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | /* End PBXSourcesBuildPhase section */ 305 | 306 | /* Begin PBXVariantGroup section */ 307 | DD23770B245B73B500B570A3 /* Main.storyboard */ = { 308 | isa = PBXVariantGroup; 309 | children = ( 310 | DD23770C245B73B500B570A3 /* Base */, 311 | ); 312 | name = Main.storyboard; 313 | sourceTree = ""; 314 | }; 315 | DD237710245B73B700B570A3 /* LaunchScreen.storyboard */ = { 316 | isa = PBXVariantGroup; 317 | children = ( 318 | DD237711245B73B700B570A3 /* Base */, 319 | ); 320 | name = LaunchScreen.storyboard; 321 | sourceTree = ""; 322 | }; 323 | /* End PBXVariantGroup section */ 324 | 325 | /* Begin XCBuildConfiguration section */ 326 | DD237714245B73B700B570A3 /* Debug */ = { 327 | isa = XCBuildConfiguration; 328 | buildSettings = { 329 | ALWAYS_SEARCH_USER_PATHS = NO; 330 | CLANG_ANALYZER_NONNULL = YES; 331 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 332 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 333 | CLANG_CXX_LIBRARY = "libc++"; 334 | CLANG_ENABLE_MODULES = YES; 335 | CLANG_ENABLE_OBJC_ARC = YES; 336 | CLANG_ENABLE_OBJC_WEAK = YES; 337 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 338 | CLANG_WARN_BOOL_CONVERSION = YES; 339 | CLANG_WARN_COMMA = YES; 340 | CLANG_WARN_CONSTANT_CONVERSION = YES; 341 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 342 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 343 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 344 | CLANG_WARN_EMPTY_BODY = YES; 345 | CLANG_WARN_ENUM_CONVERSION = YES; 346 | CLANG_WARN_INFINITE_RECURSION = YES; 347 | CLANG_WARN_INT_CONVERSION = YES; 348 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 349 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 350 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 351 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 352 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 353 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 354 | CLANG_WARN_STRICT_PROTOTYPES = YES; 355 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 356 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | COPY_PHASE_STRIP = NO; 360 | DEBUG_INFORMATION_FORMAT = dwarf; 361 | ENABLE_STRICT_OBJC_MSGSEND = YES; 362 | ENABLE_TESTABILITY = YES; 363 | GCC_C_LANGUAGE_STANDARD = gnu11; 364 | GCC_DYNAMIC_NO_PIC = NO; 365 | GCC_NO_COMMON_BLOCKS = YES; 366 | GCC_OPTIMIZATION_LEVEL = 0; 367 | GCC_PREPROCESSOR_DEFINITIONS = ( 368 | "DEBUG=1", 369 | "$(inherited)", 370 | ); 371 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 372 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 373 | GCC_WARN_UNDECLARED_SELECTOR = YES; 374 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 375 | GCC_WARN_UNUSED_FUNCTION = YES; 376 | GCC_WARN_UNUSED_VARIABLE = YES; 377 | INFOPLIST_FILE = "./Flappy Bird/Info.plist"; 378 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 379 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 380 | MTL_FAST_MATH = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 384 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 385 | TARGETED_DEVICE_FAMILY = "1,2"; 386 | }; 387 | name = Debug; 388 | }; 389 | DD237715245B73B700B570A3 /* Release */ = { 390 | isa = XCBuildConfiguration; 391 | buildSettings = { 392 | ALWAYS_SEARCH_USER_PATHS = NO; 393 | CLANG_ANALYZER_NONNULL = YES; 394 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 395 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 396 | CLANG_CXX_LIBRARY = "libc++"; 397 | CLANG_ENABLE_MODULES = YES; 398 | CLANG_ENABLE_OBJC_ARC = YES; 399 | CLANG_ENABLE_OBJC_WEAK = YES; 400 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 401 | CLANG_WARN_BOOL_CONVERSION = YES; 402 | CLANG_WARN_COMMA = YES; 403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 404 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 405 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 406 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 407 | CLANG_WARN_EMPTY_BODY = YES; 408 | CLANG_WARN_ENUM_CONVERSION = YES; 409 | CLANG_WARN_INFINITE_RECURSION = YES; 410 | CLANG_WARN_INT_CONVERSION = YES; 411 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 412 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 413 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 414 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 415 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 416 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 417 | CLANG_WARN_STRICT_PROTOTYPES = YES; 418 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 419 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 420 | CLANG_WARN_UNREACHABLE_CODE = YES; 421 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 422 | COPY_PHASE_STRIP = NO; 423 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 424 | ENABLE_NS_ASSERTIONS = NO; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | GCC_C_LANGUAGE_STANDARD = gnu11; 427 | GCC_NO_COMMON_BLOCKS = YES; 428 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 429 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 430 | GCC_WARN_UNDECLARED_SELECTOR = YES; 431 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 432 | GCC_WARN_UNUSED_FUNCTION = YES; 433 | GCC_WARN_UNUSED_VARIABLE = YES; 434 | INFOPLIST_FILE = "./Flappy Bird/Info.plist"; 435 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 436 | MTL_ENABLE_DEBUG_INFO = NO; 437 | MTL_FAST_MATH = YES; 438 | SDKROOT = iphoneos; 439 | SWIFT_COMPILATION_MODE = wholemodule; 440 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 441 | TARGETED_DEVICE_FAMILY = "1,2"; 442 | VALIDATE_PRODUCT = YES; 443 | }; 444 | name = Release; 445 | }; 446 | DD237717245B73B700B570A3 /* Debug */ = { 447 | isa = XCBuildConfiguration; 448 | buildSettings = { 449 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 450 | CLANG_ENABLE_MODULES = YES; 451 | CODE_SIGN_ENTITLEMENTS = "Flappy Bird/Flappy Bird.entitlements"; 452 | CODE_SIGN_STYLE = Automatic; 453 | CURRENT_PROJECT_VERSION = 1; 454 | DEVELOPMENT_TEAM = GR3NL679U6; 455 | ENABLE_BITCODE = NO; 456 | INFOPLIST_FILE = "Flappy Bird/Info.plist"; 457 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.arcade-games"; 458 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 459 | LD_RUNPATH_SEARCH_PATHS = ( 460 | "$(inherited)", 461 | "@executable_path/Frameworks", 462 | ); 463 | LIBRARY_SEARCH_PATHS = ( 464 | "$(inherited)", 465 | "$(PROJECT_DIR)", 466 | ); 467 | MARKETING_VERSION = 4.3; 468 | PRODUCT_BUNDLE_IDENTIFIER = org.brandonplank.flappybird; 469 | PRODUCT_NAME = "$(TARGET_NAME)"; 470 | SDKROOT = iphoneos; 471 | SUPPORTS_MACCATALYST = YES; 472 | SWIFT_INSTALL_OBJC_HEADER = NO; 473 | SWIFT_OBJC_BRIDGING_HEADER = ""; 474 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 475 | SWIFT_PRECOMPILE_BRIDGING_HEADER = NO; 476 | SWIFT_VERSION = 5.0; 477 | TARGETED_DEVICE_FAMILY = "1,2"; 478 | }; 479 | name = Debug; 480 | }; 481 | DD237718245B73B700B570A3 /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | buildSettings = { 484 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 485 | CLANG_ENABLE_MODULES = YES; 486 | CODE_SIGN_ENTITLEMENTS = "Flappy Bird/Flappy Bird.entitlements"; 487 | CODE_SIGN_STYLE = Automatic; 488 | CURRENT_PROJECT_VERSION = 1; 489 | DEVELOPMENT_TEAM = GR3NL679U6; 490 | ENABLE_BITCODE = NO; 491 | INFOPLIST_FILE = "Flappy Bird/Info.plist"; 492 | INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.arcade-games"; 493 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 494 | LD_RUNPATH_SEARCH_PATHS = ( 495 | "$(inherited)", 496 | "@executable_path/Frameworks", 497 | ); 498 | LIBRARY_SEARCH_PATHS = ( 499 | "$(inherited)", 500 | "$(PROJECT_DIR)", 501 | ); 502 | MARKETING_VERSION = 4.3; 503 | PRODUCT_BUNDLE_IDENTIFIER = org.brandonplank.flappybird; 504 | PRODUCT_NAME = "$(TARGET_NAME)"; 505 | SDKROOT = iphoneos; 506 | SUPPORTS_MACCATALYST = YES; 507 | SWIFT_INSTALL_OBJC_HEADER = NO; 508 | SWIFT_OBJC_BRIDGING_HEADER = ""; 509 | SWIFT_PRECOMPILE_BRIDGING_HEADER = NO; 510 | SWIFT_VERSION = 5.0; 511 | TARGETED_DEVICE_FAMILY = "1,2"; 512 | }; 513 | name = Release; 514 | }; 515 | /* End XCBuildConfiguration section */ 516 | 517 | /* Begin XCConfigurationList section */ 518 | DD2376F9245B73B500B570A3 /* Build configuration list for PBXProject "Flappy Bird" */ = { 519 | isa = XCConfigurationList; 520 | buildConfigurations = ( 521 | DD237714245B73B700B570A3 /* Debug */, 522 | DD237715245B73B700B570A3 /* Release */, 523 | ); 524 | defaultConfigurationIsVisible = 0; 525 | defaultConfigurationName = Release; 526 | }; 527 | DD237716245B73B700B570A3 /* Build configuration list for PBXNativeTarget "Flappy Bird" */ = { 528 | isa = XCConfigurationList; 529 | buildConfigurations = ( 530 | DD237717245B73B700B570A3 /* Debug */, 531 | DD237718245B73B700B570A3 /* Release */, 532 | ); 533 | defaultConfigurationIsVisible = 0; 534 | defaultConfigurationName = Release; 535 | }; 536 | /* End XCConfigurationList section */ 537 | 538 | /* Begin XCRemoteSwiftPackageReference section */ 539 | 88112B3A2703F41E00B448DF /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = { 540 | isa = XCRemoteSwiftPackageReference; 541 | repositoryURL = "https://github.com/getsentry/sentry-cocoa"; 542 | requirement = { 543 | kind = upToNextMajorVersion; 544 | minimumVersion = 7.0.0; 545 | }; 546 | }; 547 | 886C3FC0270A1C9C00EF00C3 /* XCRemoteSwiftPackageReference "IQKeyboardManager" */ = { 548 | isa = XCRemoteSwiftPackageReference; 549 | repositoryURL = "https://github.com/hackiftekhar/IQKeyboardManager"; 550 | requirement = { 551 | kind = exactVersion; 552 | version = 6.5.6; 553 | }; 554 | }; 555 | /* End XCRemoteSwiftPackageReference section */ 556 | 557 | /* Begin XCSwiftPackageProductDependency section */ 558 | 88112B3B2703F41E00B448DF /* Sentry */ = { 559 | isa = XCSwiftPackageProductDependency; 560 | package = 88112B3A2703F41E00B448DF /* XCRemoteSwiftPackageReference "sentry-cocoa" */; 561 | productName = Sentry; 562 | }; 563 | 886C3FC1270A1C9C00EF00C3 /* IQKeyboardManagerSwift */ = { 564 | isa = XCSwiftPackageProductDependency; 565 | package = 886C3FC0270A1C9C00EF00C3 /* XCRemoteSwiftPackageReference "IQKeyboardManager" */; 566 | productName = IQKeyboardManagerSwift; 567 | }; 568 | /* End XCSwiftPackageProductDependency section */ 569 | }; 570 | rootObject = DD2376F6245B73B500B570A3 /* Project object */; 571 | } 572 | -------------------------------------------------------------------------------- /Flappy Bird.xcodeproj/xcshareddata/xcschemes/Flappy Bird.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 45 | 51 | 52 | 53 | 54 | 60 | 62 | 68 | 69 | 70 | 71 | 73 | 74 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /Flappy Bird.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 45 | 51 | 52 | 53 | 54 | 60 | 62 | 68 | 69 | 70 | 71 | 73 | 74 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/100.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/1024.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/114.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/120.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/144.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/152.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/167.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/180.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/20.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/29.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/40.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/50.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/57.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/58.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/60.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/72.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/76.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/80.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppIcon.appiconset/87.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | {"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"}]} -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppLogo.imageset/1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/AppLogo.imageset/1024.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/AppLogo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "1024.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/DotGears.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "DotGears.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/DotGears.imageset/DotGears.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/DotGears.imageset/DotGears.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeDown.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "PipeDown.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeDown.imageset/PipeDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeDown.imageset/PipeDown.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeUp.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "PipeUp.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeUp.imageset/PipeUp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/PipeUp.imageset/PipeUp.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/back-button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "back.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/back-button.imageset/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/back-button.imageset/back.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-1.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-1.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-2.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-2.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-3.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/blue-bird-3.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/copper-medal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "medal.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/copper-medal.imageset/medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/copper-medal.imageset/medal.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/day-sky.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "sky.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/day-sky.imageset/sky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/day-sky.imageset/sky.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/flappybird.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "flappy.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/flappybird.imageset/flappy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/flappybird.imageset/flappy.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/flappyplay.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "play.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/flappyplay.imageset/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/flappyplay.imageset/play.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/gameover.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "gameover.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/gameover.imageset/gameover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/gameover.imageset/gameover.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/get-ready.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "getready.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/get-ready.imageset/getready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/get-ready.imageset/getready.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/github.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "github.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/github.imageset/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/github.imageset/github.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/gold-medal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "medal.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/gold-medal.imageset/medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/gold-medal.imageset/medal.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "green-bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-1.imageset/green-bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-1.imageset/green-bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "green-bird-2.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-2.imageset/green-bird-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-2.imageset/green-bird-2.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "green-bird-3.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-3.imageset/green-bird-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/green-bird-3.imageset/green-bird-3.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "kup-bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-1.imageset/kup-bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-1.imageset/kup-bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "kup-bird-2.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-2.imageset/kup-bird-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-2.imageset/kup-bird-2.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "kup-bird-3.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-3.imageset/kup-bird-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/kup-bird-3.imageset/kup-bird-3.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/land.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "land.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/land.imageset/land.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/land.imageset/land.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpleft.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "mariojumpleft.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpleft.imageset/mariojumpleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpleft.imageset/mariojumpleft.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpright.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "mariojumpright.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpright.imageset/mariojumpright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/mariojumpright.imageset/mariojumpright.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/new.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "new.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/new.imageset/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/new.imageset/new.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/night-sky.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "sky.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/night-sky.imageset/sky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/night-sky.imageset/sky.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "peach-bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-1.imageset/peach-bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-1.imageset/peach-bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "peach-bird-2.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-2.imageset/peach-bird-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-2.imageset/peach-bird-2.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "peach-bird-3.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-3.imageset/peach-bird-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/peach-bird-3.imageset/peach-bird-3.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/platinum-medal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "medal.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/platinum-medal.imageset/medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/platinum-medal.imageset/medal.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "purple-bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-1.imageset/purple-bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-1.imageset/purple-bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "purple-bird-2.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-2.imageset/purple-bird-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-2.imageset/purple-bird-2.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "purple-bird-3.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-3.imageset/purple-bird-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/purple-bird-3.imageset/purple-bird-3.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-1.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-1.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-2.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-2.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-3.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/red-bird-3.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/scoreboard.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "scoreboard.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/scoreboard.imageset/scoreboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/scoreboard.imageset/scoreboard.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/settings-panel.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "settings.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/settings-panel.imageset/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/settings-panel.imageset/settings.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/settings.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "settings.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/settings.imageset/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/settings.imageset/settings.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/silver-medal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "medal.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/silver-medal.imageset/medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/silver-medal.imageset/medal.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/sparkle.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "sparkle.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/sparkle.imageset/sparkle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/sparkle.imageset/sparkle.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-1.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-1.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-2.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-2.imageset/bird-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-2.imageset/bird-2.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-3.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-3.imageset/bird-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/super-bird-3.imageset/bird-3.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/taptap.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "taptap.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/taptap.imageset/taptap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/taptap.imageset/taptap.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/toggle.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "toggle.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/toggle.imageset/toggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/toggle.imageset/toggle.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/watermark.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "watermark.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/watermark.imageset/watermark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/watermark.imageset/watermark.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-1.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-1.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-2.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-2.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "bird-1.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-3.imageset/bird-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/Assets.xcassets/textures.spriteatlas/yellow-bird-3.imageset/bird-1.png -------------------------------------------------------------------------------- /Flappy Bird/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Flappy Bird/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | KongtextRegular 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 60 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 167 | 176 | 191 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 246 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 276 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | -------------------------------------------------------------------------------- /Flappy Bird/Controllers/Game/GameViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GameViewController.swift 3 | // Flappy Bird 4 | // 5 | // Created by Thatcher Clough on 4/30/20. 6 | // Copyright © 2020 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import Foundation 11 | import SpriteKit 12 | import GameplayKit 13 | import Network 14 | 15 | class GameViewController: UIViewController { 16 | public static let shared = GameViewController() 17 | 18 | override var shouldAutorotate: Bool { false } 19 | override var prefersStatusBarHidden: Bool { true } 20 | override var canBecomeFirstResponder: Bool { true } 21 | var preferredFramesPerSecond: Int { 120 } 22 | 23 | lazy var scene = GameScene(fileNamed: "GameScene")?.then { 24 | $0.scaleMode = .aspectFill 25 | } 26 | 27 | override func loadView() { 28 | view = SKView().then { 29 | $0.ignoresSiblingOrder = true 30 | $0.showsFPS = false 31 | $0.showsNodeCount = false 32 | } 33 | } 34 | 35 | override func viewDidLoad() { 36 | super.viewDidLoad() 37 | 38 | GameScene.hitButton = false 39 | guard let scene = scene, let skView = self.view as? SKView else { return } 40 | skView.presentScene(scene) 41 | becomeFirstResponder() 42 | } 43 | 44 | override func pressesBegan(_ presses: Set, with event: UIPressesEvent?) { 45 | var didHandleEvent = false 46 | for press in presses { 47 | guard let key = press.key else { continue } 48 | if #available(iOS 13.4, macCatalyst 13.4, *) { 49 | if key.keyCode == UIKeyboardHIDUsage.keyboardSpacebar { // Space 50 | GameScene.shared.keyboardFlapp() 51 | didHandleEvent = true 52 | } 53 | } else { 54 | } 55 | } 56 | 57 | if didHandleEvent == false { 58 | super.pressesBegan(presses, with: event) 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Flappy Bird/Controllers/UI/LoadingViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LoadingViewController.swift 3 | // Flappy Bird 4 | // 5 | // Created by Brandon Plank on 6/11/22. 6 | // Copyright © 2022 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | import Sentry 12 | 13 | class LoadingViewController: UIViewController { 14 | @IBOutlet weak var progressLabel: UILabel! 15 | @IBOutlet weak var infoLabel: UILabel! 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | print("Showing launch screen") 19 | infoLabel.text = """ 20 | Flappy Bird \(Bundle.main.infoDictionary?["CFBundleShortVersionString"] as! String) 21 | Copyright © 2019 - \(Calendar.current.component(.year, from: Date())) 22 | crypticplank, ThatcherDev 23 | 24 | See license for details. 25 | """ 26 | DispatchQueue.global(qos: .background).async { 27 | sleep(1) 28 | DispatchQueue.main.async { 29 | self.progressLabel.text = "Loading Sentry" 30 | SentrySDK.start { options in 31 | options.dsn = "https://991041777f23449d8f13e438d7911c1f@o956450.ingest.sentry.io/5983798" 32 | options.tracesSampleRate = 0.5 33 | options.debug = false 34 | } 35 | } 36 | DispatchQueue.main.async { 37 | self.progressLabel.text = "Preloading sprites" 38 | Assets.shared.preloadAssets() 39 | } 40 | DispatchQueue.main.async { 41 | self.progressLabel.text = "Done" 42 | } 43 | sleep(2) 44 | DispatchQueue.main.async { 45 | let gameViewController = self.storyboard?.instantiateViewController(withIdentifier: "GameViewController") as! GameViewController 46 | gameViewController.modalPresentationStyle = .fullScreen 47 | gameViewController.modalTransitionStyle = .crossDissolve 48 | 49 | self.present(gameViewController, animated: true, completion: nil) 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Flappy Bird/Delegates/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Flappy Bird 4 | // 5 | // Created by Thatcher Clough on 4/30/20. 6 | // Copyright © 2020 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | import UIKit 9 | import AVFoundation 10 | import Foundation 11 | import SpriteKit 12 | import Sentry 13 | import IQKeyboardManagerSwift 14 | 15 | @UIApplicationMain 16 | class AppDelegate: UIResponder, UIApplicationDelegate { 17 | var window: UIWindow? 18 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { 19 | IQKeyboardManager.shared.enable = true 20 | // Assets.shared.preloadAssets() 21 | 22 | // Allow background audio playback 23 | try? AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient) 24 | try? AVAudioSession.sharedInstance().setActive(true) 25 | 26 | // SentrySDK.start { options in 27 | // options.dsn = "https://991041777f23449d8f13e438d7911c1f@o956450.ingest.sentry.io/5983798" 28 | // options.tracesSampleRate = 0.5 29 | // options.debug = false 30 | // } 31 | 32 | return true 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Flappy Bird/Flappy Bird.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Flappy Bird/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CADisableMinimumFrameDuration 6 | 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | $(MARKETING_VERSION) 21 | CFBundleURLTypes 22 | 23 | 24 | CFBundleTypeRole 25 | Editor 26 | CFBundleURLSchemes 27 | 28 | org.brandonplank.flappybird 29 | 30 | 31 | 32 | CFBundleVersion 33 | $(CURRENT_PROJECT_VERSION) 34 | GADApplicationIdentifier 35 | ca-app-pub-5392102305642005~1545608351 36 | LSApplicationCategoryType 37 | public.app-category.arcade-games 38 | LSApplicationQueriesSchemes 39 | 40 | cydia 41 | undecimus 42 | sileo 43 | zbra 44 | filza 45 | activator 46 | 47 | LSRequiresIPhoneOS 48 | 49 | UIAppFonts 50 | 51 | fonts/pixel.ttf 52 | fonts/outside.ttf 53 | fonts/inside.ttf 54 | 55 | UIApplicationExitsOnSuspend 56 | 57 | UIApplicationSceneManifest 58 | 59 | UIApplicationSupportsMultipleScenes 60 | 61 | 62 | UILaunchStoryboardName 63 | LaunchScreen 64 | UIMainStoryboardFile 65 | Main 66 | UIRequiredDeviceCapabilities 67 | 68 | armv7 69 | 70 | UIRequiresFullScreen 71 | 72 | UIStatusBarHidden 73 | 74 | UIStatusBarStyle 75 | UIStatusBarStyleLightContent 76 | UISupportedInterfaceOrientations 77 | 78 | UIInterfaceOrientationPortrait 79 | 80 | UISupportedInterfaceOrientations~ipad 81 | 82 | UIInterfaceOrientationPortrait 83 | UIInterfaceOrientationPortraitUpsideDown 84 | UIInterfaceOrientationLandscapeLeft 85 | UIInterfaceOrientationLandscapeRight 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /Flappy Bird/Support/CustomVisualEffectsView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CustomVisualEffectsView.swift 3 | // Flappy Bird 4 | // 5 | // Created by Brandon Plank on 10/2/21. 6 | // Copyright © 2021 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | final class CustomVisualEffectView: UIVisualEffectView { 13 | /// Create visual effect view with given effect and its intensity 14 | /// 15 | /// - Parameters: 16 | /// - effect: visual effect, eg UIBlurEffect(style: .dark) 17 | /// - intensity: custom intensity from 0.0 (no effect) to 1.0 (full effect) using linear scale 18 | init(effect: UIVisualEffect, intensity: CGFloat) { 19 | theEffect = effect 20 | customIntensity = intensity 21 | super.init(effect: nil) 22 | } 23 | 24 | required init?(coder aDecoder: NSCoder) { nil } 25 | 26 | deinit { 27 | animator?.stopAnimation(true) 28 | } 29 | 30 | override func draw(_ rect: CGRect) { 31 | super.draw(rect) 32 | effect = nil 33 | animator?.stopAnimation(true) 34 | animator = UIViewPropertyAnimator(duration: 1, curve: .linear) { [unowned self] in 35 | self.effect = theEffect 36 | } 37 | animator?.fractionComplete = customIntensity 38 | } 39 | 40 | private let theEffect: UIVisualEffect 41 | private let customIntensity: CGFloat 42 | private var animator: UIViewPropertyAnimator? 43 | } 44 | -------------------------------------------------------------------------------- /Flappy Bird/Support/MKOutlinedLabelNode.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MKOutlinedLabelNode.swift 3 | // 4 | // Created by Mario Klaver on 13-8-2015. 5 | // Copyright (c) 2015 Endpoint ICT. All rights reserved. 6 | // 7 | import UIKit 8 | import SpriteKit 9 | 10 | class MKOutlinedLabelNode: SKLabelNode { 11 | 12 | var borderColor: UIColor = UIColor.black 13 | var borderWidth: CGFloat = 7.0 14 | var borderOffset : CGPoint = CGPoint(x: 0, y: 0) 15 | enum borderStyleType { 16 | case over 17 | case under 18 | } 19 | var borderStyle = borderStyleType.under 20 | 21 | var outlinedText: String! { 22 | didSet { drawText() } 23 | } 24 | 25 | private var border: SKShapeNode? 26 | 27 | required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } 28 | 29 | override init() { super.init() } 30 | 31 | init(fontNamed fontName: String!, fontSize: CGFloat) { 32 | super.init(fontNamed: fontName) 33 | self.fontSize = fontSize 34 | } 35 | 36 | func drawText() { 37 | if let borderNode = border { 38 | borderNode.removeFromParent() 39 | border = nil 40 | } 41 | 42 | if let text = outlinedText { 43 | self.text = text 44 | if let path = createBorderPathForText() { 45 | let border = SKShapeNode() 46 | 47 | border.strokeColor = borderColor 48 | border.lineWidth = borderWidth; 49 | border.path = path 50 | border.position = positionBorder(border: border) 51 | switch self.borderStyle { 52 | case borderStyleType.over: 53 | border.zPosition = self.zPosition + 1 54 | break 55 | default: 56 | border.zPosition = self.zPosition - 1 57 | } 58 | 59 | addChild(border) 60 | 61 | self.border = border 62 | } 63 | } 64 | } 65 | 66 | private func getTextAsCharArray() -> [UniChar] { 67 | var chars = [UniChar]() 68 | 69 | for codeUnit in (text?.utf16)! { 70 | chars.append(codeUnit) 71 | } 72 | return chars 73 | } 74 | 75 | private func createBorderPathForText() -> CGPath? { 76 | let chars = getTextAsCharArray() 77 | let borderFont = CTFontCreateWithName((self.fontName as CFString?)!, self.fontSize, nil) 78 | 79 | var glyphs = Array(repeating: 0, count: chars.count) 80 | let gotGlyphs = CTFontGetGlyphsForCharacters(borderFont, chars, &glyphs, chars.count) 81 | 82 | if gotGlyphs { 83 | var advances = Array(repeating: CGSize(), count: chars.count) 84 | CTFontGetAdvancesForGlyphs(borderFont, CTFontOrientation.horizontal, glyphs, &advances, chars.count); 85 | 86 | let letters = CGMutablePath() 87 | var xPosition = 0 as CGFloat 88 | for index in 0...(chars.count - 1) { 89 | let letter = CTFontCreatePathForGlyph(borderFont, glyphs[index], nil) 90 | let t = CGAffineTransform(translationX: xPosition , y: 0) 91 | letters.addPath(letter!, transform: t) 92 | xPosition = xPosition + advances[index].width 93 | } 94 | 95 | return letters 96 | } else { 97 | return nil 98 | } 99 | } 100 | 101 | private func positionBorder(border: SKShapeNode) -> CGPoint { 102 | let sizeText = self.calculateAccumulatedFrame() 103 | let sizeBorder = border.calculateAccumulatedFrame() 104 | let offsetX = sizeBorder.width - sizeText.width 105 | 106 | switch self.horizontalAlignmentMode { 107 | case SKLabelHorizontalAlignmentMode.center: 108 | return CGPoint(x: -(sizeBorder.width / 2) + offsetX/2.0 + self.borderOffset.x, y: 1 + self.borderOffset.y) 109 | case SKLabelHorizontalAlignmentMode.left: 110 | return CGPoint(x: sizeBorder.origin.x - self.borderWidth*2 + offsetX + self.borderOffset.x, y: 1 + self.borderOffset.y) 111 | default: 112 | return CGPoint(x: sizeBorder.origin.x - sizeText.width - self.borderWidth*2 + offsetX + self.borderOffset.x, y: 1 + self.borderOffset.y) 113 | } 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /Flappy Bird/Support/Then.swift: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015 Suyeol Jeon (xoul.kr) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | import Foundation 23 | #if !os(Linux) 24 | import CoreGraphics 25 | #endif 26 | #if os(iOS) || os(tvOS) 27 | import UIKit.UIGeometry 28 | #endif 29 | 30 | public protocol Then {} 31 | 32 | extension Then where Self: Any { 33 | 34 | /// Makes it available to set properties with closures just after initializing and copying the value types. 35 | /// 36 | /// let frame = CGRect().with { 37 | /// $0.origin.x = 10 38 | /// $0.size.width = 100 39 | /// } 40 | @inlinable 41 | public func with(_ block: (inout Self) throws -> Void) rethrows -> Self { 42 | var copy = self 43 | try block(©) 44 | return copy 45 | } 46 | 47 | /// Makes it available to execute something with closures. 48 | /// 49 | /// UserDefaults.standard.do { 50 | /// $0.set("devxoul", forKey: "username") 51 | /// $0.set("devxoul@gmail.com", forKey: "email") 52 | /// $0.synchronize() 53 | /// } 54 | @inlinable 55 | public func `do`(_ block: (Self) throws -> Void) rethrows { 56 | try block(self) 57 | } 58 | 59 | } 60 | 61 | extension Then where Self: AnyObject { 62 | 63 | /// Makes it available to set properties with closures just after initializing. 64 | /// 65 | /// let label = UILabel().then { 66 | /// $0.textAlignment = .center 67 | /// $0.textColor = UIColor.black 68 | /// $0.text = "Hello, World!" 69 | /// } 70 | @inlinable 71 | public func then(_ block: (Self) throws -> Void) rethrows -> Self { 72 | try block(self) 73 | return self 74 | } 75 | 76 | } 77 | 78 | extension NSObject: Then {} 79 | 80 | #if !os(Linux) 81 | extension CGPoint: Then {} 82 | extension CGRect: Then {} 83 | extension CGSize: Then {} 84 | extension CGVector: Then {} 85 | #endif 86 | 87 | extension Array: Then {} 88 | extension Dictionary: Then {} 89 | extension Set: Then {} 90 | 91 | #if os(iOS) || os(tvOS) 92 | extension UIEdgeInsets: Then {} 93 | extension UIOffset: Then {} 94 | extension UIRectEdge: Then {} 95 | #endif 96 | -------------------------------------------------------------------------------- /Flappy Bird/fonts/inside.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/fonts/inside.ttf -------------------------------------------------------------------------------- /Flappy Bird/fonts/outside.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/fonts/outside.ttf -------------------------------------------------------------------------------- /Flappy Bird/fonts/pixel.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/fonts/pixel.ttf -------------------------------------------------------------------------------- /Flappy Bird/game/Actions.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/game/Actions.sks -------------------------------------------------------------------------------- /Flappy Bird/game/Assets.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Assets.swift 3 | // Flappy Bird 4 | // 5 | // Created by Brandon Plank on 10/1/21. 6 | // Copyright © 2021 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import SpriteKit 11 | 12 | class Assets { 13 | static let shared = Assets() 14 | let sprites = SKTextureAtlas(named: "textures") 15 | 16 | func preloadAssets() { 17 | sprites.preload { 18 | #if DEBUG 19 | print("Sprites preloaded") 20 | #endif 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Flappy Bird/game/External Display/ControlCentre.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ControlCentre.swift 3 | // FlappyBird 4 | // 5 | // Created by Brandon Plank on 12/2/19. 6 | // Copyright (c) 2016 Brandon Plank. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | enum EventType { 12 | case touch(_ touch: UITouch?) 13 | case restart 14 | } 15 | 16 | protocol ControlCentreDelegate { 17 | func callback(_ event: EventType) 18 | } 19 | 20 | class ControlCentre { 21 | static var share = ControlCentre() 22 | private var delegates = NSHashTable.weakObjects() 23 | 24 | class func subscrpt(_ delegate: ControlCentreDelegate & AnyObject) { 25 | if share.delegates.contains(delegate) { return } 26 | share.delegates.add(delegate) 27 | } 28 | 29 | class func remove(_ delegate: ControlCentreDelegate & AnyObject) { 30 | share.delegates.remove(delegate) 31 | } 32 | 33 | class func trigger(_ event: EventType) { 34 | share.delegates.allObjects.forEach { ($0 as? ControlCentreDelegate)?.callback(event) } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Flappy Bird/game/External Display/SKButtonNode.swift: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Konrad Bajtyngier 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy 5 | * of this software and associated documentation files (the "Software"), to deal 6 | * in the Software without restriction, including without limitation the rights 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | * copies of the Software, and to permit persons to whom the Software is 9 | * furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | * THE SOFTWARE. 21 | */ 22 | 23 | import SpriteKit 24 | 25 | ///Corresponds to button's current control state. Very much like `UIControlState` in case of `UIButton`. 26 | public enum SKButtonNodeState { 27 | case normal 28 | case highlighted 29 | case disabled 30 | } 31 | 32 | ///Simple implementation of button for `SpriteKit`. Derives much of its concepts from `UIKit`'s `UIButton`. 33 | public class SKButtonNode: SKNode { 34 | 35 | //MARK: - Public 36 | 37 | public var action:(()->())? 38 | public var enabled:Bool { 39 | get { 40 | return state != .disabled 41 | } 42 | set { 43 | state = newValue ? .normal : .disabled 44 | } 45 | } 46 | 47 | //MARK: - Public properties derived from `SKSpriteNode` 48 | 49 | public var size:CGSize { 50 | get { 51 | return sprite.size 52 | } 53 | set { 54 | sprite.size = newValue 55 | } 56 | } 57 | 58 | public var texture:SKTexture? { 59 | get { 60 | return sprite.texture 61 | } 62 | set { 63 | sprite.texture = newValue 64 | } 65 | } 66 | 67 | public var anchorPoint:CGPoint { 68 | get { 69 | return sprite.anchorPoint 70 | } 71 | set { 72 | sprite.anchorPoint = newValue 73 | } 74 | } 75 | 76 | //MARK: - Private(set) 77 | 78 | private(set) var titleLabel:SKLabelNode? 79 | private(set) var state:SKButtonNodeState = .normal { 80 | didSet { 81 | if state != oldValue { 82 | updateState() 83 | } 84 | } 85 | } 86 | 87 | //MARK: - Computed properties 88 | 89 | public var title:String? { 90 | return titleLabel?.text 91 | } 92 | 93 | //MARK: - Private 94 | 95 | private var sprite:SKSpriteNode 96 | private var activated = false 97 | private var normalState:State 98 | private var highlightedState:State? 99 | private var disabledState:State? 100 | 101 | //MARK: - Initialization 102 | 103 | /** 104 | Creates a button with a texture generated from the specified image. 105 | - parameter imageNamed: Name of the image from assets catalog. 106 | - parameter title: Button's label text. 107 | - parameter action: Closure to be called as the button's action. 108 | */ 109 | convenience init(imageNamed:String, title:String? = nil, action:(()->())? = nil) { 110 | let texture = SKTexture(imageNamed: imageNamed) 111 | self.init(texture: texture, title: title, action: action) 112 | } 113 | 114 | /** 115 | Failing initializer that creates a button with a texture generated from the passed `SKShapeNode`. 116 | - parameter shape: The shape that will be used to generate a texture from. 117 | - parameter title: Button's `titleLabel` text. 118 | - parameter action: Closure to be called as the button's action. 119 | */ 120 | convenience init?(shape:SKShapeNode, title:String? = nil, action:(()->())? = nil) { 121 | guard let texture = SKView().texture(from: shape) else { return nil } 122 | self.init(texture: texture, title: title, action: action) 123 | } 124 | 125 | /** 126 | Creates a button with a passed texture. 127 | - parameter texture: Texture object, which will make up the button. 128 | - parameter title: Button's `titleLabel` text. 129 | - parameter action: Closure to be called as the button's action. 130 | */ 131 | init(texture:SKTexture, title:String? = nil, action:(()->())? = nil) { 132 | self.sprite = SKSpriteNode(texture: texture) 133 | self.action = action 134 | self.normalState = State(texture: texture) 135 | super.init() 136 | isUserInteractionEnabled = true 137 | addChild(sprite) 138 | setTitle(title) 139 | } 140 | 141 | required public init?(coder aDecoder: NSCoder) { 142 | fatalError("init(coder:) has not been implemented") 143 | } 144 | 145 | private func updateState() { 146 | //Determine current state of the button. 147 | var currentState:State 148 | switch self.state { 149 | case .highlighted: 150 | currentState = highlightedState ?? normalState 151 | case .disabled: 152 | currentState = disabledState ?? normalState 153 | default: 154 | currentState = normalState 155 | } 156 | //Update the button to match the current state. 157 | sprite.texture = currentState.texture 158 | titleLabel?.fontColor = currentState.fontColor 159 | alpha = currentState.alpha 160 | currentState.styling?() 161 | } 162 | 163 | //MARK: - Texture 164 | 165 | ///Takes the image name and created a texture to further update the specified state with. 166 | public func setImage(named:String, for state:SKButtonNodeState) { 167 | let texture = SKTexture(imageNamed: named) 168 | setTexture(texture, for: state) 169 | } 170 | 171 | ///Update the specified state with the specified texture. 172 | public func setTexture(_ texture:SKTexture, for state:SKButtonNodeState) { 173 | switch state { 174 | case .normal: 175 | normalState.texture = texture 176 | case .highlighted: 177 | if let _ = highlightedState { 178 | highlightedState!.texture = texture 179 | } else { 180 | highlightedState = State(texture: texture, fontColor: normalState.fontColor) 181 | } 182 | case .disabled: 183 | if let _ = disabledState { 184 | disabledState!.texture = texture 185 | } else { 186 | disabledState = State(texture: texture, fontColor: normalState.fontColor) 187 | } 188 | } 189 | updateState() 190 | } 191 | 192 | //MARK: - Title Text 193 | 194 | /** 195 | Update the button's titleLabel text. 196 | - parameter title: String, which the `titleLabel` text should be updated to. If the value is `nil`, the label node will be removed. 197 | */ 198 | public func setTitle(_ title:String?) { 199 | //If the title is empty, the label child is removed 200 | guard let title = title, title != "" else { 201 | titleLabel?.removeFromParent() 202 | titleLabel = nil 203 | return 204 | } 205 | //If the label child was previously created, update the text 206 | if let label = titleLabel { 207 | label.text = title 208 | } 209 | //If the title was previously empty, create a new label 210 | else { 211 | titleLabel = generateTitleLabel(text: title) 212 | addChild(titleLabel!) 213 | } 214 | } 215 | 216 | private func generateTitleLabel(text:String) -> SKLabelNode { 217 | let titleLabel = SKLabelNode(text: text) 218 | titleLabel.verticalAlignmentMode = .center 219 | titleLabel.zPosition = 1 220 | return titleLabel 221 | } 222 | 223 | //MARK: - State Styling 224 | 225 | ///Set button's `titleLabel` text color. 226 | public func setTitleColor(_ color:SKColor, for state:SKButtonNodeState) { 227 | switch state { 228 | case .normal: 229 | normalState.fontColor = color 230 | case .highlighted: 231 | if let _ = highlightedState { 232 | highlightedState!.fontColor = color 233 | } else { 234 | highlightedState = State(texture: normalState.texture, fontColor: color) 235 | } 236 | case .disabled: 237 | if let _ = disabledState { 238 | disabledState!.fontColor = color 239 | } else { 240 | disabledState = State(texture: normalState.texture, fontColor: color) 241 | } 242 | } 243 | updateState() 244 | } 245 | 246 | /** 247 | Set button's alpha value. 248 | - parameter alpha: Value from `0.0` to `1.0`. Default is `1.0`. 249 | */ 250 | public func setAlpha(_ alpha:CGFloat, for state:SKButtonNodeState) { 251 | switch state { 252 | case .normal: 253 | normalState.alpha = alpha 254 | case .highlighted: 255 | if let _ = highlightedState { 256 | highlightedState!.alpha = alpha 257 | } else { 258 | highlightedState = State(texture: normalState.texture, alpha: alpha) 259 | } 260 | case .disabled: 261 | if let _ = disabledState { 262 | disabledState!.alpha = alpha 263 | } else { 264 | disabledState = State(texture: normalState.texture, alpha: alpha) 265 | } 266 | } 267 | updateState() 268 | } 269 | 270 | /** 271 | Set a styling closure, which will be called on the button. 272 | This feature enables you to perform any custom alterations to the button. 273 | - parameter styling: Closure that performs any custom changes on the button for a given state. 274 | */ 275 | public func setStyling(_ forState:SKButtonNodeState, styling:(()->())?) { 276 | switch state { 277 | case .normal: 278 | normalState.styling = styling 279 | case .highlighted: 280 | if let _ = highlightedState { 281 | highlightedState!.styling = styling 282 | } else { 283 | highlightedState = State(texture: normalState.texture, styling: styling) 284 | } 285 | case .disabled: 286 | if let _ = disabledState { 287 | disabledState!.styling = styling 288 | } else { 289 | disabledState = State(texture: normalState.texture, styling: styling) 290 | } 291 | } 292 | updateState() 293 | } 294 | 295 | //MARK: - User Interaction Handling 296 | 297 | override public func touchesBegan(_ touches: Set, with event: UIEvent?) { 298 | guard let _ = touches.first, enabled else { return } 299 | state = .highlighted 300 | } 301 | 302 | override public func touchesMoved(_ touches: Set, with event: UIEvent?) { 303 | //This method will make sure that the use is still touching the area of the button 304 | guard let touch = touches.first, enabled else { return } 305 | let touchPoint = touch.location(in: self) 306 | let touchArea = CGRect(origin: CGPoint(x: -size.width/2, y: -size.height/2), size: size) 307 | if !touchArea.contains(touchPoint) { 308 | //User is out of the button area, so the button action should not be triggered 309 | state = .normal 310 | } 311 | } 312 | 313 | override public func touchesEnded(_ touches: Set, with event: UIEvent?) { 314 | guard let _ = touches.first else { return } 315 | runAction() 316 | } 317 | 318 | override public func touchesCancelled(_ touches: Set, with event: UIEvent?) { 319 | state = .normal 320 | } 321 | 322 | private func runAction() { 323 | if enabled && state == .highlighted { 324 | state = .normal 325 | action?() 326 | } 327 | } 328 | 329 | //MARK: - Button State 330 | 331 | ///State struct represents a certain state of a `SKButtonNode`. Each state can have its own `SKTexture` and font color. 332 | private struct State { 333 | 334 | var texture:SKTexture? 335 | var alpha:CGFloat = 1.0 336 | var fontColor:SKColor = SKColor.white 337 | var styling:(()->())? 338 | 339 | init(texture:SKTexture?, alpha:CGFloat = 1.0, styling:(()->())? = nil) { 340 | self.texture = texture 341 | self.alpha = alpha 342 | } 343 | 344 | init(texture:SKTexture?, fontColor:SKColor, alpha:CGFloat = 1.0, styling:(()->())? = nil) { 345 | self.init(texture: texture, alpha: alpha, styling: styling) 346 | self.fontColor = fontColor 347 | } 348 | 349 | } 350 | 351 | } 352 | -------------------------------------------------------------------------------- /Flappy Bird/game/External Display/ScreenMirror.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScreenMirror.swift 3 | // FlappyBird 4 | // 5 | // Created by Brandon Plank on 12/2/19. 6 | // Copyright (c) 2016 Brandon Plank. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ScreenMirror: NSObject { 12 | static let share = ScreenMirror() 13 | private var externalWindow: UIWindow? 14 | 15 | func start() { 16 | NotificationCenter.default.addObserver(self, selector: #selector(didConnectNotification(_:)), name: UIScreen.didConnectNotification, object: nil) 17 | NotificationCenter.default.addObserver(self, selector: #selector(didDisconnectNotification(_:)), name: UIScreen.didDisconnectNotification, object: nil) 18 | } 19 | 20 | func end() { 21 | NotificationCenter.default.removeObserver(self) 22 | } 23 | 24 | @objc func didConnectNotification(_ noti: Notification) { 25 | guard let newScreen = noti.object as? UIScreen else { return } 26 | externalWindow = UIWindow().then { 27 | $0.frame = newScreen.bounds 28 | $0.rootViewController = GameViewController() 29 | $0.screen = newScreen 30 | $0.isHidden = false 31 | } 32 | (UIApplication.shared.delegate as? AppDelegate)?.window?.rootViewController = TapViewController() 33 | } 34 | 35 | @objc func didDisconnectNotification(_ noti: Notification) { 36 | externalWindow?.isHidden = true 37 | externalWindow = nil 38 | (UIApplication.shared.delegate as? AppDelegate)?.window?.rootViewController = GameViewController() 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Flappy Bird/game/External Display/TapViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TapViewController.swift 3 | // FlappyBird 4 | // 5 | // Created by Brandon Plank on 12/2/19. 6 | // Copyright (c) 2016 Brandon Plank. All rights reserved. 7 | // 8 | import UIKit 9 | 10 | class TapViewController: UIViewController { 11 | override func viewDidLoad() { 12 | super.viewDidLoad() 13 | view.backgroundColor = UIColor(white: 0.9, alpha: 1) 14 | let restartBtn = UIButton(type: .roundedRect).then { 15 | $0.translatesAutoresizingMaskIntoConstraints = false 16 | $0.addTarget(self, action: #selector(restart), for: .touchUpInside) 17 | $0.setTitle("Restart", for: .normal) 18 | view.addSubview($0) 19 | } 20 | NSLayoutConstraint.activate([ 21 | restartBtn.centerXAnchor.constraint(equalTo: view.centerXAnchor), 22 | restartBtn.topAnchor.constraint(equalTo: view.topAnchor, constant: 80), 23 | ]) 24 | } 25 | 26 | override func touchesBegan(_ touches: Set, with event: UIEvent?) { 27 | super.touchesBegan(touches, with: event) 28 | guard let touch = touches.first else { return } 29 | ControlCentre.trigger(.touch(touch)) 30 | 31 | let dot = UIView().then { 32 | $0.isUserInteractionEnabled = false 33 | $0.backgroundColor = .lightGray 34 | $0.frame = CGRect(x: 0, y: 0, width: 40, height: 40) 35 | $0.layer.cornerRadius = 20 36 | $0.layer.masksToBounds = true 37 | $0.center = touch.location(in: view) 38 | } 39 | view.addSubview(dot) 40 | UIView.animate(withDuration: 0.6, animations: { 41 | dot.alpha = 0 42 | dot.transform = CGAffineTransform(scaleX: 5, y: 5) 43 | }) { finished in 44 | dot.removeFromSuperview() 45 | } 46 | } 47 | 48 | @objc func restart() { 49 | ControlCentre.trigger(.restart) 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Flappy Bird/game/GameScene.sks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/game/GameScene.sks -------------------------------------------------------------------------------- /Flappy Bird/game/Reachability.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Reachability.swift 3 | // Flappy Bird 4 | // 5 | // Created by Thatcher Clough on 5/14/20. 6 | // Copyright © 2020 Brandon Plank & Thatcher Clough. All rights reserved. 7 | // 8 | import SystemConfiguration 9 | 10 | public class Reachability { 11 | 12 | class func isConnectedToNetwork() -> Bool { 13 | 14 | var zeroAddress = sockaddr_in(sin_len: 0, sin_family: 0, sin_port: 0, sin_addr: in_addr(s_addr: 0), sin_zero: (0, 0, 0, 0, 0, 0, 0, 0)) 15 | zeroAddress.sin_len = UInt8(MemoryLayout.size(ofValue: zeroAddress)) 16 | zeroAddress.sin_family = sa_family_t(AF_INET) 17 | 18 | let defaultRouteReachability = withUnsafePointer(to: &zeroAddress) { 19 | $0.withMemoryRebound(to: sockaddr.self, capacity: 1) {zeroSockAddress in 20 | SCNetworkReachabilityCreateWithAddress(nil, zeroSockAddress) 21 | } 22 | } 23 | 24 | var flags: SCNetworkReachabilityFlags = SCNetworkReachabilityFlags(rawValue: 0) 25 | if SCNetworkReachabilityGetFlags(defaultRouteReachability!, &flags) == false { 26 | return false 27 | } 28 | 29 | let isReachable = (flags.rawValue & UInt32(kSCNetworkFlagsReachable)) != 0 30 | let needsConnection = (flags.rawValue & UInt32(kSCNetworkFlagsConnectionRequired)) != 0 31 | let ret = (isReachable && !needsConnection) 32 | 33 | return ret 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Flappy Bird/game/ResultBoard.swift: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // ResultBoard.swift 4 | // FlappyBird 5 | // 6 | // Created by Brandon Plank on 12/2/19. 7 | // Modified by ThathcerDev on 3/22/20. 8 | // Copyright (c) 2016 Brandon Plank. All rights reserved. 9 | // 10 | import SpriteKit 11 | import Network 12 | 13 | public class ResultBoard: SKSpriteNode { 14 | 15 | override init(texture: SKTexture?, color: UIColor, size: CGSize) { 16 | super.init(texture: texture, color: color, size: size) 17 | } 18 | 19 | required init?(coder aDecoder: NSCoder) { 20 | fatalError("init(coder:) has not been implemented") 21 | } 22 | 23 | convenience init(score: Int) { 24 | let image = Assets.shared.sprites.textureNamed("scoreboard").then { $0.filteringMode = .nearest } 25 | self.init(texture: image, color: UIColor.clear, size: image.size()) 26 | 27 | bestScore.text = "\(ResultBoard.bestScore())" 28 | bestScoreInside.text = "\(ResultBoard.bestScore())" 29 | currentScore.text = "0" 30 | currentScoreInside.text = "0" 31 | 32 | addChild(new) 33 | new.setScale(0) 34 | addChild(sparkle) 35 | addChild(currentScore) 36 | addChild(bestScore) 37 | addChild(currentScoreInside) 38 | addChild(bestScoreInside) 39 | addChild(medal) 40 | self.score = score 41 | } 42 | 43 | private lazy var currentScore = SKLabelNode(fontNamed: "04b_19").then { 44 | $0.zPosition = GamezPosition.resultText + 1 45 | $0.fontSize = 16 46 | $0.fontColor = SKColor.black 47 | $0.position = CGPoint(x: frame.midX + 75, y: frame.midY + 7) 48 | } 49 | 50 | private lazy var currentScoreInside = SKLabelNode(fontNamed: "inside").then { 51 | $0.zPosition = GamezPosition.resultText 52 | $0.fontSize = 16 53 | $0.fontColor = SKColor.white 54 | $0.position = CGPoint(x: frame.midX + 75 - 0.49, y: frame.midY + 7) 55 | } 56 | 57 | private lazy var bestScore = SKLabelNode(fontNamed: "04b_19").then { 58 | $0.zPosition = GamezPosition.resultText + 1 59 | $0.fontSize = 16 60 | $0.fontColor = SKColor.black 61 | $0.position = CGPoint(x: frame.midX + 75, y: frame.midY - 35) 62 | } 63 | 64 | private lazy var bestScoreInside = SKLabelNode(fontNamed: "inside").then { 65 | $0.zPosition = GamezPosition.resultText 66 | $0.fontSize = 16 67 | $0.fontColor = SKColor.white 68 | $0.position = CGPoint(x: frame.midX + 75 - 0.49, y: frame.midY - 35) 69 | } 70 | 71 | private lazy var medal = SKSpriteNode().then { 72 | $0.zPosition = GamezPosition.resultText 73 | $0.position = CGPoint(x: frame.midX - 64, y: frame.midY - 6) 74 | } 75 | 76 | private lazy var new = SKSpriteNode(texture: Assets.shared.sprites.textureNamed("new")).then { 77 | $0.zPosition = GamezPosition.resultText 78 | $0.position = CGPoint(x: frame.midX + 35, y: frame.midY - 6) 79 | $0.setScale(0) 80 | } 81 | 82 | private lazy var sparkle = SKSpriteNode(texture: Assets.shared.sprites.textureNamed("sparkle")).then { 83 | $0.setScale(0) 84 | $0.zPosition = GamezPosition.resultText+1 85 | } 86 | 87 | private let sparkleAction = SKAction.repeatForever(SKAction.sequence([ 88 | SKAction.customAction(withDuration: 0.0) { (node, _) in 89 | let newX = CGFloat(Float.random(in: -88...(-40))) 90 | let newY = CGFloat(Float.random(in: -26...15)) 91 | node.run(SKAction.move(to: CGPoint(x: newX, y: newY), duration: 0.0)) 92 | }, 93 | SKAction.scale(to: 0.7, duration: 0.3), 94 | SKAction.wait(forDuration: 0.5), 95 | SKAction.scale(to: 0.0, duration: 0.3) 96 | ])) 97 | 98 | var score: Int = 0 { 99 | didSet { 100 | #if DEBUG 101 | print(timeTook) 102 | #endif 103 | if canShowScore { 104 | 105 | DispatchQueue.global().async { 106 | let previousHighScore = ResultBoard.bestScore() 107 | if(self.score > ResultBoard.bestScore()){ 108 | ResultBoard.setBestScore(self.score) 109 | } 110 | 111 | self.currentScore.text = "0" 112 | self.currentScoreInside.text = "0" 113 | self.new.setScale(0) 114 | 115 | for i in 0 ... (self.score) { 116 | if (self.score > 0) && (i != 0) { 117 | usleep(UInt32(1.5/Double(self.score) * 1000000.0)) 118 | } 119 | self.currentScore.text = "\(i)" 120 | self.currentScoreInside.text = "\(i)" 121 | if (i) > previousHighScore { 122 | self.bestScore.text = "\(i)" 123 | self.bestScoreInside.text = "\(i)" 124 | if (i == self.score) { 125 | self.new.run(SKAction.sequence([ 126 | SKAction.scale(to: 0.7, duration: 0.05), 127 | SKAction.scale(to: 1.0, duration: 0.05) 128 | ])) 129 | } 130 | } 131 | } 132 | } 133 | } 134 | 135 | if canShowScore { 136 | let medalTexture = score == 0 ? SKTexture() : (score < (ResultBoard.bestScore() / 2) ? (Assets.shared.sprites.textureNamed("copper-medal")) : (score < ResultBoard.bestScore() ?(SKTexture(imageNamed: "silver-medal")) : (score < (ResultBoard.bestScore() * 2) ? (Assets.shared.sprites.textureNamed("gold-medal")) : (Assets.shared.sprites.textureNamed("platinum-medal"))))) 137 | medal.run(SKAction.setTexture(medalTexture, resize: true)) 138 | 139 | sparkle.setScale(0) 140 | sparkle.removeAllActions() 141 | if(score > 0){ 142 | sparkle.run(sparkleAction) 143 | } 144 | } 145 | } 146 | } 147 | } 148 | 149 | public extension ResultBoard { 150 | class func bestScore() -> Int { 151 | return UserDefaults.standard.integer(forKey: "bestScore") 152 | } 153 | 154 | class func setBestScore(_ score: Int) { 155 | UserDefaults.standard.set(score, forKey: "bestScore") 156 | UserDefaults.standard.synchronize() 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /Flappy Bird/game/SettingsPanel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SettingsPanel.swift 3 | // FlappyBird 4 | // 5 | // Created by Thatcher Clough on 3/30/20. 6 | // Copyright © 2020 Brandon Plank. All rights reserved. 7 | // 8 | import Foundation 9 | import SpriteKit 10 | 11 | struct SettingsPositions { 12 | static let toggleOnX: CGFloat = 68 13 | static let toggleOffX: CGFloat = 46 14 | 15 | static let soundToggleY: CGFloat = 60 16 | static let newBirdsToggleY: CGFloat = 24 17 | static let hapticsToggleY: CGFloat = -12 18 | static let adaptiveBackgroundToggleY: CGFloat = -56 19 | 20 | static let backButtonX: CGFloat = -92 21 | static let backButtonY: CGFloat = 85 22 | } 23 | 24 | class SettingsPanel: SKSpriteNode { 25 | 26 | convenience init() { 27 | self.init(texture: SKTexture(imageNamed: "settings-panel").then { $0.filteringMode = .nearest }) 28 | addChild(backButton) 29 | addChild(backButtonTouchBox) 30 | 31 | addChild(versionLabel) 32 | 33 | addChild(soundToggle) 34 | addChild(soundButton) 35 | 36 | addChild(newBirdsToggle) 37 | addChild(newBirdsButton) 38 | 39 | addChild(hapticsToggle) 40 | addChild(hapticsButton) 41 | 42 | addChild(adaptiveBackgroundToggle) 43 | addChild(adaptiveBackgroundButton) 44 | } 45 | 46 | lazy var versionLabel = MKOutlinedLabelNode(fontNamed: "KongtextRegular", fontSize: 12).then { 47 | $0.name = "versionLabel" 48 | $0.position = CGPoint(x: SettingsPositions.toggleOffX + (SettingsPositions.toggleOnX - SettingsPositions.toggleOffX) / 2, y: SettingsPositions.soundToggleY + 20) 49 | $0.zPosition = 3 50 | $0.fontColor = UIColor.white 51 | $0.borderColor = UIColor.black 52 | $0.borderWidth = 1 53 | $0.borderOffset = CGPoint(x: 0, y: 0) 54 | $0.outlinedText = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String 55 | } 56 | 57 | lazy var backButton = SKSpriteNode(texture: SKTexture(imageNamed: "back-button").then { $0.filteringMode = .nearest }).then { 58 | $0.position = CGPoint(x: SettingsPositions.backButtonX, y: SettingsPositions.backButtonY) 59 | $0.zPosition = 1 60 | } 61 | 62 | lazy var backButtonTouchBox = SKSpriteNode().then { 63 | $0.name = "settingsBack" 64 | $0.zPosition = 2 65 | $0.position = CGPoint(x: SettingsPositions.backButtonX, y: SettingsPositions.backButtonY) 66 | $0.color = UIColor.clear 67 | $0.size = CGSize(width: 30, height: 30) 68 | } 69 | 70 | lazy var soundToggle = SKSpriteNode(texture: SKTexture(imageNamed: "toggle").then { $0.filteringMode = .nearest }).then { 71 | $0.position = CGPoint(x: SettingsPositions.toggleOnX, y: SettingsPositions.soundToggleY) 72 | $0.zPosition = 2 73 | } 74 | 75 | lazy var soundButton = SKSpriteNode().then { 76 | $0.name = "toggleSounds" 77 | $0.position = CGPoint(x: SettingsPositions.toggleOffX + (SettingsPositions.toggleOnX - SettingsPositions.toggleOffX) / 2, y: SettingsPositions.soundToggleY) 78 | $0.zPosition = 3 79 | $0.color = UIColor.clear 80 | $0.size = CGSize(width: 45, height: 25) 81 | } 82 | 83 | lazy var newBirdsToggle = SKSpriteNode(texture: SKTexture(imageNamed: "toggle").then { $0.filteringMode = .nearest }).then { 84 | $0.position = CGPoint(x: SettingsPositions.toggleOnX, y: SettingsPositions.newBirdsToggleY) 85 | $0.zPosition = 2 86 | } 87 | 88 | lazy var newBirdsButton = SKSpriteNode().then { 89 | $0.name = "toggleNewBirds" 90 | $0.position = CGPoint(x: SettingsPositions.toggleOffX + (SettingsPositions.toggleOnX - SettingsPositions.toggleOffX) / 2, y: SettingsPositions.newBirdsToggleY) 91 | $0.zPosition = 3 92 | $0.color = UIColor.clear 93 | $0.size = CGSize(width: 45, height: 25) 94 | } 95 | 96 | lazy var hapticsToggle = SKSpriteNode(texture: SKTexture(imageNamed: "toggle").then { $0.filteringMode = .nearest }).then { 97 | $0.position = CGPoint(x: SettingsPositions.toggleOnX, y: SettingsPositions.hapticsToggleY) 98 | $0.zPosition = 2 99 | } 100 | 101 | lazy var hapticsButton = SKSpriteNode().then { 102 | $0.name = "toggleHaptics" 103 | $0.position = CGPoint(x: SettingsPositions.toggleOffX + (SettingsPositions.toggleOnX - SettingsPositions.toggleOffX) / 2, y: SettingsPositions.hapticsToggleY) 104 | $0.zPosition = 3 105 | $0.color = UIColor.clear 106 | $0.size = CGSize(width: 45, height: 25) 107 | } 108 | 109 | lazy var adaptiveBackgroundToggle = SKSpriteNode(texture: SKTexture(imageNamed: "toggle").then { $0.filteringMode = .nearest }).then { 110 | $0.position = CGPoint(x: SettingsPositions.toggleOnX, y: SettingsPositions.adaptiveBackgroundToggleY) 111 | $0.zPosition = 2 112 | } 113 | 114 | lazy var adaptiveBackgroundButton = SKSpriteNode().then { 115 | $0.name = "toggleAdaptiveBackground" 116 | $0.position = CGPoint(x: SettingsPositions.toggleOffX + (SettingsPositions.toggleOnX - SettingsPositions.toggleOffX) / 2, y: SettingsPositions.adaptiveBackgroundToggleY) 117 | $0.zPosition = 3 118 | $0.color = UIColor.clear 119 | $0.size = CGSize(width: 45, height: 25) 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /Flappy Bird/sounds/sfx_die.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/sounds/sfx_die.caf -------------------------------------------------------------------------------- /Flappy Bird/sounds/sfx_hit.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/sounds/sfx_hit.caf -------------------------------------------------------------------------------- /Flappy Bird/sounds/sfx_point.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/sounds/sfx_point.wav -------------------------------------------------------------------------------- /Flappy Bird/sounds/sfx_swooshing.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/sounds/sfx_swooshing.caf -------------------------------------------------------------------------------- /Flappy Bird/sounds/sfx_wing.caf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/Flappy Bird/sounds/sfx_wing.caf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License - Edited 2 | 3 | Copyright (c) 2019 - 2021 Brandon Plank, ThatcherDev 4 | 5 | We do not own most of the Flappy Bird assets, or the Flappy Bird name, some of the assets 6 | were extracted straight from the game. They are the work and copyright of original 7 | creator Dong Nguyen and .GEARS games (http://www.dotgears.com/). 8 | 9 | I took this Tweet (https://twitter.com/dongatory/status/431060041009856512 / 10 | http://i.imgur.com/AcyWyqf.png) by Dong Nguyen, the creator of the game, as an open 11 | invitation to reuse the game concept and assets in an open source project. 12 | There is no intention to steal the game, or claim the Flappy Bird name as my own. 13 | 14 | If the copyright holder would like for the assets to be removed, please open an 15 | issue to start the conversation. 16 | 17 | Permission is hereby granted, free of charge, to any person obtaining a copy 18 | of this software and associated documentation files (the "Software"), to deal 19 | in the Software without restriction, including without limitation the rights 20 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 21 | copies of the Software, and to permit persons to whom the Software is 22 | furnished to do so, subject to the following conditions: 23 | 24 | The above copyright notice and this permission notice shall be included in all 25 | copies or substantial portions of the Software. 26 | 27 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 28 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 29 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 30 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 31 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 32 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 33 | SOFTWARE. 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FlappyBird 2 | ## NOTICE 3 | > *AS OF 08/10/2024, this repository will replaced by [https://github.com/freehelpdesk/flappybird](https://github.com/freehelpdesk/flappybird), Please go there for the new cross-platform version of this clone. Thanks.* 4 | 5 | This is an extremely close clone to the original FlappyBird by Dong Nguyen. 6 | 7 | ## Demo 8 | 9 | 10 | ## Compatibility 11 | FlappyBird is compatible with the iPhone 6s and above on iOS 13 and later. 12 | Compatible with watchOS 6.0 and above. 13 | 14 | ## Installation 15 | The '.ipa' and '.dmg' for FlappyBird can be found on the [release page](https://github.com/crypticplank/flappybird/releases). 16 | 17 | ## License 18 | - [MIT](https://choosealicense.com/licenses/mit/) 19 | - Copyright (c) 2019 - 2022 Brandon Plank, ThatcherDev (The FlappyBird Revision Team) 20 | 21 | ## Notice 22 | We do not own most of the Flappy Bird assets, or the Flappy Bird name, some of the assets 23 | were extracted straight from the game. They are the work and copyright of original 24 | creator Dong Nguyen and .GEARS games (http://www.dotgears.com/). 25 | 26 | I took this Tweet (https://twitter.com/dongatory/status/431060041009856512 / 27 | http://i.imgur.com/AcyWyqf.png) by Dong Nguyen, the creator of the game, as an open 28 | invitation to reuse the game concept and assets in an open source project. 29 | There is no intention to steal the game, or claim the Flappy Bird name as my own. 30 | 31 | If the copyright holder would like for the assets to be removed, please open an 32 | issue to start the conversation. 33 | -------------------------------------------------------------------------------- /demo/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandonplank/flappybird/e3ccde1f1491459b4bc0f301a8504ab49f0ed174/demo/demo.gif --------------------------------------------------------------------------------