Number bug in words -- feedback
-
As you can see, everything should work. The print is showing that the number is appearing, but won’t go into the list like it should.
Can you figure out the bug? You probably want the link, so here you go:
https://play.creaticode.com/projects/687990440b2607d8a4ff3250
-
The 2 lists “posX(tree)” and “posY(tree)” are private, so each clone of the tree has its own copy of these 2 lists. But on the stage you can only see the value of these 2 lists for the original sprite, not the lists for any of the clones.
-
@info-creaticode so are you saying the lists need to be public and not private?
-
The lists need to be global to be viewed on the stage. But whether it should be global or private to each clone depends on what you are trying to do. Sounds like you want to track the position of each clone, then it should be private. In that case, your code is correct, just the way you are trying to view its content is not going to work.
-
@info-creaticode why did @Sonic my main account get banned???
-
@sonicwing121 Because you keep posting images of plushies that are unrelated to Creaticode.
-
@tng today is 2 years of my accounts.