Friday 6 January 2023

Money System Update

I have finished the new money/shop system for now. It seems to be working quite well. Still need to tweak the UI but that can wait for a bit. Once I have finished all the testing I will get around to posting a new build. 

At the moment the trade has to be equal. 

Still have to move the "Add Money" text to better spots and also need to redo the flavor text for items to display the same way the money does.


Thursday 5 January 2023

Money Redone

Today I focused on changing the way money works in the game and how the shop UI looks. 

Above you can see I have removed the text displaying money amounts and added in pictures with values next to them. I also updated the info display to tell you what each coin is and what it is worth.

Next I decided to change how you spend money.

Before money was just a number with no physical nature to it. So I turned it into an item.

No more auto cash payments in shops, now you have to select a coin and add it. 

No more auto update to high tier coin. Before when you say got 10 small copper that would automatically convert to 1 large copper. Well no more. You will need to find a bank or a trader who is willing to convert your coins for you. 

Still considering adding a limit to how many coins you can carry. Or adding carry weight into the game. Because it does sound strange if you could carry 1000 coins in your wallet.

Here you can see how you will be able to add money to your buy order. If the shop owner allows it they will let you exchange coins. There will probably be a loop hole I will be unable to fix that will let you exchange coins if there is an item in the list, but that will be a future me problem.

Still needs a fair bit of work to clean up and there are a couple problems, like the total only showing the value of one item and not the entire stack.



Tuesday 3 January 2023

Engine Update

So I took a break over Christmas and New Years.

I have spent this afternoon and a chunk of the night updating Raylib 3.0 to Raylib 4.2. 

It doesn't sound like a hard job but I was using a standalone version of Raylib 3.0 and to update it I had to manually move the required files over to my game directory. So it took a lot longer than I first thought it would take.

I did run into an error that will need to be fixed or a work around made so it may take me a bit longer before I upload another build.