Skip to content

Commit 9cc7f04

Browse files
RyanRyan Soanes
Ryan
authored and
Ryan Soanes
committed
Revised credits view
1 parent 4f13777 commit 9cc7f04

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

Mobile Computing Project.xcodeproj/project.pbxproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@
104104
94BF20B921DFC1C900696638 /* Sounds */ = {
105105
isa = PBXGroup;
106106
children = (
107+
94BF20BF21DFC1D600696638 /* menuMusic.wav */,
107108
94BF20BC21DFC1D600696638 /* coinNoise.wav */,
108109
94BF20BD21DFC1D600696638 /* crowSound.wav */,
109110
94BF20BA21DFC1D600696638 /* gameOverMusic.wav */,
110111
94BF20C621E0DFDD00696638 /* startButtonNoise.wav */,
111112
94BF20BE21DFC1D600696638 /* gameplayMusic.wav */,
112-
94BF20BF21DFC1D600696638 /* menuMusic.wav */,
113113
);
114114
path = Sounds;
115115
sourceTree = "<group>";
@@ -222,6 +222,7 @@
222222
isa = XCBuildConfiguration;
223223
buildSettings = {
224224
ALWAYS_SEARCH_USER_PATHS = NO;
225+
ASSETCATALOG_COMPILER_APPICON_NAME = "";
225226
CLANG_ANALYZER_NONNULL = YES;
226227
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
227228
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
@@ -283,6 +284,7 @@
283284
isa = XCBuildConfiguration;
284285
buildSettings = {
285286
ALWAYS_SEARCH_USER_PATHS = NO;
287+
ASSETCATALOG_COMPILER_APPICON_NAME = "";
286288
CLANG_ANALYZER_NONNULL = YES;
287289
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
288290
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";

Mobile Computing Project.xcodeproj/xcuserdata/ryan.xcuserdatad/xcschemes/xcschememanagement.plist

+8
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,13 @@
1010
<integer>0</integer>
1111
</dict>
1212
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>946242472195E5550011450E</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
1321
</dict>
1422
</plist>
Loading

Mobile Computing Project/Base.lproj/LaunchScreen.storyboard

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<subviews>
2121
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="loadingImg" translatesAutoresizingMaskIntoConstraints="NO" id="GnA-Xz-U8q">
2222
<rect key="frame" x="0.0" y="0.0" width="667" height="375"/>
23+
<constraints>
24+
<constraint firstAttribute="width" secondItem="GnA-Xz-U8q" secondAttribute="height" multiplier="667:375" id="v1c-hQ-Yk7"/>
25+
</constraints>
2326
</imageView>
2427
</subviews>
2528
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

Mobile Computing Project/GameScene.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import GameplayKit
1212

1313
class GameScene: SKScene, SKPhysicsContactDelegate {
1414

15-
let player = SKSpriteNode(imageNamed: "plane1")
16-
let background = SKSpriteNode(imageNamed: "road1")
15+
let player = SKSpriteNode(imageNamed: "phoenix1")
1716
let playerCategory: UInt32 = 0x00000001 << 0
1817
let enemyCategory: UInt32 = 0x00000001 << 1
1918
let coinCategory: UInt32 = 0x00000001 << 2

Mobile Computing Project/StartScene.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ import SpriteKit
1010

1111
class StartScene: SKScene {
1212

13-
var gameScene:SKScene!
14-
let backgroundSound = SKAudioNode(fileNamed: "menuMusic.wav")
1513
let pressPlaySound = SKAction.playSoundFileNamed("startButtonNoise", waitForCompletion: false)
1614
let spark = SKSpriteNode(imageNamed: "tmp-0")
1715
let touchScreen = SKSpriteNode()
16+
let backgroundSound = SKAudioNode(fileNamed: "menuMusic.wav")
17+
var gameScene:SKScene!
1818

1919
override func didMove(to view: SKView) {
20-
self.addChild(backgroundSound)
2120
sparkBackground()
2221
setupTitle()
2322
setupText()
2423
setupTouchScreen()
24+
self.addChild(backgroundSound)
2525
}
2626

2727
func setupText() {

0 commit comments

Comments
 (0)