I have some interface buttons. They are bounded to viewports values like this:
Those, which lined with red color, adds
some value to ViewportTop
, and the green one substracts
Here is the code:
(Layer #2 is an "interface" layer with 0 X and Y parallax)
It works fine in default Construct 2 preview (without Fullscreen), but this is what I got on mobile devices (with Fullscreen on, of course):
It is obvious, that ViewportLeft and Top are always = 0 in this case, so there might be no problems with adding some values to 0. Seems like there IS some trouble with substracting from ViewportBottom, which is always different, BUT
ViewportRight is always different too, but it works well.
I cant get what is wrong. Please help!