a MUST HAVE feature - Group sprites into 1 object?

Discussion and feedback on Construct 2

Post » Sun Dec 27, 2015 6:25 am

Hello everyone! i was wondering why dont we have a feature yet to group sprites into an specific object?

for example, lets think that we have a farming game and we need some corn plant sprites depending on how old is the plant so
we will have to use 3 DIFFERENT SPRITES.

Image

so here comes my idea, why instead of using different sprites, we dont just grab the pieces and group each other into one object?

Image

the object could be described like a kind of a "sprite group", and we just with those parts create the exactly same objects just by doing a group and moving a little
the sizes of the sprites.

this example was just in a corn plant, but lets think about more stuff, a game where you can create a custom weapon, a custom building, etc...
this feature can help a lot to improve not just development but perfomance.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Sun Dec 27, 2015 6:59 am

Hmm, not sure but isnt that what containters are for?
Brick by brick, stone by stone.
B
56
S
25
G
18
Posts: 273
Reputation: 13,363

Post » Sun Dec 27, 2015 7:07 am

Use object container
B
6
S
1
Posts: 39
Reputation: 484

Post » Sun Dec 27, 2015 12:03 pm

In the plant example, you could just make each one its own animation within the same sprite object. That's definitely the easiest way. For custom stuff, you can replace frames/images from a URL or project file. And, lastly, if you want multiple objects stuck together, either use something like the program Spriter (which is made for stuff like that) or put them in a container and place them relative to directive image points on the base sprite frame.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Sun Dec 27, 2015 2:28 pm

All right guys ,the feature @IJCT request is c2 "THE" must have feature.
I mean ok yes you can create containers but you cant do complex stuff with them unless you write events for every one of them, create variables for each one object that container has and anyway complex stuffs.It will be great if we can create a "combination of sprites object" in the editor (like the warp selection feature) and give it a new name and even new behaviors .So my point is that, lets say that we want to move 5 different objects( in my case sprites) the only easy way to separate them among the others same object that exist in my layout is to add an "id" variable for every object.after that i pick them relative to "id" variable and do stuffs with them.instead of that i want to warp a selection of object create one new "object-group" that i can select it like i select a normal object and do stuff with it and if i want to edit it i will just double click it and move, scale, delete sprites and stuff.
So yeah, i think this will be a great feature if the developers can implement it.
Maybe i missing something here about the pick events because i am inexperienced with c2. But if there is a way to do stuffs like IJCT says i wanted to know( no spriter, no other animation software, no extra frames, just with c2).
Last edited by saour on Sun Dec 27, 2015 5:20 pm, edited 1 time in total.
B
36
S
15
G
1
Posts: 59
Reputation: 3,451

Post » Sun Dec 27, 2015 3:23 pm

Containers are very limiting and attempt to do waaaay too much for you. They wouldn't really help in this case either. Would strongly prefer a system like Unity's prefabs, but that's been discussed to death already.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Dec 27, 2015 3:40 pm

The closest thing I can think about is Spriter.
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sun Dec 27, 2015 5:29 pm

@Tokinsom . Wow!! at that Unity prefabs. That is exactly what i am talking about.
B
36
S
15
G
1
Posts: 59
Reputation: 3,451

Post » Sun Dec 27, 2015 6:14 pm

Also scene graph objects would help a million. Which is part of the prefab system.

I've been saying this for 3/4 years now, weeks after I joined. Objects should be based on scene graph, use Unities prefabs and scrap PIN and Containers. They just don't have the same versatility, and they are so much more straight jacketed. I still use them, but rarely.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Sun Dec 27, 2015 8:03 pm

Here is Ashley's response to a similar question regarding c3 development. Having such gorgeous additions as a timeline editor in c3 are unlikely, given the prevalence of 3rd party tools like Spriter. I am sorry to report this.... having the ability to control and animate a group of objects within a scene graph would be rather useful....!
A big fan of JavaScript.
B
76
S
20
G
74
Posts: 2,245
Reputation: 46,464

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests