Get Updates By E-mail 

game

News: Moai SDK Game Development Kit Made Available To All

  •  
  •  
  •  
  •  
  •  

A few weeks ago I mentioned the Moai SDK.  An open source iOS game development kit allowing for development of iOS apps (and Android apps) in Lua.  What I really liked about the engine that it has already been used in could be extended to support any functionality within the iOS SDK.

At that time Moai  a limited beta, the beta has been extended now to support all developers.

In order to download the latest SDK release and the cloud services you will need to sign up on the Moai website for the dashboard here:
http://dashboard.moaicloud.com/signup.php

You can find the Github project for the Moai SDK Source here:
https://github.com/moai/moai-beta

The cloud services look great, and very easy to code – if you’re interested be sure to check out their 60 second tutorial here:
60 Second Moai Cloud Tutorial

There are numerous improvements since I first mentioned the SDK. Looks like the guys developing the Moai SDK have been very busy!

Read More: iPhone Dev News


  •  
  •  
  •  
  •  
  •  

Update: Balloon Game Tutorial In Xcode 4

  •  
  •  
  •  
  •  
  •  

Recently I received a few comments and e-mails stating that the beginner’s game programming tutorial featured on this site had issues when running with Xcode 4.  I decided to test things out, and had no issues when running the tutorial in Xcode 4 with the latest release version of the SDK.

You can see a screenshot of the game running in Xcode 4 and the simulator below.

The issues may have to do with some still running an older version of Xcode, possibly a beta version.  Be sure to update to the latest version available in Apple’s developer website, and if you don’t have access to download the latest version of Xcode 4 you can find it available in the app store for $4.99 here.

If you still receive an error when running the tutorial even wit the latest version of the SDK, please state the error within Xcode.

Thanks!


  •  
  •  
  •  
  •  
  •  

iPhone Math Library – Open Source 400%+ Faster

  •  
  •  
  •  
  •  
  •  

If you’re app makes extensive use of trigonometry (and if you’re working on game development then you probably are) then you probably make extensive use of the built in math functions.  This isn’t the first open source iPhone math library to offer a speed increase, but it is the only one as far as I know that is still in active development.

According to Apple  apps that make extensive use of floating point numbers should not make use of the thumb compiling option which reduces code size.

Dave Dribin has created a math library exclusively making use of integers, and based on the speed of the sine function vs. the standard libary sin and sinf functions it looks like Dave’s trigint library is at least 4x faster.

You can find the library and more info here:
Trigint: An Integer-Based Trigonmetry Library

Thanks for reading, please share this using the buttons below!

[via: Under The Bridge]


  •  
  •  
  •  
  •  
  •  

Sparrow Tutorial: Creating HD Games With The Sparrow Framework

  •  
  •  
  •  
  •  
  •  

Sparrow, the game framework I used in my iOS programming tutorial on creating an action game, has recently added a new feature to easily handle the higher screen resolutions provided by the retina display of the iPhone 4.  I hope to update the tutorial to utilize this new feature in the near future. A new Sparrow Tutorial from the creators of this grame framework illustrates the process.

The process involves using tools that are included with the Sparrow Framework that will automatically create all the required textures from your high definition textures.

You can find the step-by-step tutorial from the creators of sparrow here:
How To Make HD Games With Sparrow

The new feature is in Sparrow 0.9 which can be found here.

Thanks for reading, please share this using the buttons below!


  •  
  •  
  •  
  •  
  •  

Game Programming Tutorial – Beginners Action Game

  •  
  •  
  •  
  •  
  •  

Welcome to my game programming tutorial on how to create a beginners action game for the iOS. This is a step by step tutorial for creating an iPhone action game. The principles taught also apply to the iPad.

You can see the result of a game running the code in the video below:

The graphics are a bit different with the tutorial (as some of those in the video are being used in an actual project) but that is the result of running the actual code within the tutorial.

Specificially the tutorial features:

  • Loading/Placing Images
  • Animation
  • Touch Events
  • Text
  • Sound Effects
  • Background Music
  • Buttons
  • Resetting The Game

Pre-requisites For This Game Programming Tutorial

Now before we start there are a few pre-requisites. You should have a basic understanding of Objective-C and will need a Mac with the iPhone SDK installed. The game was created using iPhone SDK 4.0, and the Sparrow Framework. Also note that I created this to be as easy to follow as possible so I used a minimum number of classes/methods to make it as easy as possible for a beginner to follow – I’ve even exclusively used autorelease objects  so you don’t need to worry about memory management (one of the facets of Objective-C many beginners have trouble with).

Why Am I Using The Sparrow Framework In This Game Programming Tutorial?

In case you’re wondering why I chose to go the route of using the Sparrow Framework it’s because I believe it is the easiest iPhone game development framework available for free for a beginner to start with, and it has already been used in a number of games in the app store.

Please share this tutorial by tweeting it or sharing using one of the buttons at the bottom.

You can navigate through the tutorial by using the page numbers at the bottom of each page.

If you’d like to jump right in you can download a project with all the resources loaded in here.

Getting The Code

You can download the code using the download links at the end of each page, or you can use the Github project found here:
https://github.com/maniacdev/iOS-Balloon-Game-Tutorial

Otherwise if you’d like to go the route of installing Sparrow, and setting everything up you can visit the Sparrow Framework getting started page here which explains the process of setting up an Xcode project that utilizes the Sparrow Framework. You can get just the game assets (graphics/sound) here.

The tutorial is definitely not perfect, and there are probably some spelling/grammar mistakes, but it is the most extensive single tutorial I’ve seen around and might never be released if I tried to perfect it 🙂

The first thing we’re going to do is start the game scene by displaying in a background image, adding the score and level text, and playing some music.  To navigate through this game programming tutorial use the page numbers at bottom, now go to page 2 by clicking that number at the bottom of this article to go to that page.


  •  
  •  
  •  
  •  
  •