We are an indie game development studio based in Sri Lanka. We are really happy to use defold and we are dedicating and supporting for the defold growth. When we are developing games ,we are using a process as follows,
Once we have finalized the game mechanics (i.e core gameplay ) what we do is , using sample pre-built game arts(dummy arts) to build the game( by the Game developer)
In parallel, our artists are working on the actual game arts.
But once we have the actual arts from the game artists we have faced a problem which is a bit hard to replace the dummy game arts.
Will it be possible to help us to refine our game development pipeline using defold? Which will help us to reduce our development time?
I have never make game professionally before, so I don’t know the steps that I should take to make a game. It would be really helpful if someone could tell us how you guys do it in the professional environment . My approach right now is similar to @kalintush’s approach, but is there another pipeline which is more efficient to create a game?
So this was the issue I faced,
There was a collection called Objects including a couple of Game Objects and this was included in another collection called Level. After I got the assets for HUD etc from the designers I created a new GUI for it called HUD and added it to the Level Collection. When I did that, I wasn’t able to see Objects collection, It goes under. I have done everything to get Objects collection to the top of HUD GUI. Setting gui.set_render_order() to HUD GUI, adding cameras and changing Z-order etc but nothing worked, a day later I decided to delete Objects collection and its Game Objects and create a new GUI for it and add Game Objects as Nodes in there. So it works, now I moving functionality from the Objects collection to the new Objects GUI Script.
If you look at the render script, you’ll see that it draw GUI last, in a separate draw call.
That’s why you couldn’t get the sprites to be rendered interleaved with the GUI.
As @Mathias_Westerdahl pointed out the gui is by default drawn on top of the game objects in the render script. This can be changed if you copy and modify the default render script. You can learn more about the render script here: https://www.defold.com/manuals/render/