On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Today devlog 05 (Translated into Papago)

Today I fixed the bug in game I submitted to Ludum Dare.

It's been a day and a half, and I didn't know bugs were there because I didn't have any feebacks on bugs. LOL

Almost in the afternoon, I woke up weakly, ate, fell asleep little, and went to the Ludum Dare page.

I checked the alarm with comments and I was able to get a feedback on the bug in the comments.

Besides, there's nothing wrong with running it in the editor, but it's a bug that appears when I play an export with one file.

The enemy created in the game was sprites randomly generated in many places, but the location itself was fixed up to the left.

No matter where the sprite is, the enemy has to attack from the upper left.

There is no code that directly touches the enemy's sprite position.

But it's only in the upper left corner that all the objects in the enemy's position are created in the upper left corner.

While I was opening this and that, I found something strange.

When the enemy created the pill object, they referred the target to the node path, and they looked at the target and rotated the vector value.

But the variable with the node path was empty.

But there was nothing wrong with the game.

I don't remember if it was empty from the beginning or if I pressed the wrong button to delete it, but the last time I saw it, it was empty and there was no problem in the game.

What was it referring to? I've reproduced the process of creating pill objects.

When I create a pill object, I did not create an instance scene from the beginning.

I just wanted to get the results right away, so I made a local scene of a pill object, and I left it and kept testing it.

It didn't bother me to target the player in the game.

But when I saved the pill scene as a separate scene and opened the scene, the node path part was written in a string.

I think it's because the root scene has changed.

So, I wrote down the script directly the node path and the bug was fixed.

In addition, when the player spits out the pill, player adds_child to playerself, not to the root scene, so that when the player rotates, pills are moving away.

I took a rest after this much today.

It's only been 5 days and I feel exhausted already.

If I hold an unknown problem until dawn, I'll be completely discharged for a few days...

This bug was fixed quickly, but I think a lot of things happened, including not only the bug, but also the process of re-modifying ideas for game fun.

So I'm going to stop here today.

It's only been five days since I changed my mind. I have a lot of time, right?