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

Provide a clear error message for GRAPHICS_DRAW_BMP #4

Open
AnnyCaroline opened this issue Sep 19, 2018 · 0 comments
Open

Provide a clear error message for GRAPHICS_DRAW_BMP #4

AnnyCaroline opened this issue Sep 19, 2018 · 0 comments

Comments

@AnnyCaroline
Copy link
Member

  • Céu program that causes the error:
emit GRAPHICS_SET_BMP_FRAME(15,15);
emit GRAPHICS_DRAW_BMP(0, 0, "res/star.bmp");
  • Error message:
[(null):0] -> 
[/tmp/lua_TOMY5U:7675] -> runtime error: invalid number of frame
Aborted (core dumped)
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 134

The error occurs when trying to access a non-existent frame in the bmp image, but its not clear at the error message.

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

1 participant