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

Artifact when drawing map with levels. #7

Open
Ge0 opened this issue Jul 20, 2019 · 0 comments
Open

Artifact when drawing map with levels. #7

Ge0 opened this issue Jul 20, 2019 · 0 comments

Comments

@Ge0
Copy link
Member

Ge0 commented Jul 20, 2019

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!

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