
We will create the project folder with the right settings and then start clearing out anything that will not be needed in our game
We will continue clearing out things we will not needed in our game and also create a new class called LevelOne. This is all the code for a level will live
When you first load the Mr Jump game you are presented with an image of level one with the title of the game Mr Jump in huge font. We are now going to look into setting this up for our game
We will create a button that will start our game. This will be placed on top of the background we created in the previous lecture
We will now look at sizing and position the play button in the Game Scene. We will look at how we can adjust the size for the button for the different iPhone and iPad screen resolutions
We will continue to size and position the play button. We will also look at adding a target so our play button will have some functionality behind it
We will function that will be run when we tap the button. This function will close the Game Scene and start LevelOne
We will setup a UIColor to use are as a background color for level one
We will be using a tile map for the level. To get this working we will need to import some files and frameworks into our project folder
Now that we have all the necessary files and frameworks added to our project folder we can look how we can initialise the Tile Map and bring the map graphics into LevelOne
Every Node in our LevelOne will be added to the worldNode. We will now look at how we can resize the worldNode for each device type and screen width. From here on we will need to add all SKNodes to worldNode. The worldNode itself will after resizing all of its Child Nodes to fit the device
We will look over the software and frameworks required to put this Tile Map together
I will now take you through creating a Tile Map to show you how it works
I will now take you through creating some object layers in our tile map. Object layers can be used for physics objects in our game
From Xcode we can easily look at the XML inside the TMX file and see how it all works
There are a few things we need to set up before the level one map can move. We will take a look at the initial setup
We will use the update function in our LevelOne class to move the map from the right to left
We will declare all the collision categories the are required for all of the object layers. Then we will declare all the SKNodes required for all of the object layer to be added too
We will loop through all of the objects found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will loop through all of the object found in this layer and add to the scene
We will use the update function once again to get all of the objects moving along with the level one map
We will once again use Tile Maps to add in some more graphics. This time it will be the background of mountains and clouds
By using the update function once again we can get the mountains and clouds to move at slightly slower speeds. This will give the level some depth and this is what we call a parallax scrolling background
We will take a closer look at the TMX files and graphics files that are required to create this awesome parallax scrolling background
Mr Jump has entered the building… We will look at adding all the necessary graphics file into our project so we can add the Mr Jump character into our game level
We will look at creating and SKAction to animate all the Mr Jump graphics files we have added to our project. This will make him look like he is running
Once last thing to do for Mr Jump and that is to apply an impulse to the physics node every time we tap the scene. We will also look at how we can stop Mr Jump from doing a double jump in mid air. We will do this by restricting the jump action to when Mr Jump is on the platform
All games require some type of collision detection to work out a winner or a loser. Firstly we will look at keeping score
We will start to look at what happens when a collision has been detected with the enemy
Let’s look at setting up a blurred overlay that will display the highest score and a restart button when a collision with the enemy occurs
The Mr Jump game has this great feature where it will display a vertical dashed line at the furthest point in the level that Mr Jump has reached. We will now look at how that position is recorded
We will look at displaying the UIButton that will restart the game after a collision has been detected with the enemy
In this lecture we will create the functionality behind the restartGameButton. When we tap this button we will also need to work out how to clean up the scene and restart the game
When the game is over the scene stops moving and then the button that restarts the game sides in the from right. We will now look at how this is done
We will work out how to save and retrieve the score from NSUserDefaults. This will return a float which will have a decimal value. We are also going to work out how to remove the decimal value from the float so we can display this nicely the player as a highs core in the coming lectures
We will use a UILabel to display the player’s highest score. This will be added to the view alongside the restartGameButton
Just as we animated the restartGameButton to slide in from the right. We will use the same animation to slide the highscore label in from the left
Now that we have a highscore for Mr Jump we need to save this to memory using NSUserDefaults
Just like the real Mr Jump game we will draw a vertical dashed line in the level that represents the furthest point Mr Jump has reached in the level
We will looking into applying an impulse to Mr Jump to jump and move back a little . We will then use an SKAction to rotate Mr Jump in anticlockwise direction. These two things combined together will make Mr Jump do a backflip just like in the real game.
Now that Mr Jump is doing a backflip we need to let him fall all the way through the bottom of the scene by removing all of the collision objects
The game is not complete without allowing the player to complete the level. We will start to look at how this is done
Now that Mr Jump has completed the level we will display a button to restart the game so player can play the level all over again
Just as we did in a previous lectures we will animate the button and label to slide in from the right and left. We will also now be able to test the collision logic in our game
Ever looked at those HUGELY successful mobile games and think: “Man, I’d love to do that!”
Like the super-addictive Mr Jump - which earns its developers upwards of $20,000…. A DAY!
Yep, that’s right… $20,000 a DAY!
Fancy a go at that?
If you’re wondering where to start and your head is spinning from information overload - this course is designed to help.
Imagine being able to flip a switch and turn your mobile game ideas into a sparkling reality…
WELL NOW YOU CAN!
Hi! My name’s Ben Kane Johns. I’m the creator of the course How to create a Mr Jump inspired iOS game in Swift 2. I’ve successfully taught over 3000 happy students with my How to create a Flappy Bird inspired iPhone in Swift 2 course, and today I’m taking things up a notch…
If you’ve been looking at indie games developers and thinking: “Yeah, I could totally do better than that.”
…Maybe you’ve got an initial concept or a fully formed idea - and now you need to make it happen - FAST.
THIS COURSE WAS MADE FOR YOU.
Sign up to How to create a Mr Jump inspired iOS game in Swift 2 today, and I’ll share with you EXACTLY the pro tools and software I used to create this version of Mr Jump…
It’ll save you a ton of time. In a nutshell: I’ve done the hard work, so you don’t have to!
UNIQUE CONTENT… YOU WON’T FIND THIS COURSE ANYWHERE ELSE
How to create a Mr Jump inspired iOS game in Swift 2 is the first of its kind on Udemy. It is the ONLY course showing you how to replicate the App Store’s best game of 2015 - Mr Jump.
It also, shows you how to use tile maps for mobile games - a bonus skill you need to stay ahead of the competition.
The course is stacked full of powerful content, which you’ll breeze through with ease. At the end, I guarantee you’ll have a complete working Mr Jump mobile game - which you can modify into something of your own. More on that shortly…
WHAT YOU’VE GOT IN STORE
This course will give you an intermediate level understanding of Swift, the Xcode environment, Sprite Kit, JSTileMap, Tiled and create game graphics.
You’ll learn how to replicate the extremely successful game logic behind the App Store's best game of 2015 “Mr Jump”.
My simple step-by-step guide will give you a foolproof understanding of game logic and game design - crucial skills you can take away to create games of your own. Side-scrolling games like: Super Mario Brothers, Sonic The Hedgehog, Mega Man 9, Donkey Kong and Little Big Planet.
HERE’S THE COURSE OUTLINE
Create a replica of the “Mr Jump” iOS game
Using the “Swift” Language
Creating levels with tile maps
Using the “JSTileMap” framework
Using “Tiled” map editor
WHY MR JUMP?
One-tap games don’t have to be boring. Just look at Mr Jump! It received a humongous 10 million downloads and 700 million game sessions… in its first months of release.
It has also been featured in the Apple App Store in over 100 countries.
And, as I’ve mentioned before, Mr Jump generates $20,000 in fresh, green moolah. Every. Single. Day. Thanks to Chartboost-powered ads and in app purchases from the App Store.
In this course, I’ll show you how…
WHAT CAN I DO WITH MY MR JUMP GAME?
Listen. In no time you’ll have a crystal-clear, 3D understanding of how this game goes together - leaving you free to tweak, modify and change your Mr Jump game into something unique to YOU.
Now imagine the respect and recognition you’d get if your game was the next massive runway hit?
WHAT ELSE?
If you’ve been looking for a hobby or career that can give you endless freedom, whilst being creative AND using that smart-cookie brain of yours? Mobile games development is for you.
Keep reading, and you’ll discover how it’s improved my own life. Meantime here’s why YOU need to dive in to this course today and how our work together could bear serious fruit…
· You’ll learn how to program a computer game - from the ground up.
· You’ll build invaluable, ironclad and highly transferable skills whether you’re a beginner or an intermediate programmer.
· You’ll quickly learn the Swift programming language.
· You’ll grasp a solid understanding of how to program an iOS game.
· You’ll gain the satisfaction of creating a computer game of your own.
All you need to do is follow along, have fun and ask questions if you need to. Simple, right?
So whether you’re looking to create the next Crossy Road or become the Dong Nguyen (Flappy Bird) of 2016 - this course is for you.
So come on! Join the revolution. Start today. Because what have you got to lose?
And let’s be honest here, hours of fun await you. X hours, in fact, of meticulously-produced, laser-sharp chapters that will tool you up with everything you need to create your very own customization Mr Jump game.
My motto? Everything you do, builds on everything you do. So don’t waste another minute of your life. Get started with my Mr Jump course today and view the world from a new perspective… a world of limitless possibilities.
Click on the link above and grab your place on my course today.
ABOUT ME
My name’s Ben Kane Johns. I’m the creator of “How to create a Flappy Bird inspired iPhone in Swift 2” and ‘How to create a Mr Jump inspired iOS game in Swift 2.’
I strongly believe that:
· Indie games development is driving the future of games.
· Indie games development gives you the skills and freedom to create truly innovative and interesting games with MASSIVE potential.
· There’s no time to waste: indie developers who start now - could be the business leaders of the games industry tomorrow.
HERE’S MY STORY…
Ever since I was a little boy, I’ve been obsessed with gaming. From Super Mario Brothers to Pacman - I never left home without my tiny little Nintendo handheld. One day when I was 16 years old - while washing dishes in a grimy fast food restaurant - I wondered how I could escape a life of grub work and turn what I loved doing, into a full time career.
I worked my socks off. Followed my vision. And today I’m just as devoted and fanatical about gaming as ever - except now I use that enthusiasm as a Udemy teacher and professional mobile games developer. It’s a job that gives me and my lovely family an incredible lifestyle, and allows me lots of free time to pursue my hobbies - guitars and fast cars!
I love teaching people how to program… and seeing them go on to do inspirational things. Because once you learn how to create mobile games, the possibilities for your life and career are endless. I cannot wait to share these incredible skills with you, right here on Udemy. Join me today and let’s get to work.