background preloader

Sparrow Framework

Facebook Twitter

Installation - Sparrow Wiki. Download Download Package In order to get going you need to first download the Sparrow package.

Installation - Sparrow Wiki

The download package contains everything you’ll need: The source code, a demo project and a scaffold for your own games. You can copy this package anywhere you want on your system. Just be sure to pick a place where it can stay constantly, because we will have to tell Xcode about its location, and you don't want to have to change that later. GitHub As an alternative, you can get a copy of Sparrow directly off its GitHub repository, which can be found here. Git clone As soon as you have downloaded the repository, a simple git pull will upgrade to the latest version.

Test-Drive The package contains a sample application in the form of an Xcode project. The demo project was set up in a way that does not require any Xcode configuration. Next section: Setting up Xcode. The Sparrow Manual - Sparrow Wiki. Tweens & Jugglers - Animating your stage. Holger Weissböck on August 24, 2010 A little late, but hey!

Tweens & Jugglers - Animating your stage

Better than never ;-), we will have a look at the linchpin of Sparrow's animating powers: Tweening. What's a Tween, you ask? Let's have a look at Wikipedia: It tells us that tweening is "the process of generating intermediate frames between two images to give the appearance that the first image evolves smoothly into the second image. That's about right for Sparrow too.

Tweening Object Properties Let's go with a simple real-world example: Imagine a nice little stage containing a blast door that is going to be shut. For those of you who need a background story: "It's Oct-13 in 2043. Whatever... ;-) What we are going to do is animate the closing of the blast door: //Create a door of the blast persuasion. ...aaand that's it! Transition Types Sparrow offers a variety of transition types which you can use for your tweens.

//Change the transition type to an ease-out-bounce and //adjust the tween duration to fit our needs. Alright! Game Programming Tutorial – Beginners Action Game. Welcome to my game programming tutorial on how to create a beginners action game for the iOS.

Game Programming Tutorial – Beginners Action Game

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 ImagesAnimationTouch EventsTextSound EffectsBackground MusicButtonsResetting The Game Pre-requisites For This Game Programming Tutorial Now before we start there are a few pre-requisites. Why Am I Using The Sparrow Framework In This Game Programming Tutorial? 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.