APOCALYX is a...

free Game Engine based on OpenGL (MAIL) (SITE) (FORUM) (BLOG)

Sunday, August 31, 2008

The Guns of MekaWars

Finally, it's time to describe the MekaWars battles. You already know something about MakaWars spaceships, fighters, bombers and exoskeletons. Now I list the basic weapons available and show here the usual little radar-screen of a fight.

As you can see, there are asteroids (yellow dots), resources (orange and cyan), harversters (two green dots) and fighters (two red dots). The fighters are firing with their cannons.
These are the weapons:
  • Cannons shot projectiles (bombs) that explode after a specified amount of time or when they hit an obstacle; the inflicted damage depends on the target distance from the center of the explosion; bombs are invisible to the radar; the vehicle can't shot bombs when the shield is active; there is no limit to the number of bombs, but they require a certain amount of energy
  • Missile launchers launch missiles, of course, that follow automatically a given target; they explode when a certain distance of activation is reached, a timeout has expired, or an obstacle is hit; again the inflicted damage depends on the target distance from the center of the explosion; missile are invisible to the radar, but the sonar can detect them (it detects only the distance of the missile, not its precise position); missiles are confused by the launch of false targets; there is a limited number of missiles for each vehicle
  • Torpedo tubes launch torpedos, of course; they are similar to bombs, but possess an activation distance and a trigger time, so they may act also as mines if dropped in place; again the inflicted damage depends on the target distance from the center of the explosion, thus short activation distances are better; torpedos, like bombs, are invisible to the radar and to the sonar; the number of torpedos for each vehicle is limited
These are the weapons actually implemented in the MekaWars simulator. Let me know if you need more!

Saturday, August 30, 2008

MekaWars' blueprints (II)

Yesterday I briefly described some of the devices installed on MekaWars harvesters. Today I consider fighters and bombers.
Since this kind of vehicle is used mainly for combat, you may expect that weapons play a major role in their equipment: that's right, of course.

The basic devices, such as the generator, the radar, the engine and the hull, are also available, but there are additional ones.
For example, the shield is very important, since it can protect the vehicle, when it is activated. Then there is the hiding device, that removes the vehicle from the enemies' radar screens. There is also the disguising device, that reveals the unit as another one, weaker or frindly, to enemy probes.
Finally there are the weapons: cannons, missile launchers and torpedo tubes. The differences among these kind of weapons will be discussed in a future post (for example, what have torpedoes to do with outer space?). Let's say only that cannon balls, missiles and torpedoes are different in their reactions to the surrounding environment.
As a final consideration, one may ask, shields apart, if any countermeasure is available to defend vehicles from attacks. First of all, there is the sonar (uh!? What has the "sonar" to do with outer space?), that is very useful to detect incoming missiles, and also false targets to confuse the enemies' sensors.

Friday, August 29, 2008

MekaWars' blueprints

Some days ago I described the structure of the MekaWars spacechips and the modules they are made of.
In the game there are also units made of a single piece, like a lone module, but their internal structure is also complex. In fact the vehicles, such as cargos, fighters and bombers, even if they are shown as one-block models, possess a hidden organization, visible only to the simulator.

Let's consider, for example, the structure of the harvesters. These vehicles are sent around the asteroids to collect resources and dust of several materials, such as iron, silicon and uranium. When the charge is complete, they return to the spaceships to fill their holds.
Such vehicles possess the harvester, properly called (the device uses to collect resources), that is connected to a tank. As in other vehicles, there is also a generator to which all the devices that need energy are connected , like the radar, the detector and the engine. Each of these devices is described by several properties and interacts with the environment that surrounds the vehicle. Finally, the hull intercepts the damages and is responsible for the integrity of the vehicle.
Fighters and bombers show a similar structure, but in that case other devices are more important, such as cannons and shields.
A simulator so detailed may seem too complex at a first sight, but the inner workings are not explicitly visible to the player, while the variety of behaviors and the combination of different structures open the possibility to a variety of personalizations.

Thursday, August 28, 2008

Dog in the moor

Just a screenshot to remember
that your dog is a wonderful
playfellow, but it's not a toy.
If you leave for holidays,
don't adandon it.

Wednesday, August 27, 2008

Penguin on ice

The genie said: "Aladdin, still one wish remains! Which is your very last desire?"
Aladdin thought that no other satisfaction was greater than to see the nations on earth all at once, nothing was more exciting than to fly at high speed over the ocean, no activity more inspiring than to be able to sing the sweetest melodies.
So Aladdin answered: "This is my very last wish: to be a bird!"

Just a screenshot to remember that
it's hot here in Imperia (ITALY), but
it's very cold in the Antarctica, so
best wishes of a nice winter to...
all the penguins!

Tuesday, August 26, 2008

Game AI book

Some time ago I listed several papers related to Artificial Intelligence that made use of GUN-TACTYX as the main testing application of their thesis (read the post).
I forgot to mention that also a whole book, devoted to AI applications in computer games, had based its examples on an old version of APOCALYX. The book, published in 2004, describes several AI techniques useful to make the behavior of NPC more believable. The book is "Programming Believable Characters For Computer Games" and includes a lot of examples based on a VC++ version of one of the first releases of APOCALYX.
The author, Penny Baillie-de Byl, says: "Computer games have evolved from simple, little programs to major Hollywood-type productions. And today's player expectations have kept pace with this evolution - they expect truly believable gaming environments with complex stories, characters, and action. To achieve this quality, developers need to incorporate the most cutting-edge tools and techniques available. Programming Believable Characters for Computer Games is written to provide such a resource. It takes current research in artificial intelligence and games and presents both the concepts and architectures through practical programming examples. The book focuses on the higher-level AI needed to develop interesting and believable, non-player characters that can learn and express emotions. With an emphasis on pathfinding, decision trees, finite-state machines, rule-based systems, and goal-oriented action planning, it addresses the current topics in game development. Throughout the book, programmers work through the step-by-step creation of a 3D animated autonomous character. Each chapter covers the theory of the topic and then applies it through practical hands-on exercises. The creation process works from design, modeling, and animation to the development of the artificial brain, which includes techniques for learning, socializing, communicating, navigating, and adapting to its environment. This is a comprehensive resource that brings current games research into the hands of programmers."

Monday, August 25, 2008

Lost Garden Bronze Award

The results of the latest Lost Garden's Prototyping Challenge (Shade) are finally available. My entry was one of recent APOCALYX demos: Mushroom's Ride.
Unluckily I released it without implementing the main design requirement: take advantage of the shadows to bring the mushrooms at home (read the release post).

This design requirement was fundamental, that's why the entry received the bronze award instead of the silver one, that I tried to achieve. Anyway, seeing the quality and variety of the one and only entry that deserved a silver award, the result is not so bad.
Thank you Danc (the owner of Lost Garden) for your interesting game design ideas and your great graphics.