I think this approach makes me worry less about having a null reference if in the scene there is the player but not the UI node or viceversa. And if it is not a good idea, what is your way to go most of the times?
Let's say I have an action in my Input Map. This action is called "my_action" and the key for it is set to the "E" key. Is there any way I can get the key for "my_action" (should return E)? I'd use this to get the key and show it in the UI, even if the user changes the key for this action.
I was using get_tree().get_nodes_in_group("player")[0] to get my player, but I don't know if that is the best way to get a path that could change at runtime nor if it is even a good practice. What are your thoughts?
I was wondering if some code like this would work in this way: tween.interpolate_property(label, "text", "a", "z", 0.5) tween.start() Expected output: "a, b, c, d, e... z"
I have two Sprites, one has some keys animating the "frame" property, I just added the second track, it has the same property, and is also a sprite (but different node). How could I just copy/paste these keys so that they are added into the second track? Or is there a way to duplicate the first trac...
Hello. I am a single developer working on a “simple” 2D game. I have noticed that I tend to take a lot of time making games, even for mobile ones I take at least 6 months to finish them. Now that we’re in quarantine I can have more time to work on my projects, but I haven’t really improved the time...
Hi. So I have multiple audios for my player and some other entities. The problem is that when one audio is being played and I want another audio to play with the same AudioStreamPlayer2D, it stops playing the first audio and plays the second one. I have seen that I need an audio manager to fix this...
Hi guys, I was thinking about making a top down space ship like game. Because I’m an indie dev, I would use pixel art, however, I don’t know if this is a good idea, mostly because I would have to rotate the ships, and that might not look that good. Any opinions would be appreciated. Thanks
Hi. I am making a top down shooting game, and I would like to know if there is a way to make an enemy move and rotate randomly, wait and then repeat the same step, but with new values. Can someone help me?
I have an app in Google Play, a lot of people said to me that they are playing it and even sent me screenshots of the game. Curiously, if I go to the Google Play Console, I only can see 1 active install, and this happened since several days ago. Does anyone else have this problem and know any fix to...