#Help Needed, Code not doing the Thing

1 messages · Page 1 of 1 (latest)

versed bluff
#

I'm currently using Kaan Alpar's "How to Make Asteroids" video as a guide, and so far things have been going great! However, when I got around 18 minutes in with a laser's movement, the code stopped being nice with me. I'm quickly learning how to hate. I've gone as far as copying in the code word for word and it's still failing, the idea is to get the laser moving upward and it's staying static right now.

On the right is a shot of the working code for reference, can someone help me?

oblique patio
#

first, is the code attached to the node?

#

second, does it have any visuals?

versed bluff
#

I assume it's attached to the node, I don't quite know how to check but I made it using the button attached to the laser node

oblique patio
#

this icon

#

tells the node has a script attached to it

#

and in the inspetor you can see which script

#

or if you click the icon it will open the script

versed bluff
#

well that would be the problem 🐦‍⬛

oblique patio
#

wait

#

open the scene

#

I am not sure it shows the script icons for scenes

versed bluff
#

no it does, I dragged the script onto the laser and the scroll appeared

oblique patio
#

yeah, it does

versed bluff
#

and the instant I ran the code it just worked

oblique patio
#

so that is the issue

#

cool

versed bluff
#

the first of many stupid errors, thank you very much stranger

oblique patio
#

I hope that is all

#

no problem

#

it happens more than you think

#

that is why it was the first question I asked

versed bluff
#

thank god it's not just a me problem then rofl

#

back to the grind 💻