Tuesday, November 26, 2013

1024x768

I've upped the default screen res to 1024x768. 800x600 isn't as feasible as it used to be when I started dev on the game, and even 1024x768 is pretty small by modern standards. No art assets have been redone, but that may come in time. The screens do look a lot mor spacious, especially the text-heavy ones during character creation.

Here's some screenshots.

In the Gatehouse at 800x600

In the arena at 1024x768


Class selection at 800x600
Class selection at 1024x768

Next task is to package up and release 0.912, drawing a line under the last six months of tinkering. Time is limited, and I'd like to do a bit more regression testing this time, so I guess it'll be out in a week or two.

Monday, November 11, 2013

Development Update

I've been working away at the bug and small enhancement backlog. Highlights include displaying class changing requirements during the level up wizard and ensuring that every modifier increases practice at most once every round. Starting kit data is almost all complete too, pending some balance though.

Another few fixes and I will roll up a release for distribution. It seems like a six month release cycle is where we're at right now.

Monday, October 21, 2013

Comment discovered in the source

@ mclachlan.maze.stat.magic.SpellBook#getSpellsThatCanBeLearned

// let's see if I can fight the cheap red wine and get this right
Clearly I didn't, as evidenced by bug #76.

Wednesday, October 16, 2013

An update and development and other things

Not much to report. I have been working on the GOAP AI, which hasn't really gone anywhere. It's proving hard to represent the world state meaningfully in a set of booleans.

I've also been fixing some of the bug backlog, some good fixes going in there.

Other free time has been spent on Swords & Sorcery: Underworld and Occult Chronicles. Both great, I highly recommend them. Alas the little boy isn't going to sleep on my lap in front of computer games any more. My future gaming time may suffer as I'm forced to react to his new found mobility...

Monday, September 23, 2013

Development update: Character Creation

The redesign of the character creation wizard is done. Here are some screen shots:

1: Race and gender. Would be nice to have a character race picture somewhere here, but that can wait I guess.

2: Character class (and spell books if applicable). Looks like there will be a problem fitting in more classes, I may need to make a plan.

3: Starting kit. Includes flavour text, modifiers and the actual list of starting items. This replaces the Modifier assignment step.

4: Spell selection. This only appears for character classes that start with spells. Random doesn't work yet.

5: Finally, personal details. Name, portrait and personality are assigned here. It also displays a summary of the character's starting modifiers, the sum of race, class, gender, and starting kit.

As part of this work starting kits have been normalised out into their own database table, rather than being an atribute attached to character class (and race in the case of Faeries and Dryads). I have a lot of work outstanding writing flavour text for all the various starting kits. That will happen over time.

I'm feeling like I should get back to the foe AI, but we'll see how it goes.


Monday, September 9, 2013

Development Update: No sooner said than done

I've been tackling the redesign of the Create Character wizard. When the muse takes you...

The work is not yet complete, but the new design is a lot more consistent and fun to use than the old. It now goes Race & Gender -> Class -> Kit -> Spells -> Name/Portrait/Personality.

Race/Gender and Class both benefit greatly from redesigned screens. Kit gets a whole screen and will become a "first-class" choice. Moving the personals section to the end adds some focus to those details.

Kit choice! Kits will include their own descriptions, names (they're currently named after the primary weapon), and a set of modifiers that replaces modifier assignment. This will make for a great chance to add some flavour, and hide new players from the complexities of weapon attack modes and spell book favoured modifiers. A redesigned screen will give me the chance to display all the starting items of each the kit for inspection by the player.

Work outstanding is the redesign of the kits screen, and a lot of data entry content creation around kit names and descriptions. I'll post some screen shots when it's done, I think this blog needs more picture.

Sunday, August 25, 2013

Development Update: Suggested Names

I've taken a short detour to implement a feature long in mind: character name suggestions during the character creation process.

Names are suggested based on the combination of race and gender, and are randomly selected from a list configured in the editor. The 'random' generation on the screen will also pick a random name now.
I've been thinking that the character creation wizard needs some changes, it's a bit scattered and crowded right now. I'd also like to eliminate the modifier editing in favour of preset modifiers on starting kit...

Monday, August 12, 2013

Development update

Foe inventories are now populated on spawning from their loot tables, and prior to combat each foe has a chance to fill any open slots with appropriate equipment that it may be carrying.

This has an some indirect impacts on loot drops. First, each foe now generates loot prior to combat rather than all loot drops being generated at the end. This open up some interesting options for theft/breakage/other impacts in foe items that I had planned many years ago but never come close to implementing. Second, foes that rely on equipment (hirebrands, leonal knights, etc) will now drop stacks of loot. I may need to work in some kind of destruction of items before dropping them, and will probably need to implement the long-dreamed of party-inventory.

Opening one door always reveals more doors to explore beyond, but these ones are for further in the future.

Hooking up actual foe behaviour to equipment and the GOAP AI will be a lot of work still, so I may have a go at cleaning up the open bugs and cut a release before tackling it. We'll see.

Monday, July 22, 2013

Development update

Foe attacks have been refactored into natural weapons (melee and ranged), spell-like abilities and plain old spell books. UnifiedActor now has access to all three.

Character races can now be assigned natural weapons, but the player can't yet make use of them. In time, in time. Races and character classes will also receive multiple spell-like abilities, rather than the current single special ability. Those two changes will need a UI update...

On the other end of the change, I've written a simple Goal-Oriented Action Planner in a reasonably general-purpose way. World state is stored in a set of booleans. Given the starting and desired world states and a set of actions that each have a cost and change the world state, the AI can plot (via an A* graph search) the least-cost path to the desired world state. Credit goes to the GPGOAP project for showing me how easy such a thing could be to implement.

So the end game in sight is that every UnifiedActor can express a list of possible combat actions every round. Players select them via the UI. Foes will run their list of actions through the GOAP AI and use what pops out. We're still some way off from that, and the magic will be in expressing cost and world state changes of every single foe combat option. Garbage in will mean garbage out, as always.

Friday, July 5, 2013

Refactoring Continues

The foe data model has been refactored out to be based entirely on UnifiedActor. The upshot is that Foes now have access to a number of things that only PlayerCharacters had before (e.g. inventory, equipable slots, wielding combos, race, class (and multi-classing), gender, spellbooks), while PCs in turn have access to a few things that were once Foe-only (e.g. arbitrary body parts).

What remains of the refactoring is to generalise a number of features of Foes that get in the way of letting them just use items - notably the FoeAttacks. These will get refactored out into Natural Weapons associated with body parts, special abilities, and the existing spellbooks. A nice side effect of this is that PlayerCharacters will have access to natural weapons and multiple special abilities with a little more work. Yetis, I think, will get claw attacks.

After that it's on to writing some AI for foes to actually equip and use the items where possible. Each foe will get it's items from the configured loot table, and before combat get a chance to load out whatever slots it has available to best effect.

The indefatigable Rob A has done some invaluable testing and has filed a bunch of issues over in the tracked at SourceForge, which I will get onto after that.