How do I use TextBox and Page Scrolling together?

Get help using Construct 2

Post » Thu Mar 06, 2014 8:40 pm

Hello, I have noticed weird behavior when I have TextBoxes on a page and use scrolling. Please see this link: https://dl.dropboxusercontent.com/u/19970748/TextBoxScrollPage/index.html

If you left-click and scroll up and down, you will notice the TextBoxes do not scroll at same speed as page and you can see the text underneath. Why is this?

Here is the code used to scroll (this is from @Joannesalfa's scrolling example):

Image
Last edited by Manley23 on Fri Mar 07, 2014 3:46 pm, edited 1 time in total.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Fri Mar 07, 2014 2:04 pm

I forgot to mention that I tried using Pin Behavior, but the TextBoxes still lag behind the whole page scrolling. I'm hoping this is just something simple that I missed.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Sat Mar 15, 2014 12:01 am

I got your PM, because you're using DOM elements, they do not draw in Canvas. Use Sprites.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev, oosyrag and 27 guests