Tuesday 18 April 2023

A bit of a Break

Got a bit burned out with the Ai and decided it was time to have a bit of a break from making the game. 

Haven't given up on it. Been reading books and playing games of the same genre to give me more ideas for the game.

Tuesday 28 March 2023

A* is finished

I have successfully added A* to the game. It seems to be working quite well I just have to update the wolf code to have the animations follow the path and add in line of sight code to have it be a bit better.

With this I have even got the A* to update the obstacle list to remove the node the tree is one once said tree has been removed. 



Monday 20 March 2023

A* PathFinding

In the process of adding A* pathfinding into the game. This is the first time I have attempted to do pathfinding so it is taking me a little more time than I originally thought.


This is a test gif of the code working from random locations.


This is an image of the wolf enemies having the code and trees acting as obstacles.


Tuesday 14 March 2023

Save game info

I have made it so the save games will now display as date and time. They will also give player information so you can tell what save is what. Also added a confirm window when overwriting a save file.




Tuesday 28 February 2023

New Trees and Dropping Items

Been working on adding new trees to the forest and the ability to cut them down and collect wood from them. Each tree is saved when leaving the area and will be added to the save file next time I go over them.

I normally go over the saves just before a major release. Saves me time and I don't really want to rewrite the save code every time I add something new to the game.

The trees are drawn in a way that puts the player either in front or behind the tree. Unfortunately I am unable to figure out how to do that with any other moving object, so the wolfs will look like the trees grow out of them. I am sure there is a way to figure it out in the future.

Gif of new tree and material dropped.

All wood is usable in the fireplaces at the Tavern and can also be sold to the tavern owner.

Using the trees as a reference I managed to be able to get items that are discarded to drop at the players feet. This is only doable as of now in the town. Once the code if finalized and working properly I will add it to the rest of the game world.

Gif of dropping potions on the ground.

The gif only shows potions being dropped but it is working on 80% of items that are already in the game. I will also make it easier to discard items. May bring back the right mouse button to do it.


Extra.

All herbs and mushrooms now save their locations when the map is changed. They will also respawn after a set amount of time has passed if all have been picked up.








Friday 24 February 2023

Version 0.14

Version 0.14 is now finished.

I have updated the change log to show most of the changes. This is a big update because it changes old and adds new systems to the game.

New death screen and respawn penalties.

New damage system.

New armor system.

New shop and money system.

Read change log for most of the changes. I may of missed a couple.

Also updated the readme file in game folder


Updated download on the right to link to version 0.14 and also added a link to the games builds archive.

Wednesday 15 February 2023

Bug fixing and Saving

Been working on squashing all the bugs that have appeared over the last few builds. Found out build 0.13 is full of game breaking bugs. My bad.

Finished fixing the last of the texture bugs yesterday.

Apothecary shop texture bug.

The above error was happening in all shops. All textures were being replaced with the last texture that was loaded.

That is all fixed now.

I have moved on to fixing saving the game. With all the new items and features I have added lately the save files have all been broken. Cant say how long it is going to take to fix them.

Once the game saves properly again all I need to do is run some test and I will have a new build ready for people to try out.