home.social

#gdscript — Public Fediverse posts

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

fetched live
  1. Want to become a game developer? 🎮

    I wrote a FREE introductory guide to Godot and GDScript!

    Go from zero to your first “Hello World!” script and start your game development journey.

    Share it with your friends to support the project 💛

    playpug.itch.io/pugbook-introd

    #godotengine #godot #gdscript #gamedev

  2. Want to become a game developer? 🎮

    I wrote a FREE introductory guide to Godot and GDScript!

    Go from zero to your first “Hello World!” script and start your game development journey.

    Share it with your friends to support the project 💛

    playpug.itch.io/pugbook-introd

    #godotengine #godot #gdscript #gamedev

  3. I think I forgot all my Blender
    Trying to adjust Kenney's kits, and I'm getting horrid artefacts, pinching, shading issues, UV Mapping pain, all of it! :(

    But no-one has made any low-poly Victorian terrace housing, so I have to continue...
    Not that these are going to be Final Assets, but still, I'd like them to look ok

    #gamedev #godot #blender #gdscript #blender3d #roguelike #rougelight

  4. I think I forgot all my Blender
    Trying to adjust Kenney's kits, and I'm getting horrid artefacts, pinching, shading issues, UV Mapping pain, all of it! :(

    But no-one has made any low-poly Victorian terrace housing, so I have to continue...
    Not that these are going to be Final Assets, but still, I'd like them to look ok

    #gamedev #godot #blender #gdscript #blender3d #roguelike #rougelight

  5. Last 6 hours of 34% discount!

    Learning GDScript the Right Way just received a new update featuring Object-Oriented Programming 👀

    Get the book now and receive all updates for FREE 💸

    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #indiedev

  6. Last 6 hours of 34% discount!

    Learning GDScript the Right Way just received a new update featuring Object-Oriented Programming 👀

    Get the book now and receive all updates for FREE 💸

    playpug.itch.io/learning-gdscr

    #godotengine #godot #gdscript #indiedev

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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.

  24. 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.

  25. 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

  26. 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

  27. 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

  28. 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

  29. 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

  30. 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

  31. 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

  32. 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

  33. 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

  34. 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

  35. 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

  36. 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

  37. 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

  38. 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

  39. 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

  40. 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

  41. 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

  42. 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

  43. 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

  44. 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

  45. 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

  46. 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

  47. 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

  48. 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

  49. 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

  50. 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

  51. 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

  52. 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

  53. 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

  54. 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

  55. 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

  56. 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