Sonntag, 8. September 2013

Bugfixes and code optimizing


Phew, that has been a lot of work.
I changed the whole programm-code by changing many, many variables from tiles to Types. That saves a lot of memory and the code is now slim and optimized.
It is also easier to add features to the game, because the code is much easier to read now.


Edit: 07.09.2013
  • Changed:
    Many Tile variables now saved as Types. Another 50 MB of memory saving on a small map.
  • Bugfix:
    You can now walk on glass-blocks
  • Bugfix:
    It is no longer possible to place background-glass-blocks over (solid) background-blocks

  • Bugfix:
    Open doors does not block light from lamps anymore
  • Bugfix:
    A lot of Bugfixes all around Doors

a closed door is blocking the light from the bulb, an open door does not

Samstag, 7. September 2013

Crafting is now possible


The development progress has been very slow during the last month due to real life (job, family). I have still fun programming this game and with every small step it is getting better.

Crafting is now possible, but at the moment there are only a handful of recipes. The crafting is very similar to the one in "Terraria".



Edit: 15.04.2013
  • Changed:All sorts of Tiles, Items and Tools are now saved as Types. Saves a lot of lines of program code. 
  • Bugfix:Items placed on furnitures got lost when building a background tile
  • Changed:Save-files are much smaller
  • ToDo:Daylight-Calculation is still not optimal, to much calculations during dusk and dawn


Edit: 23.07.2013
  • Added:Furnace for crafting items
  • Added:Different Hitpoints for Back-, Foreground and Items
  • Changed:Classic Torches can be hung up on background tiles
  • Bugfix:New Material-Typ "Transparent" for glas-blocks or background-glas
  • Bugfix:
  • Chopping trees is only possible with an axe


Edit: 06.09.2013
  • Bugfix:Mining-particles occurs only on mining front-tiles or user-build background-tiles
  • Added:Three deco objects. Two vases and one small cup.
  • Changed:Item SizeX / SizeY is not longer saved in every tile on the map. Saves some memory.


P.S.: It looks like i have been working on this game on only three days in the last months. This is not right, this is only a summarize of the work i have done.




Inventory with crafting and some new items