AGulev / drawpixels

Defold engine native extension for drawing pixels into texture buffer.
MIT License
82 stars 11 forks source link

issue with two or more images #9

Closed doorbash closed 5 years ago

doorbash commented 5 years ago

Hi I'm not sure if it is a bug of Defold Editor or drawpixels With one image everything is fine and drawpixels works very well but when I try to draw on two image for example when they are next to each other only one of them shows its content at a time, and sometimes they show duplicate content. It's very weird and annoying. When I test it on Browser or Android its working fine. I've made a very simple project to show you what I mean. You can play it in editor and move the player to right direction to see the issue. Thanks trail-test.zip

AGulev commented 5 years ago

Thanks for the report I'll check it.

AGulev commented 5 years ago

It's the Editor issue, I created a bug: Issue-4218 (#4218)

For now, as a workaround you can make a fast fix: just make some changes in one of the png files, they shouldn't be duplicates.

doorbash commented 5 years ago

Thank you so much for looking into this

AGulev commented 5 years ago

@doorbash fixed in the editor

doorbash commented 5 years ago

@AGulev Yes it's fixed now. Thanks a lot ❤️