#gdscript — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gdscript, aggregated by home.social.
-
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. -
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. -
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 😅
-
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 😅
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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 🚀
-
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 🚀
-
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.
-
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 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 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?
-
I added array support to my scripting language Gompl (written in #GDScript / #Godot), mostly because I wanted to for a long time.
https://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.
-
I added array support to my scripting language Gompl (written in #GDScript / #Godot), mostly because I wanted to for a long time.
https://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.
-
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.
-
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.
-
RE: https://mastodon.gamedev.place/@playpug/117054557436950035
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!
https://playpug.itch.io/learning-gdscript-the-right-way -
RE: https://mastodon.gamedev.place/@playpug/117054557436950035
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!
https://playpug.itch.io/learning-gdscript-the-right-way -
I wish it need not have happened in my time
#gamedev #godot #roguelike #rougelight #gdscript #godotengine
-
I wish it need not have happened in my time
#gamedev #godot #roguelike #rougelight #gdscript #godotengine
-
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!
https://playpug.itch.io/learning-gdscript-the-right-way -
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!
https://playpug.itch.io/learning-gdscript-the-right-way -
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. -
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. -
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? -
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? -
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 -
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 -
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? -
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? -
RE: https://mastodon.gamedev.place/@playpug/117027336763310990
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 ✨
https://playpug.itch.io/pugbook-introduction-to-godot-gdscript
-
RE: https://mastodon.gamedev.place/@playpug/117027336763310990
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 ✨
https://playpug.itch.io/pugbook-introduction-to-godot-gdscript
-
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 ✨
https://playpug.itch.io/learning-gdscript-the-right-way
#godotengine #godot #gdscript -
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 ✨
https://playpug.itch.io/learning-gdscript-the-right-way
#godotengine #godot #gdscript -
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 -
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 -
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 :
https://denissalem.itch.io/jailbreak
(en vrai allez-y c'est cool)
-
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 :
https://denissalem.itch.io/jailbreak
(en vrai allez-y c'est cool)
-
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? -
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? -
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)
-
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)
-
Does anyone know if there is a release version of OS.get_static_memory_usage()?
The above function only works in debug releases.
-
Does anyone know if there is a release version of OS.get_static_memory_usage()?
The above function only works in debug releases.
-
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.
-
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.
-
Hawk Hill Manor
Slowly rebuilding UI elements.
Sorting a Dictionary of [Good, amount] by Good.name,Next: Foundations - Goods delivered/allocated/needed
-
Hawk Hill Manor
Slowly rebuilding UI elements.
Sorting a Dictionary of [Good, amount] by Good.name,Next: Foundations - Goods delivered/allocated/needed
-
Created a "fluent" builder for my terminal plugin for Godot.
https://github.com/XanatosX/godot-game-console
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
-
Created a "fluent" builder for my terminal plugin for Godot.
https://github.com/XanatosX/godot-game-console
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
-
🧑💻 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
-
🧑💻 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
-
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 😎
-
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 😎