Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layers might be slightly broken #62

Open
acbart opened this issue May 18, 2014 · 2 comments
Open

Layers might be slightly broken #62

acbart opened this issue May 18, 2014 · 2 comments

Comments

@acbart
Copy link
Member

acbart commented May 18, 2014

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.

@icarito
Copy link
Contributor

icarito commented Dec 27, 2014

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.

@acbart
Copy link
Member Author

acbart commented Dec 29, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants