8000 Drawing multiple rects causing problems · Issue #66 · mini2Dx/mini2Dx · GitHub
[go: up one dir, main page]

Skip to content
8000

Drawing multiple rects causing problems #66

Open

Description

@liquish

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.

Activity

  1. tomcashman commented on Sep 10, 2016

    @tomcashman
    Contributor

    Can you provide a code sample that reproduces this?

  2. liquish commented on Sep 11, 2016

    @liquish
    Author

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    mini2Dx-veIssues related to mini2Dx-ve

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0