Questions tagged [gdscript]
GDScript is a high level, dynamically typed programming language used to create content. It uses a syntax similar to Python (blocks are indent-based and many keywords are similar).
4 questions
0
votes
0
answers
26
views
Removing "all" entries of Type from an array (Godot Editor)
I realized I wanted a way to safeguard for null entries, not only in the inspector but via code as well. After looking through the docs and not really understanding how to make use of .any(), .all(), ....
0
votes
0
answers
31
views
2D chunk loading/world generation in Godot (GDScript)
I'm a beginner with both Godot and gamedev concepts. I've made games before, but feature-wise, they were pretty simple in comparison.
One of the main concerns that I have now with my code is that ...
1
vote
3
answers
83
views
Dice evaluation in a Yahtzee-type game
I just started using Godot, and I am attempting to build a Yahtzee-type game on my own. I created a function to evaluate the dice/roll and have it working correctly, I believe. I was hoping to get ...
2
votes
0
answers
38
views
Sudoku trial buttons
This button's code in gdscript 4 uses selector modes- only one possible at a time. It is attached to the 9 children small buttons of the main button.
There is singleton code that is just an array with ...