Well, I don’t seem to have write access in the “cool creations” section for feedback on this, so I’ll post here with some questions.
Occasionally, some of the parts won’t show up when the animation runs. For example, the boxes will move across the screen and the character won’t show. I haven’t been able to reproduce this reliably, so no video of that.
I have a setup script in ReplicatedFirst with a ScreenGui containing a hierarchy of frame and SelectionImageObjects (from Roundify plugin) as a child. In the middle of the hierarchy, I have a couple of local scripts that handle the animations. Generally speaking:
[Edit: Problem appears to be with images occasionally not loading into gui objects in RepFirst. Changed Title to reflect actual issue.]
- Would creating gui elements in code rather than creating the hierarchy ahead of time guarantee that elements are available when the code runs? Should I expect to run into problems with images loading if I change these simple objects to image labels?
- I don’t get any errors when the animation runs without all it’s parts. Is that an indication that the problem may be some display issue unrelated to the script?
- I haven’t used a bunch of :WaitForChild calls in the code (which makes me think it should error if some aren’t loading in time). Is it common practice to add those for each gui object used in a script. (hmm. I wonder if the parts not showing is due to Roundify images not loading…Should have thought of that before writing all this )