When running my project in browser, the canvas/game has a black completely opaque background so I can’t see HTML elements rendering behind/under it (set with z-index CSS property). I know my project doesn’t have a full black anywhere so I am not sure how to get rid of this. Any pointers would be appreciated.
I found the issue. In the project_wasm.js, in the Browser class, the createContext function, the attributes it passes has alpha set to false. Is there a project setting to change this?
2 Likes
No, not currently. But please open a feature request on GitHub. We could probably add it as an option to the HTML5 section of game.project.
Did you test manually changing it?
Yea, manually changing it gets the result I am looking for.