Script isn't getting read (SOLVED)

#1

Hey everyone,
I have been programming in defold but some of my scripts aren’t getting read, how can I fix this?

0 Likes

#2

How about… a tiny bit of detail?

4 Likes

#3

So I was writing code in a new opened script but when the game was running, nothing from/in the script was read in the program. It didn’t work even though the code was right. Defold didn’t run the code in my script. Is there any way to fix this issue?

0 Likes

#4

First step: Make sure the script is added to a game object in an active collection.

Second step: Post a minimal example project which displays the issue.

1 Like

#5

Oh okay.
I did what you said and it seems like we have done some progress, only now I have a few other issues. I’ll ask you if I can’t fix them myself. Thank you so much for all help. Kind regards/ Daniel Eriksson

1 Like

#6

Great, lycka till med spelet!

3 Likes

#7

Haha, tackar

0 Likes