Hi! I just started using Defold and I’m excited to learn more about it as I try to make my own games using it. But one problem I’ve run in to is that there seems to be an issue with the player sprite game object, which causes it not to render?
I initially thought I was causing this problem, but I started a new project using the Platformer Template and even that has the same issue when I Ctrl+B or build it. Everything but the player object shows up.
Hi. Thank you for your response to this issue. I tried changing the Z values of the player object but it didn’t seem to change anything. It’s possible that I am overlooking something here, but I will keep trying to change the Z value to see any change. I’ve read through some of the documentation regarding Rendering and have a basic idea of how Defold prioritizes rendering for each object. But I just started today so this is tough for me to figure out.
Also I’m using the latest version, 1.2.186 (I think that’s correct?)
Yes, for me it is the same issue, workaround is to reduce atlases amount - it is always happening for one atlas (e.g player’s atlas like here), and when you move player’s sprite to the background’s atlas everything is OK.
Also I am confirming that HTML5 and Windows builds are working without such issue, and in Editor view everything is OK, yet it occurs only when running from Project->Run.
Also Windows (64bit), laptop with integrated graphics
When you say “Window build”, you mean you’ve bundled for Windows?
I mean, “Build and run” from the editor, is a Windows build too (if your’re using windows)
If that’s the case, there seems to be a difference in how the content is created between the editor build pipeline and bob (bob is used for HTML5 and bundling).