#Help with Godot for absolute beginners - start the right way

20 messages · Page 1 of 1 (latest)

hard igloo
#

Hey I am very new to programming I am using this video https://www.youtube.com/watch?v=s0O3a2AgoBA&t=186s along with Learn to Code From Zero from GDScript. I am 1:19:37 in the video. I get Laser Spawned in the output but no laser shoots when i press the mouse key or space par that i assigned ti fire the laser. Heres my Script so far.

Whether or not you have written any code, this is the starting point for getting into game programming with Godot!

Assets for the tutorial:
Kenney space shooter redux pack: https://kenney.nl/assets/space-shooter-redux
Space background: https://opengameart.org/content/space-background-1
Get the Godot Engine here: https://godotengine.org/download...

▶ Play video
white walrus
#

wait which video? i don't think you linked it

hard igloo
fallen sierra
#

Your input detection works fine if you see the debug message shown. But there's no animation linked to your input

white walrus
fallen sierra
#

Ok you need to watch the rest of the video my man 😅

hard igloo
#

when he presses play at this point a laser shoots out at the start when i push play at this part no laser shoots.

hard igloo
fallen sierra
#

I think it is because he manually adds lasers into the scene tree. Can you show us your scene tree?

#

And make sure the laser has the laser.gd script attached to it

white walrus
#

yeah, he just manually added one. In the next few minutes I can see that he instantiates a laser scene where it says "laser spawned"

fallen sierra
hard igloo
#

ahhh ok got it ill just keep watching then just wanted to make sure i didnt mess up something already

fallen sierra
#

Nah nah, all fine. Stick to the rest of the video and you'll eventually get to the answer 👍

fallen sierra
#

you welcome. Wish you fast progression in learning Godot!

maiden wing
maiden wing
#

I did the tutorial this afternoon!

#

6 hours from installing godot to an .exe!