Feature Request - Copy/Paste in place

Discussion and feedback on Construct 2

Post » Thu Apr 04, 2013 7:52 am

Just thought I'd add a feature request to be able to copy an object(s) and paste it in the same X & Y location.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Thu Apr 04, 2013 2:01 pm

Why not just type in an X and Y position in the properties bar after pasting?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Thu Apr 04, 2013 6:51 pm

I don't think this will work if you copy multiple objects on screen - you would have to set the x/y for every object.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Thu Apr 04, 2013 6:56 pm

You can paste them all in whatever location, then select them all at once, and type in the xy coordinates and they will all be placed at once.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Thu Apr 04, 2013 7:04 pm

Sorry for my ignorance, but won't they all be placed at the same XY coordinates you enter?
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Thu Apr 04, 2013 7:13 pm

Yes, but I thought that was what you wanted. Sorry if I misunderstood your post.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Thu Apr 04, 2013 7:17 pm

What I'm looking for is if you have an object at 0,0 and an object at 50, 50, you can copy BOTH objects and paste both objects at the same coordinates they are at without having to manually set each one (useful for things such as menus across layouts, etc.)

Hopefully that makes more sense?
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Thu Apr 04, 2013 8:33 pm

You probably shouldn't be duplicating menu/UI elements across your layouts, anyway. If you make one change down the line then you'll have to go through each layout and make the changes again. Probably why you're getting bothered enough to request this feature.

I suggest either building your UI elements with events (use a common event sheet called "UI" or something, and include that for each layout's event sheet), or create a single global layout that's persistent across each screen.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Thu Apr 04, 2013 10:24 pm

If you can handle copying some object manually , don't even think of making games ,

I don't want to feel rude but come one !Whiteclaws2013-04-04 22:32:51
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Thu Apr 04, 2013 10:59 pm

The best options have been mentioned, creating them via events/using a single layout for multiple levels (if this is ui), or you can paste them in then use the arrow keys to align them by moving them all at once.

@Whiteclaws - if you're copying and pasting the same thing across 50 levels, it can become a tedious task, especially if you make an edit and then have to redo the work. Nothing wrong with wanting tools to help improve that. That's one of the whole ideas behind the event sheet includes, so you don't have to copy and paste your events repeatedly for different layouts.

There's actually a feature CC had made specifically for this I think they were called in inheritance layers. You could enter a name of a layer from a different layout, and it would automatically have all of the objects from that layer created at the start of the layout (sort of like 'layer includes'). Hopefully C2 will get it eventually.Arima2013-04-04 23:06:17
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests