ᴆᴀᴎᴉᴋᴀᴢᴇ
@danikaze.bsky.social
2.7K followers 1.2K following 990 posts
I've made up my mind and this time I'm coming back as #solodev + #indiegamedev 👨‍💻 Application Architect 📸 Photography 🕹️ Games 🚘 GR86 📍 Japan 🐹 福助's dad
Posts Media Videos Starter Packs
Pinned
danikaze.bsky.social
Hello bluesky algorithm! 👋
How do you work if my timeline is mainly about...
🗼 Japan (living in Tokyo 10+years)
🍡 Showa Japan (retro atmosphere is the best)
📷 Photography
🕹️ Games
👴 Retro games!
💻 Game Dev
👨‍💻 Web dev
🏎️ Cars (GR86)
🏁 Sim Racing
Let's connect and rebuild what Xwitter broke...
danikaze.bsky.social
Yes! I've seen it. It looks beautiful!
danikaze.bsky.social
I've been playing Cornerpond for a while now and I finally was able to understand the charm of the idle games.

I never have time to play anymore cuz I'm developing or busy doing whatever... but having this in the background kind of gives me the sensation that I'm playing nevertheless 😅
danikaze.bsky.social
Uhm... I'm seeing that using the Globals that #godot provide has a catch (who would have thought, using global variables!)

I think I prefer having only ONE global to provide global access, and then have that provide the others as instance members. It helps with memory management and memory leaks...
danikaze.bsky.social
I understand that pov,
But I think creating a game is not just the fun parts, but also taking care of the details and quality overall.
Then we have lots of buggy games lol 😅
danikaze.bsky.social
I agree!
And that's written to be run in GUT 💪
danikaze.bsky.social
You are just assuming I'm not playing my game because I have tests? Ok... 😅
And if you are not sure tests reduce bugs ... 🤦‍♂️
Have it your way 😁
danikaze.bsky.social
Even small projects like this get big enough for one guy to maintain using just his free time so, call it an investment to save time later.
danikaze.bsky.social
Idk if smart or not, I just don't like finding random errors that I thought I fixed before.
Also, a lot of experience in an enterprise development environment.
Trust no human check. Automate as much as possible 💪
danikaze.bsky.social
What are you saying now? On base of what?
🤦‍♂️🤦‍♂️🤦‍♂️
danikaze.bsky.social
Also, the 2nd (or even 1st) most important feature of unit testing, is helping with regression!
Something that you already tested and it was working fine, might stop working after some unrelated changes without you knowing...
Will you test everything, everytime??? that's the crazy one
danikaze.bsky.social
I think you have a huge misconception about automatic tests.
It's not to detect something you don't know, that's impossible.
But it tests that the output is the expected one! You might think your code is correct but OH SURPRISE! It happens always.
danikaze.bsky.social
By the way, this is my script (just a concept)... is just a few lines but validates all the actions syntax, etc.
I still have to improve it after adding user selection, but it's easy to do!
It will save HOURS of testing and stupid bugs
Small Unit Test in godot (GUT) to test every line on the script files, checking for syntax and correct values of the parameters.
danikaze.bsky.social
You know the cases you want to test because these are the features of your game.
Also, nobody said about covering 100%. But if you find a bug, usually you write a new test case for it to make sure it doesn't happen again (in a proper enterprise environment at least)
It's just about good practices 😉
danikaze.bsky.social
But playing the game for 10 minutes doesn't protect you of regression bugs.
The idea is to invest on time writing automatic tests and then run them every time to detect introduced bugs fast
danikaze.bsky.social
I'm not talking about logging, but about automatic unit tests.
This way you don't have to analyze or read anything, and you can run the tests as many times as you want in a few seconds to make sure you don't introduce regression tests in further changes.
danikaze.bsky.social
That's... what you think 😁
The truth is you run into 100% of the bugs you run into... but they might be only 70% of all the bugs in your code 😢
So having unit tests help.

Also, manually testing everything everytime is a waste of time.
Just write test once and run every time!
danikaze.bsky.social
You got me right! 😅
And yeah... I don't have any tests at this point tbh... but finding some typos or wrong vars in the scripts randomly is scary... so at least this quick way to ensure they are properly written (because no tool, just plain text) makes me feel safer xD
Small unit-test on pre-push!
danikaze.bsky.social
Hi #indiedev world!

How do you test your games?
I'm writing a small function to go over all my script actions and evaluate every possible branching option with backtracking...

Is it overkill? I don't know, but not having consistency or automatic checks is scary to me!!

#gamedev #solodev #godot
danikaze.bsky.social
That's super cool. So yes, always yes, if you enjoy it.

Can I ask what tool are you using for showing/modeling in 3D low poly? I thought of doing the same in the past and blender might be an ultra kill for this 😆
danikaze.bsky.social
If you use the logger in your game and it has a page (Steam, itchio...) tell me and I'll add it to the list of featured users in the main page of the library!

Or, feel free to ask for support! I'm happy to help with its usage 😁 (tho, probably is simple enough)
danikaze.bsky.social
Just released the v1.0.0-rc.2 of the HanpekiLogger

I don't think any other logger library in godot has as many features and configuration, and probably not as much love put into it 😉

I want it to become the de-facto standard when using #godot, so feedback is welcome!

#gamedev #solodev #indiedev
danikaze.bsky.social
I'm super silent lately but... I just created a Logger library for #Godot (yep, another one to the list) tailored for my needs and the way I want to use it.

Basically, based on Winston for JS, with custom transports and namespaces...

github.com/hanpeki/hanp...

#indiedev #gamedev #solodev
danikaze.bsky.social
The material bought today for inspiration...
Two old Japanese magazines:
The Newtype from Nov 2000 and the G's Engine from May 1997
danikaze.bsky.social
Thanks, that's the objective!
After working with that kind of functionality I wasn't feeling comfortable without it so... I just built it! 💪
danikaze.bsky.social
Just released the v1.0.0-rc.2 of the HanpekiLogger

I don't think any other logger library in godot has as many features and configuration, and probably not as much love put into it 😉

I want it to become the de-facto standard when using #godot, so feedback is welcome!

#gamedev #solodev #indiedev
danikaze.bsky.social
I'm super silent lately but... I just created a Logger library for #Godot (yep, another one to the list) tailored for my needs and the way I want to use it.

Basically, based on Winston for JS, with custom transports and namespaces...

github.com/hanpeki/hanp...

#indiedev #gamedev #solodev
GitHub - hanpeki/hanpeki-godot-logger: Logger for Godot based on Transports with namespaces.
Logger for Godot based on Transports with namespaces. - hanpeki/hanpeki-godot-logger
github.com