Have some free-time? Interested in AI programming? Then why not download one of our iPhone and iPad apps. Free for a limited time — click here. Don’t have an iPhone or iPad? Play the Java applet here. Background The puzzle 8 – also known as the sliding-block puzzle or tile-puzzle – is one of the […]

Continuing from: https://permadi.com/blog/2009/05/dashcode-invader-using-dashcode-to-create-a-game/ Base class for the objects in the game. Let’s consider what objects will be in our game. I can think of three-types: Player ship Enemy ship Bullet These objects have in commons these charateristics: They all have positions. They all can move (needs speed variable). Let’s call the base class GameObject from […]

This is some examples for the topic discussed in https://permadi.com/blog/2010/03/cocos2d-color-depth-and-memory-optimizations/ kTexture2DPixelFormat_RGBA4444 Notice the severe banding. kTexture2DPixelFormat_RGBA8888 kTexture2DPixelFormat_RGBA4444 kTexture2DPixelFormat_RGBA8888 kTexture2DPixelFormat_RGBA4444 kTexture2DPixelFormat_RGBA8888

There have been some questions about whether you need to be a paid developer to get the SDK. The answer is no, at least at the time I wrote this, there’s still a non-fee option to register.  Refere to this post, https://permadi.com/blog/?p=17, for more information. Note: Registering as a Free Developer enables you to download […]

Using iPhone SDK 2.1.   Background User Preferences are data and settings that are saved by your application.  The iPhone OS has a mechanism that enables an application to “associate” its settings with the default iPhone user interface.  You can access applications settings by selecting the Settings icon in the main iPhone screen.  Try it […]

This tutorial assumes basic familiarity with Cocos2d on iPhone.  For Cocos2d introduction, please see this install guide, and Hello World guide.  This tutorial covers Cocos2d version 0.7.1. Introduction Transitions are effects such as: wipe, fade, zoom, and split.  You can use transitions to switch between Cocos2d Scene objects.  Scene class is derived from CocosNode and […]

Included in the iPhone SDK is another “application-builder” named Dashcode.  If you have the iPhone SDK installed (and the iPhone SDK is the only way to get Dashcode as far as I know), then you can find Dashcode at Developers::Applications folder. The icon looks like this: Dashcode was originally a tool for developing Widgets, is […]

Random Tech Posts
May 16, 2009

Running Mac OS X Leopard on Netbooks (Mini Laptops). Yes, I know it can be done but I wasn’t brave enough to try it.  Mac OS was built to handle some set of hardware, which Apple know for sure are on their Macs.   And when Mac OS is run on a machine where it’s not […]