8.15 Example: Dynamite Demolition

The source of this example is found under the Examples/AS2/23_pro_dynamiteDemolition folder.
The server side extension is found in sfsExtensions/dynamiteFinalUpdate.as

» Introduction

Dynamite Demolition is a realtime multiplayer action game prototype based on a bomberman-like gameplay and set in a 3D isometric world. The objective of the games is to destroy all the other opponents (up to 4) in the level with the available dynamite. Brown walls can be destroyed to create new passages.

The game controls are straightforward: you can use the arrow keys to move around and the space bar to drop the dynamite.

By using SmartFoxServer PRO and it's Room Level extensions the game can easily "attach" the game logic to each new game room, which is then handled independently. Moreover the usage of the "raw-protocol" allows to send very small packets of data to each client, minimizing the network traffic and the server resources.

The game logic was all developed on the server side using Actionscript. This feature allows to quickly develop the application, cutting the times for compiling traditional Java code and speeding up the whole prototyping and development process. The server side code is quite clean and well commented: it's not very difficult for any intermediate flash developer to inspect it and follow the logic of the extension.

dynamite demolition

» About the author

The game was kindly submitted by Jon Reading (Nottingham - UK), who developed it as a study in Flash-based online multiplayer games for a university course.
You can check more works made by Jon at his portfolio website.


doc index