Unity to Godot Part 10: Godot update, logo and more
Back from the void! The last couple of weeks were not very productive with regards to the port, as I felt I needed a bit of gaming. The obsession of choice was Might & Magic 6: The Mandate of Heaven, which is a fantastic experience with some great elements (which Sigil of Kings borrows!) and some not-so-great ones. As a game design note, I realised that the moment my characters reached a level where I was not getting any more new spells or I didn't have any real choice where to put level up points to, I got bored of the gameplay and cheated my way through to see the story. Note to self: always have interesting choices, either in early or late game. Also note to self: in-game encyclopedias about all sorts of things are a lifesaver, rather than either DIY notes or even in-game poor GUI-driven ad-hoc notes. More like Civilization and the old X-Com games, less like Might & Magic.
But ok I did a little bit of gamedev too. What's on the menu there? A few things:
- Update to Godot 4.2. This, with 10 lines of code, resulting in 6x better performance. It was an update I've been waiting for, so that's fantastic. Previously I could not share low-level RenderingDevice textures with high-level sprite texture so I had to get data to the CPU and then back to the GPU again, and for a 4K resolution buffer this hurts. Now I create some Texture2DRd and BAM, no more copies, no more performance waste, awesome!
- Temporary render effect manager. This is trying to replicate some existing functionality for ... managing render effects. Nothing major really, but one more porting bit.
- Bespoke Godot logo idea. People seem to be getting creating with Godot logos, and I thought why not, so I've made a couple of temporary changes to be able to heavily influence the look of the overworld map to look like the Godot logo (results below). Now for this video, Youtube thinks it's minecraft, so I get another bunch of confused viewers, but at least they're not complaining much this time xD. I mean, I hashtag the video with #godot and apply tags like "roguelike" and "sigil of kings", can't help them any more.
- Currently working on porting creature effects, e.g. auras, burning, poisoned, invisible etc. This was previously not the best architected code, so I guess it's a bit of suffering refactoring time, yay.
Have a nice weekend!