Build your first mobile game for iPhone Swift/iOS having fun
- 4 hours on-demand video
- 3 articles
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Create a fully functional game
- Have a deeper understand of the problems that can happen while coding and how to solve it
- Student will be able to create code easy to understand, test and scale
When we create a new project in XCode it give us a lot of boiled plate code that most of people take for granted it is very important to understand what it does and why it is there before we start put our own code in.
In this lecture we will learn:
- How to create a new SpriteKit project
- Understand the Boiled Plate code that it generates
- Delete the unnecessary code for our project
Sometimes we can change our mind, in this case we can code our game all in one color to decide to change it later on, if we color been create all over the place will be very difficult and time consume to find the right place to change, this is why Extensions are so important
In this lectures we will learn:
- Why and when we should use Extensions
- How to create a new Extension
- How to name a Extension
- How to use the Extension
It is very important to know when to create setup functions as it can make our code much clean and easy to read and understand.In this lecture we will learn:
- How to create a setup function that store values for future use by another function
Some times two random numbers can be two close together what does not work very well to our game, we need to find a way to create a space between the targets to make the game more enjoyable, and we never know if we will need to create one, two or ten random number to have this new position.
In this lecture we will learn
- Repeat while loop, how to drawn new random values until a valid value in draw
Sometimes many ideas come to mind and we don't know were is the "correct" or more appropriate place to put the code, even because we don't know the full picture yet, this is why refactoring is so important. When refactoring we shouldn't be changing any of the functionality of the application just rearranging the current functionality to the correct place.
In this lecture we will learn:
- How to properly refectory our pop the lock game
- Students must have XCode installed and working
- Basic knowledge about XCode and programming
Have you ever imagine yourself as a spy, breaking codes, picking locks? In this game you will have to crack the secret code to pop the lock, and more you will have to build this game from scratch if you want to play it and learn a lot about Swift, SpriteKit and iOS while doing so.
The game is fun to play and watch others playing, however it is just a fun way for me to teach you all you need to know to be a excellent Swift/iOS developer.
Trougth the course of this course we will learn about:
- SpriteKit Framework and its boiled plate code
- Extensions, what is and how to use
- How to encapsulate our code and use private variables, getters and setter and why
- How to refectory your code as you go, what is refectory and why you should always do it
- Loops, different kinds of loops, with one to use for different scenarios and why
- Inheritance, including initializers, convenience, required, overriden how to do it right
- Properties, including property observers and computed properties, what it is and how to use
- Protocols, I know you hear about it before, but do you really understand what it is and how to use?
In this course we will cover one topic at the time as we need we will discuss itm examine the options and add to our game to make it more and more awesome
- Anyone looking to learn or deeper it's knowledged in Swift, iOS or SpriteKit
- Anyone that want to learn while having fun making a game
- Anyone open minded that want to be leading and not following