
In game development randomness is often necessary for certain tasks, be it the random distribution of graphic tiles, a random factor in NPC AI or random stats in a roleplaying game. Especially for the latter purpose the static Dice class provides a set of methods to roll dice as it is common in a Role-playing game, to be exact four-, six-, eight-, ten-, twelve-, twenty-sided and percentile dice.
Read more…
Categories: Dev, Featured, Random Picks Tags: ActionScript, AS3, D20, D6, Dice, Downloads, Flash, Flex, Game Development, Lab, Source Code, SWF
Update: This bug has long been fixed by Adobe. Please ignore this post, Flex 3 is wonderful!
Makes me wonder why nobody else has yet written anything about this bug … when using any container component like for example a Panel or TitleWindow with a different borderStyle than the default, e.g. borderStyle: solid all your contents of that container reach into the the chrome of the Panel/Window/etc. pretty much messing up your layout. How could this escape the eyes of Adobe’s Flex devs? Here’s the thread at Adobe’s Flex forum. This is bad because it sort of prevents me from writing any Flex/AIR applications until this issue has been fixed, I’m using a custom theme for all my projects that use a solid borderStyle (similar to the one used in the Flex Style Explorer). The marvels of open beta software pushed by corporations for mere publicity purpose!
The guys at Powerflasher done a great job! Check out their new FDT 3 at fdt.powerflasher.com. Personally this has become once again my favorite coding tool (after an over one year break with FlexBuilder’s editor). FDT has many features that one would otherwise only find in superior tools like Eclipse’s own Java Development Tool … and these are top notch! FDT is now shipped in three different versions, Basic, Professional and soon an Enterprise version which will add a Debugger, MXML Parser and advanced Refactoring.
I’m especially looking forward to the MXML Parser since in it’s current state FDT only allows for pure ActionScript projects. The MXML Parser would make it possible to add Flex and Adobe AIR projects to the roll.
I’ve updated the [intlink id="92" type="post"]AnimatedBitmap[/intlink] class so that it now uses an external timer object to trigger the animation. The advantage of this is that one timer can be used for many animated objects that use the same framerate. For this purpose a custom FrameRateTimer class has been added. This saves memory and CPU cycles when many animated objects are used.
I will eventually add an AnimatedDisplayObjectManager class later with that many animated objects can be controlled at once (e.g. stop/play all sprites at once) but this will probably be more intervened with the whole framework (as it might make use of custom data structures).
The AnimatedBitmap class provides functionality for Bitmap objects that are animated by using a series of still images. When creating a new AnimatedBitmap you provide a BitmapData object that contains an image that consists of the ‘single-frame’ images for the animation.
Read more…
Categories: Dev, Featured, Random Picks Tags: ActionScript, AS3, Bitmap, Downloads, Flash, Game Development, Lab, Source Code, Sprite, SWF
I’ve joined the closed beta of FDT 3.0 a couple of weeks ago and saw that there was steady progress in bug fixing with around 3-4 updates every week. Now the guys at Powerflasher started the Open Beta which everybody can join by visiting the FDT Forum.
FDT 3.0 is pure coding comfort indeed! After using it you’ll agree that the Flex ActionScript editor looks like a poor excuse compared to FDT! There are all the features for ActionScript 3.0 that also were in FDT 1 and a lot of new stuff. Luxurious syntax coloring and semantic syntax highlighting, code templates,my number one favorite feature Mark Occurences, code formatter, quick fixes, Flash IDE and Flex compiler support, limited refactoring and more.
Now all I wish for is that FDT works flawlessly together with Flex/AIR projects but that will probably come at a later date since getting a stable release is more important now. It kind of feels awkward if you have to go back to the Flex AS editor once you used FDT!
Recently I needed a HashMap for a project to map key/value pairs but in that particular case the Map required to map not just one but several values to a key. I could have used an array or object to store the values in and map that one but in practice it turned out that accessing the map looked rather messy. It would be much more elegant to have a map to that multiple values can be mapped directly. After some investigation (strangely even Java seems not to have a MultiMap included) I came up with writing my own MultiMap class, so here it is!
Read more…
Still have a skeptical opinion about using Flash for making games? Read and rethink … at least for earning money it seems to pay off if done right! Check out this interview with Desktop Tower Defense creator Paul Preece! Obviously it is possible to create a monthly 8000$ revenue just by putting together a simple but addictive Flash Game and make it freely available to people.
Even though personally I’m not too impressed with the game (prefer better graphics/sounds) I found myself getting lost by its addictive gameplay for at least 30 minutes today. Why the heck do I sit here designing an overly complex roleplaying game??! To answer that question by myself: Because it’s what I love doing and its fun for me. But maybe I’m better off devoting some time to create a simple blockbuster first!
So what makes this game so addictive that people are coming back en masse? First and foremost it’s simple and straightforward. No long introduction, no necessity to read instructions, you get into the game quickly. Then there is the addiction factor … Maybe its just me but the reason why it is fun to play is because you try to make your defense perfect to stop the intruding enemies. Another factor is that you can shoot and destroy something. Sounds dumb? I know, but I can imagine that many people’s ‘hunting’ instinct is triggered by that. After all many popular games follow the same scheme. In fact you don’t even need to do the shooting as that is what your towers are doing for you. You just have to place them in a strategically good position and watch how well it works out. The author sure made a good choice by picking a Tower Defense game for this!
Now there are hundreds of other well proven addictive games out there. Make your choice and don’t forget to improve it by adding something that makes it even more fun to play! Meanwhile excuse me … I have to dig through my old games collection and do some searching …
(via Tales of the Rampant Coyote)
Here’s a small demo that I threw together yesterday which shows how the effects in the Hexagon Framework effects package can be used. The effects package contains classes that are used on display objects to apply an animated effect on them. That is not all however. The effects send a signal back to the calling class when they are finished and there are two more classes with that effects can be arranged, namely the EffectChainer class and the EffectCombiner class.
Read more…
Categories: Dev, Random Picks Tags: ActionScript, AS3, Bitmap, Flash, Game Development, Lab, Modulo, SWF, Tweening, WIP

A valuable resource for everyone who is thinking/planning to write a roleplaying game … Indie developer Planewalker Games who are currently making their debut RPG The Broken Hourglass are publishing precious bits of insider information about their game engine called WeiNGINE. The Broken Hourglass is a computer roleplaying game with a strong visual relation to late nineties RPG pearls like Baldur’s Gate, Icewind Dale or Planescape: Torment (who all were based on the Infinity Engine).
Some examples of their articles: Inside the Engine – Introduction to Items, Inside the Engine – Introduction to Sprites, Rules and Mechanics – Group Skills … and there’s a whole lot more when navigating through the links at the bottom of the pages. I kind of soak up such detailed information on game/RPG design as such things are sparsely seeded on the web (you will not see such information leaking from commercial developers!)
Recent Comments