May 15th: The big mean bug update!

It feels like we've been gone for 3 and a half months... and we've been. I'm gonna explain what we've done these past months but before let me tell you, this blog is all about bug fixing and technical issues, so it could get kinda boring next to the other ones.

First, the good ol' bullet-point-list:

-FINALLY fixed the big mean bug that allowed the player to plant in the air.
-From now on you run by default and you walk by pressing 'Shift'.
-From now on you sell in bulk by pressing 'Control' instead of 'Shift'.
-Refactored pause and unpause, making it useful for inventory and UI stuff.
-Completely revamped dirt's connection system to make it more efficient.
-Remade the dialogue system 
from the ground up (Not the final one, but a proof of concept)
-Added an Scriptable Object Editor.
-Added the ability to close the inventory with Escape.
-Added more debug commands.
-Added sound volume options.
-Added MULTIPLE optimizations to the code.
-Added a farm scene.
-Added a debug teleport to the farm scene.
-Fixed bug that prevented the 'Buy' button from working properly.
-Fixed bug that prevented the 'Softlock fix' debug button from working properly.
-Fixed bug that allowed the player to open the pause menu once again while in the options menu. 
-Fixed bug that allowed the player to open the inventory while in the pause menu.
-Fixed bug that prevented the player from closing the pause menu with Escape. (Seems like this went unnoticed for a while).
-Fixed bug that caused music to play more than once while you sleep.
-Fixed bug that allowed the player to plow land while on the pause menu.
-Fixed bug that allowed the player to plow land while on the inventory menu.
-Fixed bug that prevented the player from opening the inventory after closing a chest.
-Fixed bug that prevented the player from opening the inventory after closing the sell menu.
-Fixed bug that caused both midday and midnight to be "12PM"
-Fixed bug that misplaced the player when changing scenes.
-Fixed bug that avoided the seed amount number to update if you moved a certain seed from the hotbar to the inventory, buy a couple more seeds of the same kind and then opened a chest... pretty specific one...
-Fixed a bug that allowed the player to skip a whole day by spamming the 'Sleep' action.
-Fixed bug that allowed the player to sleep at any given time.
-Fixed bug that prevented the player from moving after sleeping.
-Removed bowling minigame.

With that said, let's talk about the oldest bug in the game...

The big mean bug.

What you see there was our biggest nightmare since may 2022 when we added the conected textures features to the game. The video is enough explanation; for some reason, you are able to plant a seed in mid air if you look at a plowed land from certain angles.

Okay but... why does this happen?

We had a couple theories at the beggining; our first suspect was the raycast. You see, in simple terms, a raycast is a fine line that comes out of the player's face (in this case) and precisely calculates and identifies the place you are looking at. We use a raycast to allow the player to interact with stuff.

We were afraid that the raycast was rounding numbers to fix them on integers, causing this bug. Thing is, What was the range? Where can we change this range? Is it even modifiable?

Who cares!? That wasn't the issue at all.

After a whole year and 5 different programmers, someone found the issue.

But first some context...

Hi, I'm Sasha, once again. Even tho I'm the Desing Director, since we don't have a 3D modeler for the game, I am the one who created all of the 3D models in the game. Let's be honest, before the beggining of the development of this game, I had NO experience on 3D modeling. Never even opened a modeling program such as Blender or Maya. IN FACT, in the begining, the models were made in MagicaVoxel (and we all know how that ended up).

Given this context, the issue was...


For someone as unexperienced as I was, this might look normal, Where is the issue?

See that point where the green and red line meet? That is the X0 Y0 Z0 coord. My models were... offcentered.

THIS WHOLE TIME the issue was because the models were offcentered.

I had to manually fix every single 3D model in the game to fix this. Which caused their animations to stop working. And, since our animator will be busy for a while, all the animations will be gone for a long while.

That was... bittersweet, but at least the bug is gone.

And that is one of the many reasons why we were gone for so long. After January 31st Update! I've made a big 'To-do list' with some of the most annoying bugs I and the testers found and asked the programmers to concentrate on those before releasing a new devlog. I really thought this would be done for February 28th but certainly it wasn't that way at all. We also had some other personal issues in the middle, but nothing that couldn't be solved.

Okay, cool. Nice bugfixing blog. Anything interesting to share?

First of all, you are a very aggressive voice in my head. 
Second of all, we've been working in a couple new things such as:

New models!

On November 1st: The Hoe Update! I said that the next month will be about replacing placeholders. Of course, we've been working on that too!

For a long time now we've been using placeholders for the selling boxes


Some said they thought these were from Crash Bandicoot... I do not see it.
Soon, we'll have our own models.



Aren't they cute?

Map layout!

Remember this from the bullet-point-list?

"
-Added a farm scene.
-Added a debug teleport to the farm scene.   
                                                                       "

Well, that means this:


This may not look like much, the floor has a texture, there are a couple cubes and a flat house. But this is just the beginning for the whole farm level! You may not understand how important this is now, but soon it'll all make sense. 

What about the game's name?

Shut up!

And that's basically it. We sure hope we don't disappear for this much time again, and that we have more to show next time. 

Also! Check out the January 31st Update! blog again, our staff list has been updated!

Bye! Have a great time!












 


Comments

Popular posts from this blog

More characters!

June 15th Update!