Sure. That’s fine.
-
RE: Detaching widgets from viewport
The progress bar is not “following”. It is just staying at the same position in the stage, regardless of where your sprite is or where the viewport is.
If you want the progress bar to stay with the tree, there are some other options. For example, you can add additional costumes of the tree, all with the same tree, but with an additional progress bar on top of it at different percentages. So you can change the tree’s costume in your code.
Or you can create a new sprite that’s just the progress bar at different percentages, and then move that sprite above the tree. It will stay with the tree when you move the viewport.
And another option is still use the progress bar widget, but change its position when you move the main sprite. You will need to calculate the position of the tree relative to your sprite, and calculate the position of the progress bar using that relative position.
-
RE: Detaching widgets from viewport
Widgets (like buttons/lables) always stay at the same position on the stage, so they have no relations with the viewport. What are you trying to achieve?
-
RE: Number bug in words -- feedback
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.
-
RE: This block is not present but XO AI thinks it is
The block has been removed. Now you can only set speeds, not position.
-
RE: Number bug in words -- feedback
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.
-
RE: Any idea why creaticode stopped saving?
Please make sure you are logged in. There shouldn’t be an issue in saving.
-
RE: Blocks
Thank you for the suggestions. We will look into how to make these tasks easier.