Skip to content

Commit c6aff82

Browse files
author
Louise P
committed
[Update]: Little change for v1.0.1
1 parent 8bbbd94 commit c6aff82

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Meep/Meep.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@
371371
CODE_SIGN_IDENTITY = "-";
372372
CODE_SIGN_STYLE = Automatic;
373373
COMBINE_HIDPI_IMAGES = YES;
374+
CURRENT_PROJECT_VERSION = 1.0.1;
374375
DEVELOPMENT_ASSET_PATHS = "\"Meep/Preview Content\"";
375376
DEVELOPMENT_TEAM = EV49Z586CH;
376377
ENABLE_HARDENED_RUNTIME = YES;
@@ -381,6 +382,7 @@
381382
"@executable_path/../Frameworks",
382383
);
383384
MACOSX_DEPLOYMENT_TARGET = 11.0;
385+
MARKETING_VERSION = 1.0.1;
384386
PRODUCT_BUNDLE_IDENTIFIER = louise.tech.Meep;
385387
PRODUCT_NAME = "$(TARGET_NAME)";
386388
SWIFT_VERSION = 5.0;
@@ -395,6 +397,7 @@
395397
CODE_SIGN_IDENTITY = "-";
396398
CODE_SIGN_STYLE = Automatic;
397399
COMBINE_HIDPI_IMAGES = YES;
400+
CURRENT_PROJECT_VERSION = 1.0.1;
398401
DEVELOPMENT_ASSET_PATHS = "\"Meep/Preview Content\"";
399402
DEVELOPMENT_TEAM = EV49Z586CH;
400403
ENABLE_HARDENED_RUNTIME = YES;
@@ -405,6 +408,7 @@
405408
"@executable_path/../Frameworks",
406409
);
407410
MACOSX_DEPLOYMENT_TARGET = 11.0;
411+
MARKETING_VERSION = 1.0.1;
408412
PRODUCT_BUNDLE_IDENTIFIER = louise.tech.Meep;
409413
PRODUCT_NAME = "$(TARGET_NAME)";
410414
SWIFT_VERSION = 5.0;

Meep/Meep/GameInterface/SpriteKitInterface.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct SpriteKitInterface: NSViewRepresentable {
1717

1818
init(scene: SKScene) {
1919
skScene = scene
20-
self.skScene.scaleMode = .resizeFill
20+
self.skScene.scaleMode = .aspectFill
2121
}
2222

2323
class Coordinator: NSObject {
@@ -32,9 +32,9 @@ struct SpriteKitInterface: NSViewRepresentable {
3232

3333
func makeNSView(context: Context) -> SKView {
3434
let view = SKView(frame: .zero)
35-
view.preferredFramesPerSecond = 60
36-
view.showsFPS = true
37-
view.showsNodeCount = true
35+
view.preferredFramesPerSecond = 128
36+
view.showsFPS = false
37+
view.showsNodeCount = false
3838

3939
return view
4040
}

Meep/Meep/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.adventure-games</string>
2525
<key>LSMinimumSystemVersion</key>

Meep/Meep/SpriteKitScenes/ReverseWorld.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public class ReverseWorld: SKScene, SKPhysicsContactDelegate {
254254

255255

256256
public override func update(_ currentTime: TimeInterval) {
257-
self.scrollBackground()
257+
// self.scrollBackground()
258258
player.physicsBody?.velocity.dx = 0
259259
if player.position.x > -1536 && player.position.x < cameraNode.position.x && cameraMove == true {
260260
cameraNode.position = .init(x: player.position.x, y: 0)

0 commit comments

Comments
 (0)