File tree 6 files changed +18
-6
lines changed
Assets.xcassets/creditsPic.imageset
Mobile Computing Project.xcodeproj
xcuserdata/ryan.xcuserdatad/xcschemes
6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 104
104
94BF20B921DFC1C900696638 /* Sounds */ = {
105
105
isa = PBXGroup;
106
106
children = (
107
+ 94BF20BF21DFC1D600696638 /* menuMusic.wav */,
107
108
94BF20BC21DFC1D600696638 /* coinNoise.wav */,
108
109
94BF20BD21DFC1D600696638 /* crowSound.wav */,
109
110
94BF20BA21DFC1D600696638 /* gameOverMusic.wav */,
110
111
94BF20C621E0DFDD00696638 /* startButtonNoise.wav */,
111
112
94BF20BE21DFC1D600696638 /* gameplayMusic.wav */,
112
- 94BF20BF21DFC1D600696638 /* menuMusic.wav */,
113
113
);
114
114
path = Sounds;
115
115
sourceTree = "<group>";
222
222
isa = XCBuildConfiguration;
223
223
buildSettings = {
224
224
ALWAYS_SEARCH_USER_PATHS = NO;
225
+ ASSETCATALOG_COMPILER_APPICON_NAME = "";
225
226
CLANG_ANALYZER_NONNULL = YES;
226
227
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
227
228
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
283
284
isa = XCBuildConfiguration;
284
285
buildSettings = {
285
286
ALWAYS_SEARCH_USER_PATHS = NO;
287
+ ASSETCATALOG_COMPILER_APPICON_NAME = "";
286
288
CLANG_ANALYZER_NONNULL = YES;
287
289
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
288
290
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
Original file line number Diff line number Diff line change 10
10
<integer >0 </integer >
11
11
</dict >
12
12
</dict >
13
+ <key >SuppressBuildableAutocreation </key >
14
+ <dict >
15
+ <key >946242472195E5550011450E </key >
16
+ <dict >
17
+ <key >primary </key >
18
+ <true />
19
+ </dict >
20
+ </dict >
13
21
</dict >
14
22
</plist >
Original file line number Diff line number Diff line change 20
20
<subviews >
21
21
<imageView userInteractionEnabled =" NO" contentMode =" scaleToFill" horizontalHuggingPriority =" 251" verticalHuggingPriority =" 251" image =" loadingImg" translatesAutoresizingMaskIntoConstraints =" NO" id =" GnA-Xz-U8q" >
22
22
<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 >
23
26
</imageView >
24
27
</subviews >
25
28
<color key =" backgroundColor" red =" 1" green =" 1" blue =" 1" alpha =" 1" colorSpace =" custom" customColorSpace =" sRGB" />
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ import GameplayKit
12
12
13
13
class GameScene : SKScene , SKPhysicsContactDelegate {
14
14
15
- let player = SKSpriteNode ( imageNamed: " plane1 " )
16
- let background = SKSpriteNode ( imageNamed: " road1 " )
15
+ let player = SKSpriteNode ( imageNamed: " phoenix1 " )
17
16
let playerCategory : UInt32 = 0x00000001 << 0
18
17
let enemyCategory : UInt32 = 0x00000001 << 1
19
18
let coinCategory : UInt32 = 0x00000001 << 2
Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ import SpriteKit
10
10
11
11
class StartScene : SKScene {
12
12
13
- var gameScene : SKScene !
14
- let backgroundSound = SKAudioNode ( fileNamed: " menuMusic.wav " )
15
13
let pressPlaySound = SKAction . playSoundFileNamed ( " startButtonNoise " , waitForCompletion: false )
16
14
let spark = SKSpriteNode ( imageNamed: " tmp-0 " )
17
15
let touchScreen = SKSpriteNode ( )
16
+ let backgroundSound = SKAudioNode ( fileNamed: " menuMusic.wav " )
17
+ var gameScene : SKScene !
18
18
19
19
override func didMove( to view: SKView ) {
20
- self . addChild ( backgroundSound)
21
20
sparkBackground ( )
22
21
setupTitle ( )
23
22
setupText ( )
24
23
setupTouchScreen ( )
24
+ self . addChild ( backgroundSound)
25
25
}
26
26
27
27
func setupText( ) {
You can’t perform that action at this time.
0 commit comments