Alpha 7 bugs

So far Alpha 7 works out quite well. Collected only half a dozen of crashreports, mostly related to GPU drivers. There are couple of recurring bugreports that I would like to address: Continue reading

Posted in Feedback, Sidenotes | 12 Comments

Alpha 7 is here!

Alpha 7 is finally ready!

kp_2016-09-03_18-34-31

It took a long time, but the list of improvements is also long:

  • Improved Win/Defeat graphics
  • Reworked terrain to allow for textures
  • 21 new terrain textures
  • Terrain surfaces painting with weights in MapEd
  • Improved and reworked some house models (Stonecutters, Sawmill)
  • Improved water reflections
  • More temp house models (not final)
  • Performance charts show CPU and GPU usage
  • Autosave interval now can be changed from settings
  • More placeholder sounds (not final)
  • Automated game installer
  • Allowed to build towers within 10 tiles from houses without need for a road (not final)
  • Packed all data files into a single resource file
  • Reworked fighting mechanics to be less random (not final)
  • Show unit hitpoints and damage in GUI (not final)
  • Allow to select and see basic info about enemies houses/units and animals
  • Placeholder houses now have player flags too
  • Added separate “neutral” player in MapEd for animals
  • Made animations smooth on high frame rates by adding interpolation between frames
  • Tweaked wares production rates
  • Improved how AI selects houses to build
  • Fixed how AI plans and stocks defence lines
  • Added developers function to save a game into a mission script
  • Units thoughts are visible at any zoom level now
  • New campaign map “Bad Neighbours”
  • Indicate when house has no connecting road to be built or has no worker assigned

This is still Alpha, there are likely a lot of bugs, flaws, incomplete things, broken mechanics and such.

Build has been updated to r4320 (crashreporting was missing)

Download links:

[Download not found]
or
Knights Province Alpha 7 (7z package)

Posted in Downloads, News | 12 Comments

Today’s improvements

Today was a productive day for small fixups:

  • Lots of renaming and refactoring in code
  • Fixed falling tree sound played behind fog of war
  • Added dev button to save running game into a mission (map + dat files)
  • Made fog of war updates every other tick (reduced CPU load, visually unnoticeable)
  • Matched naming of Options/Settings menus in main menu and in game (Options win)
  • Unit thoughts are visible irregardless of zoom level now
  • Added 2-nd flag to School house for better looks
  • Fixed x2 slowdown building speed broken a day before (my bad)
  • Temp sound for small buttons click (same as big but softer)

Now the game is at revision 4260

Posted in Live progress | 7 Comments

Note on Knights Province animations and how they got better last week

Knights Province needs a lot of animations. They are essential to making the games’ world feel alive. Here’s how they work and how they just got better.

Animations start with a skeleton rig. Rig is a description of how character skeleton bones are located and which of the characters parts they affect. Typical character rig in Knights Province consists of ~20 bones. 20 is a good compromise between animation visual quality (more is better), animation cost (less is cheaper) and game’s performance (less is faster). Typical rig looks like this:

skel

Continue reading

Posted in How things work | 6 Comments

r4186 – Interpolating animations and refactoring AI

Smoothed house and unit animations. Where they were sampled at 30fps and nearest frame was picked to render, now the render shows interpolation result between two frames (article will follow later).

Did a lot of work on refactoring old code, simplifying and cleaning out. Moved code bits around for better and more logical layout.

AI parts responsible for choosing a house to build got structured better.

Posted in Live progress | 2 Comments

GUI improvements for upcoming Alpha 7

Added soft shadows around game panels. Also made panels to come to front and overlap other panels when clicked:

2016-08-16-forms

Posted in Live progress, Sidenotes | 6 Comments

Getting back to the game

This weekend was devoted to getting back to the game

2016-08-14-entrance-fence

What has been done towards Alpha 7:

  • Allowed to select enemy and neutral houses and units and see their generic info
  • Added entrance element to house plans fences
  • Added neutral player in MapEd, animals could be placed only for that player now
  • Had to revert terrain smoothing, it worked wrong on fences. Proper solution is planned
  • Fixed 1 second minimap update delay on mission start
  • Worked on moving all data files into a package
  • Minor updates for some maps
  • Fixing GUI errors and crashes in MapEd
  • Fixing houses/units names (changing pigs to cows, skins to cowhides, etc.)
  • Improving statistics menu layout
  • Optimized flags rendering
  • Added flags to almost all houses and house placeholders
  • Tinted bottom edge of fake houses for better lighting feel
  • Tweaked warriors HP display
  • Fixed idle warriors animation loop and also made all warriors to idle not in sync

All in all that resulted in 73 commits, and now the game is at r4093.

Posted in Live progress | 3 Comments

Lower priority

I’m going through some busy times which put Knights Province development on a lower priority for now. Haven’t touched the game in 5 weeks and looks like won’t be touching for another few. On one side it’s a bad thing, because I’m loosing momentum and development schedule slips (Alpha 7 gets delayed). On the other hand there’s a good side – I will have a fresh look on the game when I get back to it.

Stay tuned for updates!

Posted in Sidenotes | 5 Comments

4000 commits, yay!

Did 4000th commit into Knights Province repository yesterday – another milestone! 🙂

Took me some 2,5 years.

Posted in Sidenotes | 9 Comments

Reworking fighting mechanics

This week I was working on new fighting mechanics for Knights Province. I want fights to be a little less random. Hence units will have a lot of hitpoints and proper damage range.

Should these numbers show to a player? We’ll see about that later )

2016-06-17-hitpoints

Posted in Ideas, Live progress, Screenshots | 21 Comments