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

Drawing multiple rects causing problems #66

Open
liquish opened this issue Sep 10, 2016 · 2 comments
Open

Drawing multiple rects causing problems #66

liquish opened this issue Sep 10, 2016 · 2 comments
Labels
mini2Dx-ve Issues related to mini2Dx-ve

Comments

@liquish
Copy link

liquish commented Sep 10, 2016

I call the (Graphics) g variable multiple times in entity classes. The problem is maybe I'm over using it? Some rectangles arn't completely connected and If I change the color once everything changes to that color, even if I choose to change it after.

@tomcashman
Copy link
Contributor

Can you provide a code sample that reproduces this?

@liquish
Copy link
Author

liquish commented Sep 11, 2016

Not a small one, but I tried with Slick2d and the same problem. I read online somewhere that calling a lot of rect calls to g could cause it but using an image/sprite seems to work fine.

@tomcashman tomcashman added the mini2Dx-ve Issues related to mini2Dx-ve label Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mini2Dx-ve Issues related to mini2Dx-ve
Projects
None yet
Development

No branches or pull requests

2 participants