Showing posts with label Progress. Show all posts
Showing posts with label Progress. Show all posts

Monday, 19 April 2010

Onwards - a new roadmap.

0.05c will be released when I have potions and ranged combat implemented.

According to the old roadmap, I'm way behind on just about everything. Quelle surprise. Such is the life of the roguelike developer. Problem is, I have so many ideas for the game its preventing me from really developing it quickly. That, and the fact that I'm doped up to my eyeballs most of the time on venlafaxine, and that also I've got my dissertation ("Microquasar VHE photon production and its implications for microquasar identification, morphology and classification") to write this summer.

The two biggies coming up next to implement are persistence and magic.

Saturday, 10 April 2010

Progress Report #19

The next version will be out soon (yes, really!)

Here's the current intended feature list. I'm still working on finishing off the implementation of potions.
  • Potions have been implemented.
  • Some monsters now follow characters up and down stairs.
  • Only the just finished game will be now highlighted correctly in the hiscore list after character death.
  • Spurious double quotes (") will no longer appear in automatically generated character names.
  • When resting, there is chance of a monster appearing randomly near the character.
  • Eating now restores all lost health points.
  • When starting a 2nd game in the same session, the Character Background will be reset properly.
  • On Character death, the Main Window Title will be reset properly.
  • Elemental Intrusion Creatures no longer have as many hitpoints.
  • A Character Knowledge screen has been added that shows identified and unidentified items. This can be accessed by pressing "/".
  • Identified items that are restocked in shops are now pre-identified correctly.
  • A keyboard shortcut ("^") has been implemented to refer to the last item picked up.
  • Unidentified Scrolls are now identified properly on Character Death.
  • A Toggle ("W") has been added to the inventory screen that displays the weights of items.
And, yes, it will be still be in Delphi. There's too much done and to do now to start rewriting it in another language.

Thursday, 25 February 2010

Development Restarted

Development on Kharne has restarted (slowly, but surely). The next version will have the following changes and bug fixes:
  • Potions have been implemented.
  • Some monsters now follow characters up and down stairs.
  • Only the just finished game will be now highlighted correctly in the hiscore list after character death.
  • Spurious double quotes (") will no longer appear in automatically generated character names.
  • When resting, there is chance of a monster appearing randomly nearby the character.
  • Eating now restores all lost health points.
This last change was prompted by this thread in r.g.r.d.

Thursday, 18 February 2010

Alive

Yes, I'm still alive!

Thursday, 8 October 2009

Progress Report#18

Sorry for the lack of progress recently. I'm spending over 3 hours a day revising for forthcoming exams and that combined with a full time job, significant other AND two cats means I get little time for coding at the moment. I managed to do a couple of small changes but the next thing on the agenda is scrolls and potions, and those will be quite hefty to implement. And as such, I need to get these exams out of the way first. before I really start them/ After that, normal service will be resumed of course.


Thursday, 24 September 2009

Progress Report #17

Time for a progress update, I think. I've been pleased with the amount of work I've been able to do on Kharne recently, even though I should be studying. It has almost got to the point where I'm running out of things to do before I have to bite the bullet and start implementing potions, scrolls and spells.

I've implemented a form of Pseudo-ID. After a certain number of turns carried in the inventory, an unidentified magical item will pseudo-ID itself as such:


In the inventory, pseudo-IDed items will be marked with their quality:


Currently, the time it takes to Pseudo-ID an item is dependent only upon the quality. But there are many other factors that could influence the time it takes for Pseudo-ID to kick in. If you drop the item, the Pseudo-ID 'counter' resets and all progress towards Pseudo-ID is lost.

Of course, wielding/wearing them will still immediately identify it:


I've also extended the keyboard/inventory revamp to eating:

Pressing 'e' will bring up the inventory screen with edible items highlighted. Pressing the associated letter for an item will eat it, just like if you drag the item to the eat icon.

I think I will release the next version soon, even without the scrolls, potions and magic, or the refactor being completed. I just have to finish the keyboard revamp of the magic screen and I'll get 0.04 out the door for you good folks!








Thursday, 3 September 2009

Progress Report #16

Things have been quite recently on the Kharne front due to considerable real-life interference.

I have been able to continue work (slowly) on the refactor, and also on integrating the character creation into the main window. I've decided to remove the 'full' character create option, and leave just the 'quick' and 'random' methods available. I'll post some screenshots when I have it working enough to do so.

To answer a few questions that have recently come up in the comments:
  • There will indeed be a tiled version of Kharne eventually. Most of the code to handle tiles has already been written, but it hasn't been called anywhere. I'll probably go with the David Gervais tiles (just like the old Kharne did)
  • When I finish the refactor and release the next version, Kharne will officially go open-source (probably on GoogleCode). There will be a repository and bug-tracker set up to handle error reports.
  • Following a reply from the FSF, it is likely that Kharne will be released via the GPL instead of the MPL.
  • In a later version, pretty much all of the game settings will be configurable (via both appropriate windowed dialogs, or INI files).
  • Yes, Potions and Scrolls are coming, and will be in the next release.
  • No, I don't yet have a timescale for the next release. My last exam is on the 12th October, so I expect it to come out sometime after that.

Monday, 27 April 2009

Progress Report #15

Most Skills other than Magic have now been implemented. The orange numbers in the screenshot below show the progress for each skill to the next level.


One problem I do have is that the very wearing of armour can advance skill in it (and also the defense skill, albeit at a much lower level). I may up implementing something similar to Crawl's XP Pool as not having such a limitation could lead to problems. Alternatively, you could only skill up from wearing armour in the presence of monsters.

I've also made another change, once which is probably a candidate for the most pointless change ever in the history of a roguelike. I've changed the default 'wall' character from ASCII character 249 to a '#', for the simple reason that it looks much more 'roguelike':


And for that decision, you can blame the likes of MageGuild.

Incidentally, speaking of Mage Guild, I get this error message upon trying to load up certain games:







Friday, 17 April 2009

Progress Report #14

There's been a bit of an interregnum here recently in terms of development and posting (at least compared to the somewhat crazy standards I set in March), which I can now explain the reasons for. I've not done any coding on Kharne for a week or so, because I had the threat of redundancy looming (I'm a Delphi developer by trade at a smallish company which has been affected by the current economic climate). But that's been sorted out now and the threat has been lifted, and valuable lessons have been learned, so I'm looking forward to restarting coding on Kharne and getting v0.02 out soon!

In the long term this means I will focus more development towards C# but for now, Kharne will continue to be written in good old Delphi!

Sunday, 12 April 2009

Progress Report #13

v0.02 is not far off now, the big change is, alongside the implementation of ranged combat, is that dungeons are now persistent whilst you're inside a particular branch. Here's the current change log from v0.01e:

* Dungeon Levels are now persistent within each Branch - exiting a Branch entirely will generate new levels.
* Ranged Combat has now been implemented (left click on a monster to fire a projectile at it).
* The amount of HP and MP that characters gain on level up is now also dependent upon Fighting and Magic Skill levels.
* Added a Wizard Mode (accessible by pressing W)
* Monsters can no longer be generated in the walls of Vaults.
* Monster HP and Damage has been rebalanced.
* The XP required to gain a level has been increased substantially.
* Level Feelings are no longer immediately generated if you have recently navigated more than one set of stairs.
* Reduced the amount of gold that is generated.
* The elapsed game time (in real terms) is now displayed at the top of the Main Game Window. This pauses whenever the Inventory or any other subscreen is shown.
* Character Dumps now display the correct version number.
* Character Dumps now show the elapsed game time (in real terms).
* Digging now updates the visible areas of the dungeon correctly..
* Turns elapsed is now displayed in a more appropriate colour.
* Fixed a few minor grammatical errors in the Combat Text.

As I mentioned in a comment over at the Temple of the Roguelike, there is a real feeling of a game starting to shine through (at last).

The Wizard mode window is available by pressing W:

This lists the status of visible monsters, and gives you options for enhancing your character. Note that the 'Get Item' button will summon a random magical item equal to your level to your feet.

Saturday, 4 April 2009

Progress Report #12

This is the new Magic UI.

Thursday, 2 April 2009

Progress Report #11

This is the current change log (from Version 0.01d) for the latest development build sitting on my hard disc:
  • Monsters now have basic melee AI
  • The UI has been completely redesigned, incorporating the Monster Display and the Minimap into the main window. The Inventory, Magic and Stats screens have also been redesigned.
  • The Combat system has now been implemented for Melee Attacks
  • A Death Screen has been added
  • Players are now equipped with class and skill-appropriate starting equipment
  • Internal Monster Stats have been rebalanced
  • Added additional lesser vaults, which can now occur at all levels
  • Visible Monster Display now collates like-type monsters together.
  • You can no longer access monster details via the Visible Monster Display
  • Monsters can no longer be generated on top of stairs.
  • The Player always starts the two lowest-level dungeons (The Keep and the Wilderlands) in a safe vault.
  • Monsters are now displayed on the mini-map as red dots
  • The Player can no longer have negative abilities or characteristics.
  • Magic Items that give bonuses to Evasion are no longer as powerful.
  • The Main Window will no longer be sensitive to keypresses when it does not have focus.
  • Fixed a bug where you could pick up an infinite number of items.
  • Picking up more items than there are inventory slots no longer corrupts the Inventory.
  • Dropping an item on top of another item no longer causes an error.
  • Weapons now have proper Damage Ranges
  • Item Locations are now displayed correctly in tooltips
Compare this to the roadmap for the next Alpha version (probably 0.02, which is planned to be released sometime in May)
  • Major Interface Revamp
  • Finish Monster AI
  • Finish Melee Combat
  • Experience & Level Gaining
  • Death Screens
  • Character Dump
  • Wizard Mode

Tuesday, 24 March 2009

Progress Report #10

In parallel with developing the Monster AI routines, I've also been sprucing up the aesthetics of the various dungeons (and there's a very interesting thread on the aesthetics of ASCII over on r.g.r.d. started by yours truly) . Here are some screenshots:



And this last screen in monochrome:

Friday, 20 March 2009

Progress Report #9: AI Mutterings

So I've started work on Monster AI. This is going to be quite a big task. And already it has me wishing for some of the functionality of C#. The reason? LINQ.

Every turn, the AI subroutine will process the list of currently active monsters on the level, determining what to do from their programmed behaviour, current condition, hatred for the player and so on. So I need to find what monsters are currently active. Initially I have to scan the entire level looking for monsters who are both alive and awake (i.e. aware of the player's presence, usually by being in line of sight or line of sound of him/her).

I started off with storing a list of monster pointers in an integer array. Of course, to get any performance out of this method, I need a quick way of determining if the monster is already active. So I just search the array. Whoops. Its an unordered basic array of integers. Searching performance is atrocious.

Being able to search through arrays as if they were a dataset,e.g.


IEnumerable query = from s in names where s.Length == 5 orderby s select s.ToUpper();

would be the answer to this. Instead, lacking such functionality, I've decided to use an additional TObjectList to store the active monsters. Monsters that awake are added to the list, and ones that are killed are removed. Its not ideal, but it does the job, and does it reasonably quick.

Which is needed as implementing pathfinding for monster movement is pretty processor intensive. I've been experimenting with the free Delphi pathfinding components available here (demo exe here) and they seem to do the job, but for every monster that wants to move towards the @ (a later enhancement I'll add is moving them towards the last known position of the @) I need to recalculate the terrain costs of the entire level, and the only way for now to do that is to iterate through the entire level one tile at a time. Delving into the source code of the components reveals that they use a TBits array in their calculations, so I'm not sure there is much more room for optimisation.

Anyway, the AI is still a work in progress - dealing with finding the correct direction to represent monsters fleeing "directly away", (for whatever reason) from the player is proving to be a pain but for now here's a video showing the beginnings of the path-finding in action:



Since no combat has been implemented yet, the monsters cannot be killed, and near the end of the video you'll notice the @ stepping onto a monster, but the basics are there and starting to shape up nicely (that sometimes the screen draw takes more than 1 ms is due to the green diagnostic messages being displayed in the message log - standard performance even with the cost of terrain calculations being performed multiple times is still below a millisecond)

Sunday, 15 March 2009

Where to from now?

Alright, now that Alpha 1 is out, I'm going to take a couple of days off, play some of this year's 7DRLs (look out for some reviews coming soon of those), and then start work on Alpha 2.

Features that I would like to include in the next release are:
  • First iteration of Monster AI
  • Combat
  • Magic
  • Death and Victory Conditions
Beyond that, Alpha 3 would introduce persistence/saving, refinements to Monster AI, expanded Magic, with Alpha 4 concentrating on refining the interface and general game polishing.

I don't anticipate releasing any interim bug-fixes until the next Alpha unless they are game-breaking bugs that need to be fixed.

Friday, 6 March 2009

Progress Report #8

Here are some screenshots:



Things to do before next Sunday's release of the first demo:
  1. Get the monster generation code finished and some monsters out onto the map.
  2. Start work on saving and loading.
  3. Start work on the monster AI framework.
  4. Start work on implementing magic.
Not a lot to do. *laughs*

Tuesday, 10 February 2009

Progress Report #7


Drop Item functionality has now been implemented. I was originally going to include all the suggestions mentioned in the comments to my previous post on the subject, but due to a slight limitation with the Delphi VCL (for some reason TPanel components, despite inheriting from TWinControl, don't have the corresponding OnKeyDown events, and I'm not interested in creating my own TPanel descendant that can respond to said key events) I've only implemented drag-and-drop item functionality.

And now, onto monsters! This is a very exciting bit of development, as I have lots of ideas for their AI. As ever, the reference posts on AI in Roguelikes seem to be over at ASCII Dreams. Eventually, I'd like to adopt many of the ideas mentioned there, but for now, the priority is to get the monster data entered into the SQL-Lite backend and then from there a monster generation algorithm written.

A while back, before development was put on hiatus, I had written up a fragment of a top-level design document dealing with this. Here's an extract dealing with one particular set of levels:

The Fortress

Built from rooms and corridors
Filled with martial creatures
Level 1 to 5 Monsters




















































LevelMonsterSymbolColourClass TemplateFrequencyFaction
1Goblin‘g’Light GreyClass + 1Common1
1Kobold‘K’BrownClass + 1Standard2
1Xvart‘g’PurpleNoneRare2
2Hobgoblin‘g’BrownClass + 1Standard1
2Gnoll‘g’YellowClass + 2Common2
2Quokka‘r’Light GreyNoneRare2
3Quaggoth‘g’OrangeClass + 1Standard3
3Warg‘w’Light GreyNoneStandard2
3Trogg‘T’BrownNoneRare3
4Ogre‘O’BrownClass + 2Stsndard1
4Ogre Mage‘O’MagentaNoneRare1
4Hill Giant‘C’Light GreyNoneStandard4
5Cyclops‘C’BrownNoneRare4
5Ettin‘C’BrownNoneRare4
5Minotaur‘m’Light RedClass + 3Rare5


Although this document didn't go into detail on the individual monster statistics, there are a few things here which are of interest at the moment. The 'Class Template' column refers to an idea I had, of, like Crawl, a slightly tougher version of the monster appearing with a class template bolted onto it, e.g. instead of a standard goblin, occasionally a "Goblin Fighter" might appear.

The 'Faction' column referred to an idea I had of improving AI by introducing the concept of Factions and a variable called 'Hate', which would eventually allow monsters to fight each other if necessary (the player would always be Faction 0). I don't know if I'll ever get that implemented though.

(Edit: Reformatted Post to remove the big gap. Thanks to Robotics For You!! for how to do this.

Tuesday, 3 February 2009

Progress Report #6

Well, its been quite a while since the last one of these posts, hasn't it? (June last year in fact.) Although I've been busy doing other things for the last week, I've managed to get a few bug fixes into the code, and did some behind the scene coding on the targeting system.

But now I have a decision to make. Here is the current inventory screen:


My question is this: What is the best way of implementing "Drop Item" functionality? Currently, items can be picked from the main game window by pressing 'g'. Items are then worn/wielded etc by dragging and dropping (via the mouse) on the inventory screen (which itself is accessed via the 'i' key. But dropping items? Many Roguelikes have a separate interface for dropping items, but I'm not sure I want to go down that route. I do want however to keep the interface as simple as possible. Thoughts?

Sunday, 25 January 2009

Development restarted

After seven months away, and after about an hour's fiddling with paths and configuration settings, I recompiled the binaries and libraries for Kharne tonight. I guess development has officially restarted. First thing on the agenda: sort out some proper source control!

Thursday, 30 October 2008

Hiatus

Development of Kharne is in hiatus at the moment, despite my exams being over and life conditions ideal for coding. This is mainly due to a mistake of my own volition. I opened up Delphi recently to do some coding and was greeted by the following screen:


All standard and custom VCL components are missing and all settings have been reset back to not just default, but a pretty much empty configuration that is no good for anything except console apps. The packages (both standard and custom) are all gone as well and are unreinstallable. In short, my installation is totally corrupt. I think I caused this by partially uninstalling Delphi by accident whilst doing a major clean-up on the hard disc a while back. I’ve tried reinstalling Delphi but despite hacking about in the registry I can’t get any custom components reinstalled.

There’s an old urban myth going about that the Chinese word for “crisis” is a conglomeration of the symbols for “danger” and “opportunity”. So I think I’m going to take this opportunity, when funds permit, to upgrade my development environment to Delphi 2009:

Once I do that, development will restart at full throttle. In the meantime, I hope to be more active than recently on various aspects of roguelike programming.