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

Garbled Images #1

Open
GreenArrow18 opened this issue Jun 14, 2020 · 1 comment
Open

Garbled Images #1

GreenArrow18 opened this issue Jun 14, 2020 · 1 comment

Comments

@GreenArrow18
Copy link

GreenArrow18 commented Jun 14, 2020

Hello. In the project example, if I only download 4 images out of the 6 nodes in the gui, I am getting garbled images for nodes 5-6 (for html5 version):
imagebatch

From within Defold editor (desktop, Project/Build), nodes 5-6 will be black (not garbled).

I was expecting that since no image has been loaded in the other slots, they should still retain the original red/blue squares in the tile source? Right now, as soon as 1 image has been loaded, the remaining unused image slots in the 10x10 tilesource seem to be affected.

Is this expected? Or is there a "fix"?

Use case: I would like some pre-built images inside the tile source (e.g. first 10 slots are fixed, the 90 slots can be changed dynamically). However right now, as soon as 1 dynamic image is loaded, the rest of the unused image slots are garbled already.

I am using Defold 1.2.170, Windows 10. Not sure if this has been an issue with older versions, but it's only now that I have noticed it.

Thanks for any input.

@subsoap
Copy link
Owner

subsoap commented Jun 25, 2020

It's possible some things changed on Defold size, or this project is wrong. I recommend posting in the forum. The base atlas size you use matters for all of the offsets (and again the offsets in this project may be wrong, ask someone smarter).

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

2 participants