🌉 bridged from @MousePotatoDoesStuff@piefed.social by Tidepool
MousePotatoDoesStuff
@mousepotatodoesstuff.piefed.social.ap.tdpl.io
Inspired by a comment section in another post
started playtest jam for my all-purpose godot plugin
still working out the details, please let me know if something is missing (such as the codeberg link)
itch.io
How to expand a Control object to fill its H/Vbox container in Godot 4
youtube.com
Been struggling with this for too long before discovering this, made this video so you don't have to. Tested with Godot 4.8, but this feature has probably been around since 4.0. My links: https://linktr.ee/mousepotatodoesstuff
www.youtube.com
Which one (if either) of these functions would you choose for a class inheriting the ConfigFile class?
Option 1:
func set_default_value(section:String,key:String,value:Variant)->Variant: if !self.has_section_key(section,key): self.set_value(section,key,value) return self.get_value(section,key)
Option 2:
func set_default_value(section:String,key:String,value:Variant)->Variant: value=self.get_value(section,key,value) self.set_value(section,key,value) return value
Lemmy saves the day (MPUP devlog 1)
youtube.com
Thank you to onomogo@lemmy.world for pointing this out (how do I tag people?) onomogo@lemmy.world Fedi post Mouse Potato Utils/Universal Plugin Other links: https://linktr.ee/mousepotatodoesstuff
www.youtube.com
Finally managed to get the keybind system working
Hopefully this is the last time I have to implement the backend for this - I'm going to reuse the code for this from now on. (The display, however, could definitely use some work.) You don't have to go through the same ordeal. Get the source code from my Codeberg repo - it's MIT licensed and GenAI-free. You can also follow the plugin development on my: Mastodon Bluesky
You alone won't change the world... but you don't need to do it alone.