Saturday, August 21, 2010

libtcod 1.5.1b1 released!

As many may know, Magecrawl uses libtcod (via libtcod-net) for both graphics and engine support (FOV, LOS, etc). Months ago, I created a SWIG'ed version of libtcod-net, so that I could stop supporting a hand-rolled wrapper. A (beta) release featuring that has now come out.

If you use libtcod via c#, I highly recommend upgrading to the new wrapper, as the old one is deprecated and no new work will be done on it. Also, the new version has OSX versions for both C# and native C/C++ developers.

Get the hotness here.

Thursday, August 19, 2010

Iteration 10 - The long road to slices (want to get out and help push)?

So I've spent this week doing "research" on what next lies in store for Magecrawl.

The first thing I've realized is I now have a good "family tree" for Magecrawl. While Magecrawl isn't developed enough for Crawl to consider it a legitimize offspring, it provides much of the inspiration and root ideas. Things like tactical gameplay, high difficulty, removal of any "grinding" gameplay, and a crazy good auto-explore are all things I aspire to have. Borderlands takes the role of the crazy uncle that rubs of a little bit. It provides such a varied equipment set that playing the game a second (and third) playthrough is fun and interesting. Diablo can be considered one of the grandfather figures. It to me was one of the great dungeon delve games of my youth.

My serious hope is that is the last "iteration" in the series to build up a game engine. Tasks I want to finish to put me in a great place include:
  • 55 open issues in my bug database, mostly minor and a few major features. Some major ones include:
    • Better monster AI using sounds or smell
    • Status effects from various schools
    • Better use of spell effect areas to differentiate the schools
    • "Typed" damage, just as fire or physical. Resistances to various damage types.
  • Refactor the GameEngine library into multiple separate libraries, pulling out:
    • Monster creation/behavior
    • Status effects
    • Map creation
  • Some form of basic integration testing for common operations.
  • Some form of "arena" for testing the weights of various skill tree nodes, along with the possibility of an awesome screen saver.
So yeah, that's a lot of work. I'm in no hurry to start working a masses of content for a "slice" game, so if it takes me multiple months, it isn't the end of the world.

While I'm still planning on working on Magecrawl (a lot), I feel like I'm in a good place to open up development to others if they are interested. Developing on Magecrawl offers:
  • A relatively clean/nice C# codebase
  • Licensed BSD
  • Works on Windows/Mac/Linux, development is possible on any platform
  • The possibility to implement high level functionality on a working game, as opposed to starting at square one with an @ walking around the screen (not that there is anything wrong with that)
If this sounds interesting, feel free to contact me at chris dot hamons at gmail dot com.

One last thing, I re-realized how awesome Ascii Dreams is. The "Designing a Magic System" serious of articles and the follow ups should be on the required reading list for any future roguelike developer (or game developer in general). I wish he updated it more often these days, the content is golden.

Sunday, August 15, 2010

Release aftermath and thoughts

So, the new release has been on the interwebs for a few days now. I figured a post with thoughts and future plans was in order.

  • Some people had issues getting things to run. All of them involved needing either the MSVC 2010 C runtime, or the required mac frameworks. I didn't have them listed on the release page, which has been fixed. In the far future, and installer for magecrawl would be nice to take care of stuff like this.
  • Very little feedback so far. Maybe the summer and quick release since the last tech demo have something to do with that...
  • No crashes or savegame corruption reports so far. If people got the game working, it seems to be working fine.
Now that it is out the door, the next question is "now what?". Here are my current thoughts:
  • Spend the next week collecting game play ideas. My wife pointed out this means I can play video games and call it "research". Magecrawl has matured past the point that calling it a tech demo is becoming a stretch, yet the gameplay is kinda bland. I want to come up with interesting mechanics to make combat more than "jam damage spell, unless I can hit more than one with a bigger spell".
  • Iteration 10 - Yes, one more. I have a ton of things I need to do, refactors, cleanup, and minor feature polish. 
  • Slice 1- Once I get the base in good shape, I need to come up with a "theme" for my slice. I plan on picking one skill tree, and one/a few map types, and create a lot of content. For example, maybe the arcane tree and ruins maps, or the fire tree and interesting caves. I'll jam it out to be a "full length" game, seriously this time. It might be shallow, but it'll be complete.

Thursday, August 12, 2010

Magecrawl Tech Demo III v2 Demo Video

I've wanted to put together a quick video demo'ing magecrawl for those who want to see the game before downloading it or are having trouble getting started.

I found some decent software which made creating the video easy enough to tackle tonight. If anybody has a pointer to free software that captures screen video and sound and outputs to youtube, please let me know in the comments. Jing, the software I used was easy, but it outputs only to a flash file unless you buy the pro version.

Eitherway, check it out here.

Magecrawl Tech Demo III v2 released!

