Smoothing and Screen Sizes

Wow that has to be the dullest title of one of my blog posts yet.

I’ve actually had to do quite a bit of really quite dull stuff on the game over the last month or so. It all started one hot late summer day when I decided to add in the gathering nodes since the first dungeon was kinda finished.

I’ve added yet another editor that allows me to place little sparkling gathering nodes in bushes or grass or on tress or rocks (for gathering plants, wood, rocks/ore).

So here’s how gathering works:

  1. Have the skill (you have 3 basic one’s by default).
  2. Have the appropriate tool. This will allow you to see sparkling points where you can gather items from.
  3. Find a sparkling “node” and then press collect.
  4. The guy will then gather a random amount and rarity of items from the node and it will disappear.



Like so.

So that works nicely. The nodes reappear after a while but only if you go away for a randomly amount of time and a random distance. I may make them randomly spawn a different spots too but later.

Ok so gathering works nicely now and as you can see from the right screenshot the bottom right now contains notifications of when you collect something and also when you get an increase to your skills. I’m going to reuse that a bit for other things. They slide on nicely, stack up, then fade away.. I kinda of borrowed that idea from another game but maybe I’d better not say this time. I think the effect is nice anyway.

And now onto a bit of a side track which I wasn’t supposed to be going down: FXAA. For those of you who don’t know what that is. It Anti-Aliasing or just basically making the image look a bit smoother by slightly blurring areas where there are jagged lines and it’s easy to see the pixels. That’s a very basic descript but I won’t bore you with the technical details. If you’re interested, it was invented by a guy at NVDIA and is used in many modern games since it doesn’t slow the game down much and produces a nice improvement. What is FXAA?

Ok so that calls for a before and after:




It really make a nice difference where there’s a large contrast between the sky and landscape (although that will be further improved by post-processing distance fog later on as well). But it also makes the edges of leaves of trees, rocks etc all look a little more smooth. It’s the illusion of more pixels basically.

The game now handles various screen resolutions all the way down to 1024 and up to 1920. For some of this it was a simple transformation matrix but for other screens ie pretty much user interface screen there is (merchant, skill trainer, innkeeper, quest npc, quest reward etc etc etc) I had to make it centre itself based on the selected size and even resize itself and use a smaller font in some cases. This was a rather dull and massive undertaking but it was necessary of course and allowed me the opportunity to tidy up the UI code.

All that tidying and screen size stuff has made it so I can now easily design my new and hopefully final user interface screens:

  • Skills – Picture and detailed description of all the skills the player knows
  • Recipes – Everything the player knows how to make along with things they have an idea about but have not completely learned yet (Atelier style).
  • Crafting – A two-step process of selecting the item you want to make from a list (showing what ingredients are required and you success chance along with the final result). The 2nd step is to select ingredients (quality and amounts) and press craft and either end up with the item or not.


Ok so that’s what I’m working on next.

I’ve also made a story tree (Like Detroit: Become Human) for my actual story so the player can go down various story paths for different endings. Some actions are good, evil, some just effect where the story is going.

I also did some more world building design to fill in some of the empty areas which I’ll be doing shortly.. the world is just so damn big!

Until next time…