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

Naming a sprite "mouse-pointer" hides it in the GO TO and TOUCHING? enumerated input menus #71

Open
nathan opened this issue Apr 21, 2013 · 4 comments

Comments

@nathan
Copy link
Contributor

nathan commented Apr 21, 2013

When a sprite is named mouse-pointer, it's impossible to use it with the TOUCHING? or GO TO primitives.

It may not be worth fixing this, though, because any fix would prevent programatic access to the actual mouse-pointer (i.e. GO TO (variable) where (variable) has the value mouse-pointer would do nothing unless there were a sprite called mouse-pointer).

However, programmatic access is questionable anyway as it doesn't work at all with non-English names.

@brianharvey
Copy link
Collaborator

Should we prevent calling a sprite that?

@nathan
Copy link
Contributor Author

nathan commented Jul 12, 2014

Probably.

@cycomachead
Copy link
Collaborator

Should we prevent calling a sprite that?

I would probably just give a "warning" but I think prevention is fine.

@bb010g
Copy link

bb010g commented Jul 13, 2014

I would probably just give a "warning" but I think prevention is fine.

Prevention would work well as this would really be the equivalent of a syntax error in a text-based language.

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

No branches or pull requests

4 participants