This is a follow-up to my previous ButtonNode post. In this update I will be adding additional functionality to the button to allow the button to be enabled and disabled. For this new functionality I want the ButtonNode to be able to do the following: Maintain a boolean value indicating the current state of the […]
Continue readingTag Archives: iOS
Preroll Video iAd’s as Reward Incentive
A common Freemium model for mobile games is to offer a reward (currency, bonuses, etc) in exchange for watching a fullscreen video ad. Attempting to recreate this model using video preroll iAds is possible but has some less than ideal complications. I’ll be going over the basic implementation and the things I wish were different. […]
Continue readingButtonNode
When we first started developing with SpritKit we quickly felt the need for some higher level abstractions. One example of this is a button. As a result we ended up creating a simple ButtonNode class that we could use throughout our game. This post will present an example of our button node extracted from our Fillip’s […]
Continue readingGame Health Indicator
This post is going to present a simple solution for building a dynamic health indicator for your game. This is based on the health indicator we included in our Fillip’s Feast game, available in the Apple App Store. The following are the features we wanted for our health meter. Follow the overall look of the […]
Continue readingWeb Inspector for iOS Development
If you have done any web related development you are probably aware of the Web Inspector that is available in Safari on your desktop system. If not, here is how to enable this feature. First you need to enable development mode in Safari. To do this go to Preferences and select the Advanced Tab. At […]
Continue readingWorking with Images in SpriteKit – Image Sets
By: Mark Johnson @mellowcoder Asset Catalog – Image Sets This is the second in a series of posts on working with images in SpriteKit. In this post we will look at using Images Sets. Asset Catalogs and Image Sets were introduced in Xcocde 5. If you start a new app in Xcode 5 the App Icon […]
Continue readingWorking with Images in SpriteKit – Image Files
By: Mark Johnson @mellowcoder The following is the first in a series of posts on working with images in SpriteKit. Specifically how to manage image files when developing a Universal App. This first post will be a general discussion of image sizes and look at the naming conventions that can be used when adding images directly […]
Continue readingSpriteKit Landscape Setup
By: Mark Johnson @mellowcoder Configuring a Landscape Only Game Using SpriteKit When we began developing our first game in SpriteKit we started out the same way that I suspect most everyone else does. Open up Xcode and create a new game using the SpriteKit framework template. The simple default app that is created worked fine […]
Continue readingLandscape view issues with cocos2d v1.1 and iOS 6
In this post I want to discuss a workaround we have implemented to address display issues we were seeing on iOS 6. Our app is setup to operate in landscape view. When iOS 6 came out we found that under the new OS, in both the simulator and on the device, the app would only […]
Continue readingStaying Current – cocos2d v1.1 RC0 with GBox2D
As we progress with the development of our first game we are trying to stay up-to-date with the frameworks we are using to allow us to support the latest iOS and iPhone releases. On Oct 21st cocos2d v1.1 RC0 was released. Since this release included fixes for iOS 6 and support for the newer phones, I […]
Continue reading