[Suggetion] Multi-action edditing

Discussion and feedback on Construct 2

Post » Tue Apr 02, 2013 4:53 pm

I often need to use the same actions for many different objects (though I don't think using Families are the best solution for my case).

Therefore, I create an action for an object (with a possibly complex and extensive paramater). Then, I must copy this extensive parameter and then do it all over again.

1) Click on Add Action.
2) Choose the other object
3) Choose the same action
4) Pasting the parameter

This is very annoying. I think, after duplicating an action, there should be an option to just switch the object who "owns" that action. That way, my "work sequence" would be:

1) Click on Add Action
2) Choose an object
3) Choose an action
4) Type extensive and complex parameter
5) Duplicate this action n times
6) Change the action's object for each copy of the action

Another useful feature (but maybe not very easy to implemente) is action multi-editing. Suppose you have these actions:

Sprite1 set opacity to X
Sprite2 set opacity to Y

I would like to select both actions, click edit and whatever I choose as the new opacity should apply to both actions.

Thank you,
Azis
B
5
S
1
Posts: 15
Reputation: 680

Post » Tue Apr 02, 2013 4:55 pm

For your first one, that is what functions are for, you create the function that does the action, then from each of your objects/sprites, simply call the function. No need to implement the same actions on multiple objects again and again.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Tue Apr 02, 2013 7:09 pm

It also sounds like you should just be using families... they're designed to avoid that kind of repetition!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Construct 2 General

Who is online

Users browsing this forum: erandi1984 and 13 guests