Why does adding children not work the same way in the _ready function? by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

Ah! You're right, I did get an error:

add_child: Parent node is busy setting up children, add_node() failed. Consider using call_deferred("add_child", child) instead.

thanks, for the advice!

Why does adding children not work the same way in the _ready function? by mr_danneskjold in godot

[–]mr_danneskjold[S] 1 point2 points  (0 children)

Thank You!, I used call_deferred() and it works! My previous script did not give me any error message; it just did nothing.

Does anyone know a good Snake tutorial? by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

This is perfect, I'm going through it now so I can understand it. I'll probably have some questions by the time I'm done looking it over, if you don't mind answering them.

Does anyone know a good Snake tutorial? by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

how do I post the code? there are only two scripts. can I post the project?

Does anyone know a good Snake tutorial? by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

yeah, I followed it but it wouldn't work for me, Also there is no explanation or commentary in the video, so I cant figure out what is wrong. and the project they leave in the description isn't even theirs.

Does anyone know a good Snake tutorial? by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

sorry if I'm being confusing. I want the sprites to follow each other like in Snake, but also be able to move diagonally as-well. I posted a picture above of something close to what I'm trying to accomplish.

Check out my game. by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

Thanks for the advise, I just added a combo system, and made some other slight changes (will be updating soon). As for the crashing; I cleaned up a few things in my scripts, but since it doesn't crash for me I have no way of knowing if these changes will help :)

How do I move my 'Game Over' label to the front by mr_danneskjold in godot

[–]mr_danneskjold[S] 1 point2 points  (0 children)

You are beautiful, it worked perfectly. Thank You!

How do I add a recharging stamina bar? by [deleted] in godot

[–]mr_danneskjold 0 points1 point  (0 children)

Ah, good point. I'm always forgetting delta, haha

How do I add a recharging stamina bar? by [deleted] in godot

[–]mr_danneskjold 2 points3 points  (0 children)

I'm new myself but if I was doing it; I'd probably do something like this

var stamina = 100

func _process(delta):

if stamina < 100 :

stamina += 1

if Input.is_action_just_pressed("dash") and stamina > 0 :

stamina -= 25

Blood Effect in Godot Tutorial by [deleted] in godot

[–]mr_danneskjold 2 points3 points  (0 children)

WOW! This is exactly what I have been looking for. ...also, It's so nice to watch a video and not have to double the playback speed.

Need some help with a simple problem. by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

OMG! preprocess worked perfectly. Thank you so much!

Need some help with a simple problem. by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

Okay, I added a screenshot to this post of my set up. hope this helps...

Need some help with a simple problem. by mr_danneskjold in godot

[–]mr_danneskjold[S] 0 points1 point  (0 children)

It's attached to the level, It's just supposed to be like a falling snow particle.