Skip to content

Artifact when drawing map with levels. #7

Description

@Ge0

https://cdn.discordapp.com/attachments/592966305993195520/602249622345482259/artifact.png

Since I am not any SFML guru, I actually wonder where this comes from.

I think that the answer lies within https://github.com/dummymeuporg/dummyclient/blob/master/src/level_view.cpp, where I merge multiple sprites to create one per upper/lower layer, per level.

I think about creating a TileSprite custom class with e.g. a boolean m_drawn or the tile coordinates so I would choose not to draw it or not.

Yet I am still thinking about a more elegant solution.

If you guys are reading this message and ever came up with an idea, let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions