I have a layer (main) and another layer (pause),
Main: -paralax- 100, 100
-scale rate- 100
-initial visibility- visible
Pause: -paralax- 0, 0
-scale rate- 0
-initial visibility- invisible
The only thing in this layer is a button in the center of the screen
In the event list I have it so when I press "P", the layer (pause) is visible and you can press the button to return to the game.
So the problem is when I press "P" and layer (pause) is visible, a vertical scroll bar appears in the preview in HTML.
It just bothers me a little bit, please answer ASAP.
Please see how to report bugs. Can you include:
Try uploading your .capx to DropBox, a free file hosting service. Put it in the Public folder then 'copy public link'.
Here it is
What is actually wrong with this?
When you press 'P', the side-scroll bar appears?
This only happens, for me, when I shrink my window down. I think it's appending several breaks (<br />) under the canvas. I think it's because the button itself messes with the formatting of the page.
Try it, but instead of using a Button, try just a simple sprite or text, and see if it does the same thing.
Edit: I removed the button, and it didn't have the problem after that.
Rather than it being a 'layers bug', it's more an unintended behaviour of the Button plugin, that only shows itself when it's visible. Still, if that unintended behaviour is able to be cleaned up by Ashley, that'd be awesome.
I can't reproduce any issue. I open the .capx, press P a few times, everything seems fine - no scrollbar. Tested using Chrome. Any tips on how to cause the problem?
Develop games in your browser. Powerful, performant & highly capable.
I dont know how this happened, but I guess I'll just have to use Chrome
thank you brockathkinson