I just have started using Defold. I read some docs and created a tiny tilemap. When I first added a game object to the main collection and inserted the tilemap in there, I did not get any preview of it in the editor, nor in the game. I removed the game object and recreated it, suddenly it appeared. But now I have some rendering issue that I don’t understand. I tried to assign a green-ish opaque background, because I thought it was because of the BlendMode “Alpha” and missing background color that were added together, but that wasn’t the case either… no I’m lost… Could anyone explain?
Hello @jack0088 ,
It seems your clear color works since it looks greenish, could you please share your render script, that you change background color, since editor looks fine, you may change some value from script.
Best Regards,
That are the only things I’ve changed. I still use the default renderer. And now I even removed the msg.post("@render:", "clear_color", {color = vmath.vector4(.3, .8, .5, 1)})
from the init() of the profiler script
#Edit: If you give me your eMail, I can add you to my project as a team member, so you can look over it, if you like…
You have one option to check your graphic card. Maybe need some updated drivers.
Beyond that i couldn’t help further more. You should wait for a valid answer.
Best Regards,
I’m on a mac (OSX El Capitan 10.11 Beta) so everything should be up to date. But thank you anyway
@ArmandCloud solved the mystery. Defold has problems displaying png files with indexed colors! You have to export png files in RGBA mode.