Sneak peek at arena 0.8

I’ve set up the challenge system in Arena pretty quickly. It was the occasion to clean the code that was leading to astronaut spaghetti after the quick and dirty development of the custom fight mode… The challenge mode is not yet finished, and things may still change until the 0.8 release.

Challenge selection screen

This is the challenge screen where you can see all available challenges, and which one you achieved. Some challenges can have scores. For the time being, I’ve setup only 3 challenges with 3 different gameplays :

  • Goblin hunt : you have to win your fight before the time limit. If you succeed, you can try and improve your time.
  • Fire dance : your health points shall not decrease beyond a certain limit.
  • Infestation : you have to kill at least n creatures in a limited time. If you succeed, you can try to improve the number of creatures killed.
Infestation – Rats have never been so dangerous…

All those different game rules have been added pretty easily thanks to a pluggable module system : the game engine handles the core game rules (display the arena and panels, creatures AI, …) and every specific rules are implemented in small independent modules. Each module handles a specific rule. There is a “time limit” module, an “enemy count” module, … Even the demo AI on the title screen in now implemented in a “demo” module. When I start a game, I choose which modules I enable. This is really flexible and, I hope, will allow me to experiment and create lots of interesting mods for the upcoming versions.

I also added a few eye candy. Now the arena cast shadows depending on the time of the day. You can see here the same picture in the morning (left) and later in the afternoon (right). Yet, the creatures don’t cast shadows. I’m not sure this would improve the look of the game.

Finally, I also added a new “rush” skill for the player. This one makes it possible to run towards opponents, hitting and possibly stunning every one in the way. It’s also a good trick to escape your surrounding opponents when your situation becomes alarming…

So the 0.8 may follow 0.7 pretty quickly, but I still have to work on the core gameplay. I’m not satisfied with the fighting system. It’s still too tedious. Moreover, the new game modes are really challenging and I have to make the player stronger. I’m thinking about buffing up “lesser skills” and maybe adding superpowerful weapons that you unlock by winning challenges.

There is another cool feature I’d like to have but I still haven’t thought about it : fight replays. You should be able to save your fights and play them back later, and possibly post them on the Arena forum. But this may not be in the 0.8 as there are lots of pitfalls to overcome.

2 comments so far

Add Your Comment
  1. I’ve thought too about whether to have enemies casting shadows, but then: for dungeon-style FOV shadows, I’m not sure they’re entirely realistic (can’t see what’s behind a band of goblins?), and for another kind of day-time “simpler” shadows, I’m not sure how they would work since we’re already at the smallest resolution with the console. Not that it’s a bad thing, if we go this route we’ll eventually have sprites instead of letters, right? 🙂

    The rush skill seems pretty cool, do you actually move more than one space at once or something?

    I like the challenges, it’s a good concept that has proved effective in other games and it will surely improve replayability.

  2. I think shadows couldn’t work in arena because they would only be a shaded cell next to the creature. They work well in TCOD because in dungeons, you have torches that cast wide shadows (for creatures that are tall enough) and this bring a great spooky atmosphere.

    The rush skill make you run straight ahead on a pretty long distance (10 cells currently), hitting and stunning anybody in the way. You have to cast the skill, then the next movement you make triggers the rush.

    Challenges are great because they contain different gameplay than the basic ‘kill everybody’. Moreover, they can be used to highlight some features of the game, or force you to use skills that you wouldn’t have use in normal fights.