home.social

#gdscript — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gdscript, aggregated by home.social.

fetched live
  1. Hawk Hill Manor
    Rebuilding UI so that Buttons to place Buildings are only shown if the Building is Invented
    This means I need to keep a list of Invented Buildings. Or I could Tag each Building, but that seemed awkward. I'm not sure where the best place is to keep track of this.
    It's all a bit messy, but it seems to work.

    #gamedev #godot #roguelike #gdscript #rougelight

  2. Hawk Hill Manor
    Rebuilding UI so that Buttons to place Buildings are only shown if the Building is Invented
    This means I need to keep a list of Invented Buildings. Or I could Tag each Building, but that seemed awkward. I'm not sure where the best place is to keep track of this.
    It's all a bit messy, but it seems to work.

    #gamedev #godot #roguelike #gdscript #rougelight

  3. Today I added the content scale factor to the program settings. While testing on the macbook I noticed that the UI was tiny on the high-dpi display.

    Works pretty well in combination with overriding the font-size. You have granular control over how this looks on a high-dpi display.

    Two sceenshots with factor 1.0 and 1.5 (looks a bit silly on low-dpi)

    And yes: I am dragging my feet to setup itch and the tax interview 😅

    #godot #gdscript #mipgam #godottool

  4. Today I added the content scale factor to the program settings. While testing on the macbook I noticed that the UI was tiny on the high-dpi display.

    Works pretty well in combination with overriding the font-size. You have granular control over how this looks on a high-dpi display.

    Two sceenshots with factor 1.0 and 1.5 (looks a bit silly on low-dpi)

    And yes: I am dragging my feet to setup itch and the tax interview 😅

    #godot #gdscript #mipgam #godottool

  5. Yesterday I tested the linux, windows and mac builds. Just had to do some minor cosmetic adjustments for windows and mac. Mac needs a bit more tweaking because of the super high resolution.
    Otherwise everything works.

    Love how easy it was to build for three platforms. And I only developed on Linux.

    Today: setting up itch and then doing the itch tax interview.

    Getting closer

    #godot #gdscript #mipgam #godottool

  6. Yesterday I tested the linux, windows and mac builds. Just had to do some minor cosmetic adjustments for windows and mac. Mac needs a bit more tweaking because of the super high resolution.
    Otherwise everything works.

    Love how easy it was to build for three platforms. And I only developed on Linux.

    Today: setting up itch and then doing the itch tax interview.

    Getting closer

    #godot #gdscript #mipgam #godottool

  7. Hawk Hill Manor
    Made some progress on Research
    One thing it does is invent new Buildings
    This means I need a way of show/hide Buttons in the UI
    Current Idea:
    Change Button to Scene, and have a script instantiate Scenes according to some logic (group by Type, invented_yet, etc)
    Need to reroute al the signals, and write a big table of "do I show this?"

    ideas welcomed

    #gamedev #godot #roguelike #gdscript #rougelight

  8. Hawk Hill Manor
    Made some progress on Research
    One thing it does is invent new Buildings
    This means I need a way of show/hide Buttons in the UI
    Current Idea:
    Change Button to Scene, and have a script instantiate Scenes according to some logic (group by Type, invented_yet, etc)
    Need to reroute al the signals, and write a big table of "do I show this?"

    ideas welcomed

    #gamedev #godot #roguelike #gdscript #rougelight

  9. There is another huge advantage of using the Godot gdscript IDE.

    As the IDE is also written in Godot you can simply change the whole thing to (nearly) whatever you need through 3rd party addons or your own addons.

    I am using the Script-IDE addon and just made a pull request that makes the split view editable.

    #godot #gdscript #addons

  10. There is another huge advantage of using the Godot gdscript IDE.

    As the IDE is also written in Godot you can simply change the whole thing to (nearly) whatever you need through 3rd party addons or your own addons.

    I am using the Script-IDE addon and just made a pull request that makes the split view editable.

    #godot #gdscript #addons

  11. The latest sale ended with astonishing results 👀

    A huge thank you to all 83 contributors! ✨

    We’ll make sure the next updates are even better. Follow us on itchio to be notified when they launch 🚀

    playpug.itch.io/

    #godotengine #godot #gdscript #indiedev

  12. The latest sale ended with astonishing results 👀

    A huge thank you to all 83 contributors! ✨

    We’ll make sure the next updates are even better. Follow us on itchio to be notified when they launch 🚀

    playpug.itch.io/

    #godotengine #godot #gdscript #indiedev

  13. I was testing LLM based autocomplete within external gdscript IDEs for Godot.

    While this sometimes was doing a good job most of the time I was fighting the prediction.
    A lot of the predictions were hallucinated methods or variables or just simply not was I was going to do next.

    I am actually way faster without autocomplete and just the normal deterministic intellisense that the Godot Language Server and IDE already provide.

    #godot #gdscript

  14. I was testing LLM based autocomplete within external gdscript IDEs for Godot.

    While this sometimes was doing a good job most of the time I was fighting the prediction.
    A lot of the predictions were hallucinated methods or variables or just simply not was I was going to do next.

    I am actually way faster without autocomplete and just the normal deterministic intellisense that the Godot Language Server and IDE already provide.

    #godot #gdscript

  15. Godot Question:
    Is there any documentation about the Editor?
    Some of my Scripts are faded (e.g. Pine Tree)
    Also, the syntax colour s in Scripts doesn't seem consistent.
    There are a few other bits as well, and it makes it hard to know what is going on.

    How can I find what all of this means?

    #godot #gamedev #gdscript #godotengine

  16. Godot Question:
    Is there any documentation about the Editor?
    Some of my Scripts are faded (e.g. Pine Tree)
    Also, the syntax colour s in Scripts doesn't seem consistent.
    There are a few other bits as well, and it makes it hard to know what is going on.

    How can I find what all of this means?

    #godot #gamedev #gdscript #godotengine

  17. I added array support to my scripting language Gompl (written in #GDScript / #Godot), mostly because I wanted to for a long time.

    github.com/ratkingsminion/gompl

    Of course it's not thoroughly tested yet, but I think it has now all the features I remember from ISB (an interpreter for SmallBasic in C# for Unity) and that I used for several projects, with joy.

  18. I added array support to my scripting language Gompl (written in #GDScript / #Godot), mostly because I wanted to for a long time.

    github.com/ratkingsminion/gompl

    Of course it's not thoroughly tested yet, but I think it has now all the features I remember from ISB (an interpreter for SmallBasic in C# for Unity) and that I used for several projects, with joy.

  19. Today I added something I wanted to do for a while.

    I added a build gdscript. I call it using "godot --script export.gd --headless --debug"

    It increments the version number.
    Creates the build directories for this version number.
    Executes another headless instance of godot with --export-release for Linux,Windows and Mac.

    And finally writes a version.txt file into my website upload directory - using it to show a "new version available" notification.

    #godot #gdscript #mipgam #godottool

  20. Today I added something I wanted to do for a while.

    I added a build gdscript. I call it using "godot --script export.gd --headless --debug"

    It increments the version number.
    Creates the build directories for this version number.
    Executes another headless instance of godot with --export-release for Linux,Windows and Mac.

    And finally writes a version.txt file into my website upload directory - using it to show a "new version available" notification.

    #godot #gdscript #mipgam #godottool

  21. RE: mastodon.gamedev.place/@playpu

    LAST 12 HOURS FOR 30% OFF 💸

    Learn GDScript from zero, with no skipped steps or hidden assumptions.
    Escape tutorial hell and start writing code with confidence! 🔥

    Get the book now and receive all future updates for FREE!
    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #gamedev

  22. RE: mastodon.gamedev.place/@playpu

    LAST 12 HOURS FOR 30% OFF 💸

    Learn GDScript from zero, with no skipped steps or hidden assumptions.
    Escape tutorial hell and start writing code with confidence! 🔥

    Get the book now and receive all future updates for FREE!
    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #gamedev

  23. We heard you: Object-Oriented Programming now explained in GDScript ✨

    Learning GDScript the Right Way has received an incredible amount of support, and this new chapter is our thank you! 💛

    Get it now!
    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #indiedev

  24. We heard you: Object-Oriented Programming now explained in GDScript ✨

    Learning GDScript the Right Way has received an incredible amount of support, and this new chapter is our thank you! 💛

    Get it now!
    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #indiedev

  25. The list of todos for a initial release of the tool is getting shorter.

    Down to 2 programming tasks.
    The rest are testing and admin like setting up the itch page and doing the itch tax interview thingy.

    #godot #gdscript #mipgam #godottool

  26. The list of todos for a initial release of the tool is getting shorter.

    Down to 2 programming tasks.
    The rest are testing and admin like setting up the itch page and doing the itch tax interview thingy.

    #godot #gdscript #mipgam #godottool

  27. Hawk Hill Manor
    Trying to show a list of Buildings, so that they can be selected for Research.
    But they are showing NULL! :(
    Well, the Checkbox in the Scene is null. Even though it is *right there*!

    I instantiate the Scene (per building) and add it to the tree.
    In _ready(), I try to set a value to the checkbox. NULL!
    What am I missing?

    #gamedev #godot #gdscript

  28. Hawk Hill Manor
    Trying to show a list of Buildings, so that they can be selected for Research.
    But they are showing NULL! :(
    Well, the Checkbox in the Scene is null. Even though it is *right there*!

    I instantiate the Scene (per building) and add it to the tree.
    In _ready(), I try to set a value to the checkbox. NULL!
    What am I missing?

    #gamedev #godot #gdscript

  29. Someone found an error in the Godot editor interface areas screenshot, so we fixed it!

    Update in the next few days.
    Probably also a bunch of new content 👀
    #godotengine #godot #indiedev #gdscript

  30. Someone found an error in the Godot editor interface areas screenshot, so we fixed it!

    Update in the next few days.
    Probably also a bunch of new content 👀
    #godotengine #godot #indiedev #gdscript

  31. Godot Question
    How to have a list that the Player can select exactly 2 options from?
    Do I need to write my own code around a group of CheckBoxes?
    (ItemList can utilise CTRL to multi-select, but I dislike this)
    Any ideas?

    #gamedev #godot #gdscript #godotengine

  32. Godot Question
    How to have a list that the Player can select exactly 2 options from?
    Do I need to write my own code around a group of CheckBoxes?
    (ItemList can utilise CTRL to multi-select, but I dislike this)
    Any ideas?

    #gamedev #godot #gdscript #godotengine

  33. RE: mastodon.gamedev.place/@playpu

    If you want to have a taste of the book, here's a little preview, completely for FREE! 💸

    It covers the Godot Engine interface and your first "Hello World!" Script ✨

    playpug.itch.io/pugbook-introd

    #godotengine #godot #gdscript #indiedev

  34. RE: mastodon.gamedev.place/@playpu

    If you want to have a taste of the book, here's a little preview, completely for FREE! 💸

    It covers the Godot Engine interface and your first "Hello World!" Script ✨

    playpug.itch.io/pugbook-introd

    #godotengine #godot #gdscript #indiedev

  35. The latest discount went so crazy that we decided to extend it for a couple more days!
    Thanks to every supporter 🥹

    Learn programming fundamentals with Godot & GDScript!
    Get 30% off now on itchio ✨
    playpug.itch.io/learning-gdscr
    #godotengine #godot #gdscript

  36. The latest discount went so crazy that we decided to extend it for a couple more days!
    Thanks to every supporter 🥹

    Learn programming fundamentals with Godot & GDScript!
    Get 30% off now on itchio ✨
    playpug.itch.io/learning-gdscr
    #godotengine #godot #gdscript

  37. Didn't expect this shoutout from @fr3nkd 🥹

    The response to his post has been amazing, and seeing so many people appreciate the guide makes all the effort worth it.

    The guide is 30% off if you want to learn Godot while supporting the project!
    #godotengine #gdscript #gamedev #indiedev

    playpug.itch.io/learning-gdscr

  38. Didn't expect this shoutout from @fr3nkd 🥹

    The response to his post has been amazing, and seeing so many people appreciate the guide makes all the effort worth it.

    The guide is 30% off if you want to learn Godot while supporting the project!
    #godotengine #gdscript #gamedev #indiedev

    playpug.itch.io/learning-gdscr

  39. J'viens de capter qu'on peut utiliser des #docstrings avec #gdscript. Pratique pour bosser en équipe, évidemment, mais pratique même en solo quand ton code commence à devenir complexe et volumineux ...

    Il faudrait donc que je prenne le temps de documenter le code de mon jeu ...

    Jeu que vous pouvez tester ici :

    denissalem.itch.io/jailbreak

    (en vrai allez-y c'est cool)

    #devlog #godot #indiegame #indiedev

  40. J'viens de capter qu'on peut utiliser des #docstrings avec #gdscript. Pratique pour bosser en équipe, évidemment, mais pratique même en solo quand ton code commence à devenir complexe et volumineux ...

    Il faudrait donc que je prenne le temps de documenter le code de mon jeu ...

    Jeu que vous pouvez tester ici :

    denissalem.itch.io/jailbreak

    (en vrai allez-y c'est cool)

    #devlog #godot #indiegame #indiedev

  41. Hawk Hill Manor
    Optimisation
    When I launch, it pauses and judders as it spawns loads of items across the map. I can probably hide this behind a loading screen.
    But during play, I get lags and judders when individual items spawn, and some that I can't identify.
    Any tips/pointers for this?

    #gamedev #godot #roguelike #gdscript #rougelight

  42. Hawk Hill Manor
    Optimisation
    When I launch, it pauses and judders as it spawns loads of items across the map. I can probably hide this behind a loading screen.
    But during play, I get lags and judders when individual items spawn, and some that I can't identify.
    Any tips/pointers for this?

    #gamedev #godot #roguelike #gdscript #rougelight

  43. Had a couple of very productive days. Added 30 items to my changelog for the last 5 days.

    Yeah! 🥳

    Finally got around to implement the feedback form. I want everyone to be able to send me feedback without friction of needing to signup somewhere.

    I added two options:

    a) use the integrated form that sends to a rate-limited endpoint on my website. I built a simple feedback tracker as well.

    b) send an email (mailto-link with subject and body prefilled)

    #godot #gdscript #mipgam #godottool

  44. Had a couple of very productive days. Added 30 items to my changelog for the last 5 days.

    Yeah! 🥳

    Finally got around to implement the feedback form. I want everyone to be able to send me feedback without friction of needing to signup somewhere.

    I added two options:

    a) use the integrated form that sends to a rate-limited endpoint on my website. I built a simple feedback tracker as well.

    b) send an email (mailto-link with subject and body prefilled)

    #godot #gdscript #mipgam #godottool

  45. Does anyone know if there is a release version of OS.get_static_memory_usage()?

    The above function only works in debug releases.

    #Godot #gdscript #askfedi

  46. Does anyone know if there is a release version of OS.get_static_memory_usage()?

    The above function only works in debug releases.

    #Godot #gdscript #askfedi

  47. I like DuckTyping - not a silver bullet but nice.

    I have a constants.gd file that contains constants for things that work by convention rather than inheritance.

    For example some components check if nodes they interact with implement the FOCUS_ME signal. Focusing the node in their context.

    This works well for GUI components.

    For game world entities I prefer an ECS.

    #godot #gdscript

  48. I like DuckTyping - not a silver bullet but nice.

    I have a constants.gd file that contains constants for things that work by convention rather than inheritance.

    For example some components check if nodes they interact with implement the FOCUS_ME signal. Focusing the node in their context.

    This works well for GUI components.

    For game world entities I prefer an ECS.

    #godot #gdscript

  49. Hawk Hill Manor
    Slowly rebuilding UI elements.
    Sorting a Dictionary of [Good, amount] by Good.name,

    Next: Foundations - Goods delivered/allocated/needed

    #gamedev #godot #roguelike #gdscript #rougelight

  50. Hawk Hill Manor
    Slowly rebuilding UI elements.
    Sorting a Dictionary of [Good, amount] by Good.name,

    Next: Foundations - Goods delivered/allocated/needed

    #gamedev #godot #roguelike #gdscript #rougelight

  51. Created a "fluent" builder for my terminal plugin for Godot.

    github.com/XanatosX/godot-game

    Do you think I should add it to the official repository? Right now this is only part of my Tiny Gardener project.

    #Godot #Godot4 #GodotPlugin #GdScript #GameDev #GameDevelopment

  52. Created a "fluent" builder for my terminal plugin for Godot.

    github.com/XanatosX/godot-game

    Do you think I should add it to the official repository? Right now this is only part of my Tiny Gardener project.

    #Godot #Godot4 #GodotPlugin #GdScript #GameDev #GameDevelopment

  53. 🧑‍💻 Are you an indie developer considering a Steam release, a commercial release? Great, me too!

    👋 My name is Janek and I do 100% free consultations for folks lost in the intricacies of releasing a successful product.

    🧵 No strings attached. I am simply invested in giving you free advice and turning your attention to things you might have not considered before.

    #indiedev #gamedev #unity3d #godotengine #visualnovel #gameart #programming #cplusplus #csharp #gdscript #python #renpy #pixelart

  54. 🧑‍💻 Are you an indie developer considering a Steam release, a commercial release? Great, me too!

    👋 My name is Janek and I do 100% free consultations for folks lost in the intricacies of releasing a successful product.

    🧵 No strings attached. I am simply invested in giving you free advice and turning your attention to things you might have not considered before.

    #indiedev #gamedev #unity3d #godotengine #visualnovel #gameart #programming #cplusplus #csharp #gdscript #python #renpy #pixelart

  55. Do yourself a motivational favor and make a quick icon and logo when you start a new Godot project.
    Does not need to be the final ones just a quick prototype.

    I find it so motivating to see it in the project selector, taskbar and the splashscreen when booting the project.

    A little motivational boost everytime you start working on it or debug it 😎

    #godot #gdscript #gamedev

  56. Do yourself a motivational favor and make a quick icon and logo when you start a new Godot project.
    Does not need to be the final ones just a quick prototype.

    I find it so motivating to see it in the project selector, taskbar and the splashscreen when booting the project.

    A little motivational boost everytime you start working on it or debug it 😎

    #godot #gdscript #gamedev