Grouping Objects

Discuss game development design and post your game ideas

Post » Fri Feb 26, 2016 4:37 am

Hi, I've had a quick look and not found the same topic, so apologies if this has already been suggested.

I personally would benefit from grouping objects together, so then I can move whole sections rather than individually. I think it would also be useful if this became an entity so I could (f.e) set visibility to hidden to hide a full section without doing each item individually.

Again, sorry if this has already been suggested or is already in. (Only starting playing around 24 hours ago)
B
12
S
2
G
1
Posts: 42
Reputation: 879

Post » Sat Feb 27, 2016 5:48 pm

Hi @russellit! I think Family system is close to what you need. It allows you to gather objects under a common super-objet. For example : You have Monster1, Monster2, and Monster3 -> You can make a "Monsters" Family with all them. Then, when you change the visibility of "Monsters" it will be applied to Monster1, Monster2, and Monster3.

I'm not sure it was exactly what you needed, but if you just started to discover C2, you might have missed this feature like I did. ;)
Check out the manual page for detailed information : https://www.scirra.com/manual/142/families
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Sat Feb 27, 2016 5:56 pm

Hi GaMan, thanks for your reply... that's certainly a useful feature that I didn't know about (and will now be using) but I was thinking about it more from a design point of view. For example, if I wanted to move a whole area with everything within it but without having to try and highlight them together each time. So I could move something like a "Menu" or something like that :-)
B
12
S
2
G
1
Posts: 42
Reputation: 879

Post » Sat Feb 27, 2016 6:03 pm

Hum... I'm not sure to understand exactly what you need that can't be make by selecting more objects with the mouse and then changing some properties. You can also right-click and select "wrap the selection" to change the size or rotate selected objects as a whole.

Another manual page maybe ? :p https://www.scirra.com/tutorials/119/the-layout-view
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Sat Feb 27, 2016 8:26 pm

It's essentially the last page you sent, but as a permanent thing. Similar to what you'd do in Photoshop or Illustrator with their "Group" and "Ungroup" function
B
12
S
2
G
1
Posts: 42
Reputation: 879

Post » Sun Feb 28, 2016 10:26 am

I don't think that's possible yet, indeed. At least you can isolate these elements on a same layer, as if it was a group.
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Sun Feb 28, 2016 11:40 am

No it is not possible at the moment in C2 AFAIK. It seems to be a nice feature C3 could have. For now it's just wise to have a separate layer for each parts of layout like menu, playerGameplay, HUD etc. so you can disable unwanted layers and make an easy selection with your mouse.
ImageImage
B
27
S
16
G
67
Posts: 934
Reputation: 38,072

Post » Sun Feb 28, 2016 1:53 pm

Ah yes, I didn't think it was possible, just thought I'd ask in case I was being stupid.

But yeah it's certainly a nice to have for the next version :-)

Thanks all for your comments
B
12
S
2
G
1
Posts: 42
Reputation: 879


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests