Loading...

Part 1 - Solo Mission (Space Invaders) - Make A Full iPhone Game In Xcode

91,199 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 23, 2016

Part 1 in the series where you will learn how to make the full iPhone game: Solo Mission, a Space Invaders type game. In this video, we will make a ship that will fire bullets in space.

If sound effect isn't playing in Xcode 9:
To fix this, click on your project name in the top left of the screen to go to the home area of Xcode. In the tabs, go to 'build phases'. Open, 'copy bundle resources'. Make sure the sound file is on this list. if it isn't, the sound won't play, so click the plus and add the sound file to the list. Xcode used to add the file to this list, but now it isn't doing it automatically, causing this error. Hope this helps!

*Changes in Swift 3.0!*

There have been a few changes in the new version of Xcode. The main change in this series is when setting up the scene size to make the game work on set size. There is now some more code in the gameViewController, but only change the line I change in the video still. Your gameViewController will now look this:

override func viewDidLoad() {




super.viewDidLoad() if let view = self.view as! SKView? { // Load the SKScene from 'GameScene.sks' let scene = GameScene(size: CGSize(width: 1536, height: 2048)) // Set the scale mode to scale to fit the window scene.scaleMode = .aspectFill // Present the scene view.presentScene(scene) view.ignoresSiblingOrder = true view.showsFPS = true view.showsNodeCount = true } }

The other changes in this series are minor. Creating some actions have changed slightly (for example, scaleTo(...) is now scale(to: ...). Follow the code templates when you are setting up the actions and it will guide you through. If you get stuck, post in the comments! :D

Download The Assets (Images and Font):
Please note, Matt Heaney Apps' asset system has changed since the release of this series. 2 sets of assets can be downloaded: basic images 100% for free so you can work along with this tutorial completely for FREE, or you can get the images used in the tutorial series for just $1. You can then use these images in a project on the App Store (view full license terms in the item when purchasing)!

Free Assets (Images and Font): https://files.fm/u/38hbjqy3

Assets used in the videos (images): https://sellfy.com/p/Owly/

Get the font:
http://www.dafont.com/the-bold-font.font

To Purchase The Sound Effect Used:
https://audiojungle.net/item/big-lase...
(Note, the sound I used was at: http://audiojungle.net/item/laser-gun... but it has been removed by the seller, so the one above is slightly different)

Game Credits:
Code: Matt Heaney
Graphics: Shekistical Studio
Font: The Bold Font by Pindarots
Sound Effects: Laser Guns by 44faced & Enemy Ship Destroyed by Crebbs
Backing Audio: Heroic Indie Game by Miksmusic

Loading...

Advertisement
When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...