I am pleased to announce the release of "Magecrawl Tech Demo III v2". Released two months after the previous Tech Demo III release, it adds features that I wished were part of that release, but not enough I feel to bump it up to number "IV". Highlights of the user visible changes in this release include:
  • Difficulty that won't melt your face
  • Concurrent Mac/Linux/Windows release with a single release zipfile
  • Monster and Items that scale as the game progresses
  • Long term persistent effects
  • "Backgrounds" - Starting configurations of skills and items
  • New skill trees with tons more skills
  • Smarter AI
  • New spells, items, and monsters
  • Bug fixes, and balance fixes
One important note for Linux users, due to a last minute found bug, you will be unable to save unless you add the following string into your Preferences.xml file

< UseSavegameCompression > False < /UseSavegameCompression >

If you run into any crashes, please send the created file "DebuggingLog.txt" to me (chris dot hamons at gmail dot com), along with any save file you have.

One last thing, please seriously consider filing a comment or sending me an e-mail both letting me know you checked out my game and your thoughts. Feedback is the breakfast of champions you know.

Now that I've made you read though all of that, binaries can be found here.

If you haven't run Magecrawl before, here's is what you need installed to make things work:
  • Windows - .Net 3.5 found here. You might need to 2010 C RTE here.
  • Mac - Mono found here. You probably need the frameworks SDL, and libpng.
  • Linux - Also mono found here, however you might want to try a copy installed by your package manager first
Here is how you run Magecrawl:
  • Windows - Unzip the zip file somewhere, and double click MageCrawl.exe
  • Mac/Linux - Unzip the zip file somewhere, open a terminal and cd to that directory, and run "mono ./MageCrawl.exe"

Wednesday, August 11, 2010

"Leaky" stamina, and other "balance" changes

So, I'm still hacking out changes to make Magecrawl playable.

The major change of the night implements what I hope is a solution to the HP problem I talked about last post. I decided the underlying problem was that going from 100% stamina to 5% stamina involved zero risk. Now, once your stamina goes below a cutoff (currently 80%), there is a chance that some of the damage will "leak" through and apply directly to the underlying health. The chance is inversely proportional to the amount of stamina, so you are much more likely to leak at 20% stamina than 75%. This changes make combat more dangerous overall, but having lots of stamina is still useful but not overpowering.

Other changes I've implemented this week include:
  • Map generator won't generate a horde of monsters on top of the player starting position
  • Monsters will notice the player from farther away when they are wearing heavy armor (noise).
  • Toughness skill will now give health instead of stamina, giving the player the option to "buy" more long term health.
  • Bug fixes, seriously lots of bug fixes.

Monday, August 9, 2010

The problem with HP...

I know I've linked to this tv trope, but it is seriously still true in magecrawl. For those not playing along at home, here's what the current system is:

HP is divided into health and stamina. Damage taken is drained from stamina first. Stamina quickly recovers in between battles (assuming you aren't noticed by enemies, you can't rest then). Health damage requires magical healing to fix up. Stamina represents your ability to dodge and block damage enough to get out only with scrapes, bruises, and surface cuts. Health represents actual wounds, while bandaged up enough not to get worse, would normally require weeks to heal on their own.

Let me show you my current problem with an example:

Given 100 health and 60 stamina, you fight a monster which on average does 20 damage per round and takes 4 rounds to kill. Given these stats, you'll exhaust your stamina every fight, taking 20 damage to your health. In five fights, excluding magical healing, you will be dead.

Now repeat with 80 stamina, you on average take little to no health damage, extending the number of one-on-ones to tens or hundreds. If you repeat with 100 or more stamina, you'll extend the theoretical number of battle you can last, but you'll never get close to the "jump" between 60 and 80.

This creates a problem with skills and armor that increase your stamina, at some point you'll be able to solo monsters with no danger of taking semi-permanent health damage. I have a few solutions I'm playing around with:

  • Make the line between stamina and health less clear cut. When you are at 100% stamina, you are sure any damage you take will be stamina related. As it decrease, there is a higher chance some of the damage goes to your health.
    • Advantages - Makes battles less one sided, as any blow after a round or two can be lasting.
    • Disadvantages - Adds a significant luck factor
  • Make healing stamina take resources
    • Advantages - Makes every battle matter
    • Disadvantages - Makes every battle matter, makes it easy to want to micro optimize which isn't fun. Starts to approach the dreaded "food" system in other roguelikes.
  • Make low stamina penalize certain attributes, such as mp total or time in between actions.
    • Advantages - Makes stamina damage matter.
    • Disadvantages - Can snowball, making you more likely to take even more damage. In a game with permadeath, this can get nasty.
  • Make the stamina and health levels relativity constant (they increase at a rate similar to monsters damage output). Skills/armor give other benefits than more stamina.
    • Advantages - Makes balancing easier. One you have a good setup, just make sure the rates of growth match.
    • Disadvantages - Intellectually unsatisfying. Keeps player from feeling any tougher, as at the beginning of the game to the end, the can pretty much only take x hits from a even level monster, where x stays constant.
I'm currently leaning towards the first option, but am unsure right now.