How do I copy a rectangle from canvas (paster)

Get help using Construct 2

Post » Tue Jan 05, 2016 9:07 pm

How can I copy a rectangle from canvas to put into paster (@R0J0hound)?

I want to move a Form with HTML elements, and it´s not possible.
So, the solution that I found is to use paster to copy de background and move the paster instead of the Form.

Any tips in how to use paster in this way (copy a portion of the canvas) or any other solution for the problem (Move HTML components)?
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Tue Jan 05, 2016 9:57 pm

Well, the HTML-element isn't a part of the canvas, but a DOM-element..
How are you creating this form and why is moving it not possible?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jan 05, 2016 10:19 pm

If you move the "cam" or the HTML element with Tween (for example), it moves with bug, not in a smooth way.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Tue Jan 05, 2016 10:31 pm

frcol wrote:If you move the "cam" or the HTML element with Tween (for example), it moves with bug, not in a smooth way.


True, that's because the element isn't part of the canvas..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 06, 2016 10:47 am

So, the solution I found is copy it in paster. But now, I think paster will not copy HTML elements too, correct?

No solution for moving HTML elements?
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Wed Jan 06, 2016 11:21 am

As is stated in the manual, all Form elements - Text, TextBox, Slider etc - are not part of the Canvas and are rendered above it, so it's unlikely Canvas or Poster will be of use.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630


Return to How do I....?

Who is online

Users browsing this forum: adamebastin, Bro7hers, plinkie, radbrothers and 9 guests