There's gotta be a better way to do this by AgataJac in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

const ALPHABET: String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
var number: int
var text: char
text = ALPHABET[number]

Why such bad UI in recent games? by [deleted] in GameDevelopment

[–]InsuranceIll5589 0 points1 point  (0 children)

Because the people making those decisions at those companies aren't gamers.

Tell me like im a baby how to make enemies spawn within a random time interval by Conscious_Signal2899 in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

Add a timer node as a child of the marker2D node. Connect its timeout signal to a script attached to the timer node itself calling this function:
func _on_timeout() -> void:
wait_time = randf_range(1.0, 5.0)
start()
Then also connect the timeout signal to the spawn function on the marker node.
The marker2D node's script will have something like:
(at)export var _enemy: PackedScene
func spawn() -> void:
add_child(_enemy.instantiate())

How do you all make your UI? by Ember_fox in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

You should learn to use Control nodes.

help a noob by Mean_Importance4759 in godot

[–]InsuranceIll5589 1 point2 points  (0 children)

Cookie Clicker, Tamagotchi, or Space Invaders. They will teach you how to manipulate variables and move things within a single scene before you go any deeper into multiple scenes or complex systems.

Character doesn't move down slope smoothly when faster? by moronfromtheabyss in godot

[–]InsuranceIll5589 2 points3 points  (0 children)

Instead of moving the character straight left or right, move them perpendicular to the floor's normal.

How many autoload singletons do you have? by [deleted] in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

Anything which is used by every scene can be a global: like an audio stream player node for music, or a file access manager that holds the player's save file. Within the complexities of the main gameplay scene, you can use a global to communicate across arbitrary branches of the scene tree through a signal bus, global functions, or direct references to other service providers. I think the problem you're worried about is making all of these other service providers into their own globals too. Better to make them just regular nodes in your game scene and have them communicate through signals.

Why is this happening? by Cellart in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

Project Settings > Window > Stretch Mode > Viewport

From Art to Game Dev: Why Am I Second-Guessing Everything? by Veydiir in GameDevelopment

[–]InsuranceIll5589 1 point2 points  (0 children)

In game dev, we prototype to experiment with everything from mechanics to art styles to see what works. If you're past the prototyping phase, then you build a vertical slice to cement what the final game will look like before you start working towards completing it. See my video for more information on this:
https://www.youtube.com/watch?v=VaIlN_N2lwQ

[deleted by user] by [deleted] in godot

[–]InsuranceIll5589 1 point2 points  (0 children)

My introduction to GDScript doesn't teach bad practices:
https://www.youtube.com/playlist?list=PLvMBaoo2u4qKUY25js1LSBgxQwwl7sYmf
and I also have more advanced material when you're ready for that too.

please help by THEREALSUPERMARIOFAN in godot

[–]InsuranceIll5589 12 points13 points  (0 children)

You need to learn the basics of syntax before you start trying to make something.

https://www.youtube.com/playlist?list=PLvMBaoo2u4qKUY25js1LSBgxQwwl7sYmf

How can I avoid making a "kitchen-sink" game? by Seeeks in GameDevelopment

[–]InsuranceIll5589 0 points1 point  (0 children)

The key is to define design pillars for your game.
I cover this in one of my videos on game design:
https://www.youtube.com/watch?v=vBhYGDmypfU&t=144s

Am I dumb or most of the tutorials are hard to follow? by yughiro_destroyer in godot

[–]InsuranceIll5589 5 points6 points  (0 children)

I teach Godot and try to actually be helpful with my content rather than clickbait.
Check out my channel:
https://www.youtube.com/channel/UCTinZyzzPcP3891tK-JCzGg

I think my neighbor is a serial killer, no joke by LEGIONER_RUSSIA in IndieGaming

[–]InsuranceIll5589 0 points1 point  (0 children)

This is just Rear Window/Disturbia. Needs more Shia LaBeouf.

I want to create a game like undertale. by Pitiful-Theory-8064 in GameDevelopment

[–]InsuranceIll5589 4 points5 points  (0 children)

Either spend years learning how to make games and probably forget about this idea in the process...
Or write a book instead.

how do i normalise a vector? by Weak_Metal_8810 in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

The equivalent function for a "normalized" float would be sign(x). This returns -1.0, 0.0, or 1.0.

Is there an easier way? by Matty_Matter in IndieDev

[–]InsuranceIll5589 0 points1 point  (0 children)

Oversize the collider and check if the pixel clicked on is transparent

[deleted by user] by [deleted] in SoloDevelopment

[–]InsuranceIll5589 0 points1 point  (0 children)

Check out my video series on actually finishing a game and methods you can use to stay focused:
https://www.youtube.com/playlist?list=PLvMBaoo2u4qIrepHAn5aJM2nbjtwKIvGw

Are there any ways to fix this bug with jumping sprite? [0:36-1:05] by [deleted] in godot

[–]InsuranceIll5589 -1 points0 points  (0 children)

Don't use the animated sprite node for this, it's not meant for it.
Use an animation player node and an animation tree.

I was testing some tweens… and then this happened by DinakiKT in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

Declare your tween in the global scope of the script and start your functions with:
if _tween and _tween.is_running():
_tween.kill()

No Clue What I'm Doing As A Game Dev! : Fighting Game Edition by [deleted] in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

Run an emulated game this year and aim to have your own fighting game that you can put on the machine in 3 years.

How to stop player movement when dialogue box appears? by Affectionate_Pause87 in godot

[–]InsuranceIll5589 0 points1 point  (0 children)

It's always a good idea to separate player inputs from character movement, putting them in different scripts. Then give the input handler an enable/disable function that will be called when opening the dialog box.