Uploaded source code and demos for our ray casting tutorials to GitHub (https://github.com/permadi-com/ray-cast#ray-casting-tutorial-demos). Ray casting is a popular graphic rendering techniques in the 90s, used to render semi-3D worlds in many games.  These repository contain demos for the ray-casting tutorials at permadi.com. https://permadi.com/1996/05/ray-casting-tutorial-table-of-contents/ Read through the tutorial to learn the concept behind ray casting, then […]

This tutorial builds upon the previous tutorial at /2010/10/html5-saving-canvas-image-data-using-php-and-ajax, with additional explanation on how to pass parameters along with the canvas data. We will demonstrate methods of saving the content of a HTML5 Canvas object using server side scripting. PHP will be used in this example, but the technique can be applied in other languages as […]

We’ve just release a free asset on the Unity Asset Store. If you use Unity3D, definitely check this out: https://assetstore.unity.com/packages/3d/vehicles/space/3d-voxel-cube-spaceships-sampler-65910.  Unity version 5.3.0 or newer required. The asset contains stylized 2 models/prefabs of 3D spaceships that can be used on 2D or 3D games. In addition to the models, the asset package comes with two demo of space […]

Here’s the source to my Tic Tac Toe PHP game. I originally wrote this in Perl before porting it to PHP. It’s quite primitive (load a new page every time you make a move). It has a computer opponent with a decent AI, implementing Minimax (see http://en.wikipedia.org/wiki/Minimax for more) algorithm. You can see it running here. […]

Well, after procrastinating for a while, I finally published my first iTunes Mac App Store app, which you can see here: https://itunes.apple.com/us/app/jigsaw-summer-joy-puzzles/id659813149?ls=1&mt=12.  This is not a mobile app, but a desktop version built for Mac OS  from the same code base that has been used for mobile builds here: https://itunes.apple.com/eg/app/jigsaw-summer-joy-puzzles/id659813149?mt=12.   I want to share my experience in […]

Background This is a quick walk trough on how to use ANE (AIR Native Extension) in Flash Professional CS5.5. I assume you know what ANE is, but if you want, you can read Abode’s overview here http://help.adobe.com/en_US/air/extensions/index.html. ANE it basically a method to call native code from within Adobe AIR applications. To use Native Extension, […]

Background Captive Runtime is introduced in AIR 3.0 and it allows the AIR runtime to be packaged with your APK so that when user starts the Android version of your application, the user is no longer required to download and install the AIR runtime (this happens if the user does not already have the same […]

Using UIWebView is an efficient way to make an About screen, Help screen, or other sort of hard to layout. Consider how easy it is to lay out your ‘page’ in html, instead of having to build it using Interface Builder. You can even use JavaScript and add interactivity if you want. You can even […]

Cocos2d has always been a popular choice for iPhone game development.  Now there’s now cocos2d-x (http://www.cocos2d-x.org/), a spinoff initiated by Walzer Wang. cocos2d-x is a cross platform version of cocos2d that produces iOS and Android app (plus Windows executable output as bonus if you like).  Cocos2d-x accomplishes the cross-platformness by using native C/C++ code.  This […]

ARC is a good idea; however it may cause issues when using old libraries or if you have some code which use it and some which don’t. You might also accidentally clicked on it when creating the project and decide, no, I don’t really want it. ARC is not a bad idea, but it will […]

1 2 3 19