September 29, 2016, 5:47am
I want to use
Transparent Canvas to set a background page.
But I am not using the engine directly and I use editor. I have checked the item Transparent Canvas in project setting and set the camera clear color alpha to 0.
Unfortunately, I still can not see the background page.
And this’s my project:
Thank you in advance !
September 29, 2016, 6:58am
So, there two methods to make canvas transparent.
Setting background page
to the canvas.
z-index of background page is smaller than canvas.
to background page.
Using width and heigth properties to make the background page fill the window.
If you are going to use method
Tow, I suggest to setting background-image to body directly. Something like this:
Hoping this helps.
September 29, 2016, 9:09am
@WingUNO is the problem solved now or do you need any help?
September 29, 2016, 9:12am
Haha, the problem solved. Thank you all the same.
September 29, 2016, 11:19am
It would be nice if your games could detect desktop and allow them to be played in landscape. Most people don’t realise they have to resize the browser window for the game to be activated.
September 29, 2016, 12:57pm
Hi, will. Thank you for your sincere advice.
But this game I make only run on mobile.
September 29, 2016, 1:12pm
OK, no problem. But it would be cool to also feature it on the
Explore page. Where do you publish your games?
September 30, 2016, 1:21am
Yeah, it’s really cool if my games can be listed on the Explore page. However, in China, there’s a social app, WeChat, very popular. So, when publishing, I would like to publish games on it and games can only run on it.