Archives for 

ios

SpriteKit Game From Scratch, Swift 2.0, part 3

Introduction Before I go on with this tutorial I just want to say a few words. Unlike the slot reviews you can read on pvplive, the game is supposed to be easy to play and that’s true. But the struggle in making a game is quite the opposite. You may want to know how virtual […]
0

SpriteKit Game From Scratch, Swift 2.0, part 1 – Workout Apps

(Image credit: Prostock Studio/Shutterstock) Get one of the best workout apps loaded up on your smartphone, and it doesn’t matter if you’re at the gym or working out at home — the right app can get you started on a healthier lifestyle. Most of the apps we’ve looked at help you exercise where you are, […]
9

Creating a HUD for your Sprite Kit Game

Creating a HUD for every game is vital. It’s a bit tricky when you are adding UI Elements to Sprite Kit and there are also a few different ways of doing it. Here is one of the ways and so far my favorite. It’s very flexible and it will allow you to easily customize your […]
8

Generating UIButtons from a loop

This is a very useful technique and it’s pretty straight forward. Let’s say we have an array of items or heroes and we want to dynamically create buttons that will do something linked to the hero/item selected. One example is if you have an array of saved games and you want to generate buttons to […]
20

Setting up backgrounds for UIView

There are different ways of setting up backgrounds in Swift, depending on the object, method, background type etc. We will go through some of these here. Setting up a background image for a UIView: Replace “myImage.png” with the name of your image. Note: Make sure you add your images to the Bundle first. To […]
2