One Game, Many Frameworks: Starling

OpenGL in Flash

There is a bunch of stuff you will need to do before you attempt to run this project. Basically they are all related to running the Stage3D api. If you can run it, you may skip the next section. If you haven’t set up your IDE to use Stage3D already, here is a brief list of things you need to do (I’ll assume you have Flash Builder, though Flash Develop will work just fine, with minor adjustments to the instructions that you can find about on google).

Read More

One Game, Many Frameworks: The Game

jumping frog

I will first explain something of the logic controlling the game. It is very important to point out that the logic itself has nothing to do with any of the frameworks I’ll use. The frameworks for the most part only influence the VIEW part of the logic: the actual rendering of textures on screen in place of all the rectangle objects the logic handles.

Read More

From ActionScript to Objective-C: Part III

the cocos2d version

Cocos2D is a game framework that simplifies game development for iOS. Its main advantage is that it serves as an excellent in-between for you and OpenGL. And if you have ever coded in OpenGL, you know how great this bit of news is. Reading OpenGL code is akin to reading Chemical composition tables with your eyes crossed. Cocos2D also makes memory management easier, you will notice you use a lot less retains and autoreleases when coding with cocos2d. Some people are freaked out by this, I’m not one of them!

Read More

Line Path: Going 3D

paths in away3d

Now for 3D! If you’ve seen my 3D collision tutorials you will know at least one way of using the LinePath2D logic in 3D, and that is by simply changing the Y in every line path point to a Z value. And you’re done. But what if you want to use the PathAnimator in Away3D? Here’s how.

Read More