If you use WordPress (I am using 2.7), you may have experienced the WordPress formatting quirks and annoyances.  It is annoying it is to include JavaScript or Flash into WordPress posts. The code you entered kept getting reformatted, even when using html editing mode. Plus, when using the build-in uploader, the Javascript and SWF filenames […]

When using the Director on Cocos2d and you have a Scene object in the window, your program will not receive touch events. So, your UIApplicationDelegate implementation will not receive touchesBegan notification. You can override this behavior by   1) implementing the TouchEventsDelegate protocol, which has the following specification: 2) Associate the event handler with the […]

In this tutorial, we will continue building a simple space-invader type game. We will be continuing from the tutorial presented in Part1 at https://permadi.com/blog/?p=1131; however, we are making some major changes, and I’ll explain why. The first change has to do with restructuring the CSS code so that most of the objects within the game […]

Create a new Project. Make sure the Components window is open.  If not, open it using Window->Components. Drag component from the Components window into the stage.  Resize it to the size you want.  In the next step, you can decide the scaling mode of the video, such as maintainAspectRatio or noScale. Open the Parameters window.  Use […]

Dashcode is another tool that comes with Apple iPhone SDK.  It allows you to create simple applications.  You can read an introduction to Apple’s Dashcode here.  In this tutorial, we will demonstrate interactivity and animation.  Familiarity with JavaScript and CSS is assumed. Our example will be a framework for a space-invader type game.  There will […]

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 […]