Starsprites are back
Added 2023-09-20 18:35:41 +0000 UTCUp to this point, a lot of what I've done for the Godot rebuild hasn't been too dissimilar from the ways that I did those things in Unity. Whilst Godot's API is obviously different to Unity's, things like running, jumping and flying aren't really all that different. In both engines I'm just responding to the player input by adjusting Kinoko's velocity and positions, updating his sprites, and so on, so none of it's really been that difficult to figure out.
Starsprites on the other hand deal with some fairly specific pieces of functionality, like instantiation, which Unity and Godot each handle slightly differently. This is where I've really got to read through the Godot documentation carefully and figure out how to do things all over again, and come up with a proper plan for the best way forward.
Fortunately, the first part's already done. Like before, meteorites are effectively like pickups which can be collected to spawn a starsprite. Kinoko has three available 'slots' for starsprites, which will soon be reflected on the UI too, just like they were in the Unity build. If Kinoko already has three starsprites, he won't be able to get another one. Currently all starsprites are yellow, but I'll add the other colours back in when we've got proper sprites for them.
There are no enemies yet, which means there's no way for Kinoko to lose his starsprites either, but I'll be getting around to them in due course and that's when it'll be time to give the starsprites their shielding and power-up mechanics!