Iparra
December 4, 2017, 7:47pm
1
Hi there,
I’m new on defold, a great tool for game development, thanks for his job.
I’m having a issue when a new game object has been added on a collection, the tileset turn with a black background (disappears).
The result with the torch game object is as follow
If the torch is removed everything works correctly
Any idea?, what could be the problem?
Thanks in advanced.
britzl
December 4, 2017, 8:01pm
2
Any errors in the console?
Iparra
December 4, 2017, 8:12pm
3
No, the console not shows any error, but the level loads correctly.
britzl
December 4, 2017, 8:17pm
4
Strange. Would you mind sharing the project with me (bjorn.ritzl@king.com )?
Iparra
December 4, 2017, 8:21pm
5
Thanks for your quick reply, I shared the project with you.
britzl
December 5, 2017, 12:04am
6
How? Via e-mail or the dashboard (and what’s the name of the project)?
Iparra
December 5, 2017, 7:06am
7
Sorry, I shared the project from my dashboard, the project name is NewPlatformerParallax.
britzl
December 5, 2017, 7:45am
8
Ok, found it! The problem is quite simple once you know what to look for, but from a UX perspective it sucks. We really should deal with this in a much better way. In main/stone_level1/
you have a stone.atlas
and a stone.tilemap
. When you build your project both of these files will generate a binary asset named stone.texturesetc
, meaning that one will overwrite the other.
The solution is to rename one of the assets, perhaps stone.tilemap
-> stone_tiles.tilemap
@mats.gisselson , @Erik_Angelin and @Ragnar_Dahlen : Could we perhaps make a push and fix this or at least create a warning while building? Or perhaps earlier?
5 Likes
Iparra
December 5, 2017, 7:48am
9
Wow, thanks a lot, I go to test it.
1 Like
Found your report filed in April https://github.com/defold/editor2-issues/issues/697
We’ll discuss how to handle this.
5 Likes
britzl
December 5, 2017, 11:01am
11
Ah, yes, I remember that we’ve talked about this in the past. It would be great if this could be detected and warned of.
1 Like