Skip to content

Commit 6fa44de

Browse files
committed
addded some markup stuff
1 parent a70ed29 commit 6fa44de

File tree

5 files changed

+16
-19
lines changed

5 files changed

+16
-19
lines changed
0 Bytes
Binary file not shown.

WWDC 2018 Debug Xcode Project/WWDC SUBMISSION 2018.playground/Contents.swift

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
import PlaygroundSupport
22
import SpriteKit
33
import Cocoa
4-
4+
/*:
5+
# *Game Name*
6+
You are on a mission to save the galaxy, but there's only one problem...
7+
**your ship got off course and you're headed full speed for disaster!**
8+
9+
## How to Play
10+
There will be enemies coming towards you. Shoot them to hear a note. If done correctly, you'll hear a catchy tune. But be careful! If you let one pass by or get hit by one, you'll lose a life.
11+
12+
The goal of the game is to survive all 4 levels. Complete them all to win!
13+
14+
Move your mouse left/right to drive the ship, and click to shoot.
15+
16+
**Have Fun!** 👍
17+
*/
518
let scene = GameScene(fileNamed: "GameScene")
619

720
let frame = CGRect(x: 0, y: 0, width: 700, height: 1000)

WWDC 2018 Debug Xcode Project/WWDC SUBMISSION 2018.playground/Sources/GameScene.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public class GameScene: SKScene, SKPhysicsContactDelegate {
173173
bottomDetector.physicsBody!.categoryBitMask = PhysicsCategory.Bottom
174174
bottomDetector.physicsBody!.contactTestBitMask = PhysicsCategory.Note
175175
bottomDetector.physicsBody!.affectedByGravity = false
176-
177176
}
178177

179178
//resets the game if you die
@@ -190,7 +189,7 @@ public class GameScene: SKScene, SKPhysicsContactDelegate {
190189
deathLabel2.removeFromParent()
191190
finalScoreLabel.removeFromParent()
192191

193-
//set the noeds back to thier starting posistions
192+
//set the nodes back to thier starting posistions
194193
assignNodeProperties()
195194
//play intro
196195
intro()

WWDC 2018 Debug Xcode Project/WWDC SUBMISSION 2018.playground/Sources/Intro View.swift

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<playground version='5.0' target-platform='macos' executeOnSourceChanges='false'>
2+
<playground version='5.0' target-platform='macos' display-mode='rendered' executeOnSourceChanges='false'>
33
<timeline fileName='timeline.xctimeline'/>
44
</playground>

0 commit comments

Comments
 (0)