Please Add: Send Forward/Send Backward Commands...

Discussion and feedback on Construct 2

Post » Tue Feb 12, 2013 2:41 pm

Please Add: Send Forward/Send Backward Commands...

Hi,

I've been using "Construct 2" for a few days now.

I have a suggestion for the IDE:
Currently there is only
"Send To Bottom Layer"/"Send To Top Layer"
Z Order commands in the IDE.

I think it would be helpful to add:
"Send Backward"/"Send Forward" Z Order commands.

Hopefully you can add this to the next update, thanks!

JeZ+LeeJeZLee2013-02-12 14:48:01
B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Tue Feb 12, 2013 2:54 pm

For now you might notice those say "move to bottom", "move to layer", and "move to top".
Move to bottom, and move to top mean place on top or bottom of their respective layers, not some other layer.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Tue Feb 12, 2013 2:58 pm

[QUOTE=newt] For now you might notice those say "move to bottom", "move to layer", and "move to top".
Move to bottom, and move to top mean place on top or bottom of their respective layers, not some other layer.[/QUOTE]Hi,

Understand...

I think these new commands would be very helpful if they were added.

JeZ+LeeJeZLee2013-02-12 14:58:43
B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Tue Feb 12, 2013 3:07 pm

They would be immensely helpful and it's been asked. I have no idea why it hasn't been added yet, unless for some reason Ashley thinks the current commands are enough or it would be difficult to add the new ones. It would make things a TON easier for a lot of normal tasks.
B
90
S
32
G
14
Posts: 935
Reputation: 14,540

Post » Tue Feb 12, 2013 3:24 pm

[QUOTE=C-7] They would be immensely helpful and it's been asked. I have no idea why it hasn't been added yet, unless for some reason Ashley thinks the current commands are enough or it would be difficult to add the new ones. It would make things a TON easier for a lot of normal tasks.[/QUOTE]Hi,

Microsoft Publisher has similar commands:
- Bring to front
- Bring forward
- Send to back
- Send backwards

I don't understand why SCIRRA does not include
bring forward/send backward commands in the IDE?

JeZ+Lee
B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Tue Feb 12, 2013 3:38 pm

Wouldn't a z-index be more appropriate?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Tue Feb 12, 2013 3:43 pm

Bring fw/bw is nice, but the most useful would be Number z-ordering, like in actionscript...
I've seen @Ashley 's reply here, but I would agree with linkman that it just eats cpu
I'm doing something like this, and ordering everything every second just gives back nice freezes... while I could handle it in a much lighter way when each instance is created on a 6-level number-based depth system
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Wed Feb 13, 2013 3:33 pm

"For each with families" does NOT work with more than one object type, so until families become more robust, it's not a very useful argument.C-72013-02-13 15:33:30
B
90
S
32
G
14
Posts: 935
Reputation: 14,540

Post » Wed Feb 13, 2013 3:44 pm

Couldn't you get away with a variable numbered say 1-10 and move your objects to layers based on their value?
B
49
S
14
G
3
Posts: 540
Reputation: 5,611

Post » Wed Feb 13, 2013 4:22 pm

What might be nice for the family issue is a for each object in layer.
If it was possible to group dissimilar objects like that.
Basically:

For each object on layer 0, ordered by self.y, send to front.

Any thoughts @Ashley, or were you planning on going with an index at some point?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Next

Return to Construct 2 General

Who is online

Users browsing this forum: tumira and 15 guests