Open acbart opened 10 years ago
makes sense as .layers belongs to Scene and .layer belongs to Sprite. It should error out if you are defining a layer that doesn't exist, or at the very least if your scene has no layers defined at all. I'd close this one.
That's probably a reasonable restriction - I thought it would be convenient to let them write them in any order, but the layering system is a little delicate and probably shouldn't be too trifled with.
A student reported that they had to define the .layers property before they could set .layer property. Need to repro and confirm, but I wouldn't be surprised considering how under-tested layers are.