The Andoid programming book, Pro Android Games mentions permadi.com’s Raycasting Tutorial. The chapter is about developing games on Android, the mobile OS from Google. The tutorial refered is applicable for all devices, since it’s mainly about the concept, so why not head over there and learn about ray-casting. An excerpt from the book is shown […]

Adobe Flash

Here are two easy to produce effects (although could be processor heavy) and simple animations that anyone can create easily in Flash on the timeline or in the code. These effects can be applied using Flash CS3 and above. Evaporate Effect This can be simulated using the Blur filter combined with Alpha tweening.  The key […]

Chrome is shaping up to be the best browser around.  It’s fast and it is developer-friendly, with its own Firebug-like tools.  Under View->Developer->Developer Tools you can find the goodie. See below for screenshot. The Element inspector can be accessed with the Magnfying Glass icon on the bottom, and then you can hover your mouse to […]

In this example, we will be adding a watermark (logo) into an image using PHP and GD library. For introduction to PHP GD, visit this post: /blog/2010/03/using-php-gd-to-create-images/ This is the logo image that I will be using: This logo is a PNG file with alpha channel. With transparent images, using PNG is better than using […]

This post continues the topic of reading and parsing RSS2 feeds which were discussed in the previous post and can be found here: https://permadi.com/blog/2010/03/flash-as3-processing-rss-feeds/. Building from the example in that post, we will do the following improvements here: Cycling though posts. Enabling users to read the full post. To begin with, we added two buttons […]

ActionScript

This is a basic example of loading and processing RSS2 Feed in Flash. It assumes familiarity with the Flash authoring environment and basic programming, in particular, XML processing and text field. For an introduction to using XML in Flash, you are encouraged to read this post: https://permadi.com/blog/2010/03/flash-as3-basic-xml-reading-and-parsing-example-part-1/ For our example, let’s use RSS2 standard since […]

HTML

PHP is a powerful scripting language and there are many powerful plug-ins available. One of them is GD, which can be used to create images on the fly. GD, originally developed by Thomas Boutell by far is the most popular image-processing library for PHP (it is also available for other languages like Perl). GD has […]

This tutorial demonstrates how to use a custom view class (that is a class derived from View or its subclass) in an XML layout. This demonstration assumes basic familiarity with Android SDK and its XML layouting mechanism, the code is written in Android SDK 2.1. Creating The Custom View Class To begin with, let’s create […]

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

1 8 9 10 11 12 22