How do I replace one object with another?

Get help using Construct 2

Post » Thu Apr 02, 2015 8:25 pm

Hey all. Is there a quick and easy way to replace one object with another in the event sheet? Alternately, can you set the event sheet to only view events pertaining to one particular object?

I have two cloned sprite objects, identical in graphics but serving different purposes with different codes attached. Both have many animations enclosed. Recently I decided to do a complete overhaul of the graphics, but while replacing the sprites of one object is simple enough, given the amount of animations I'd have to contend with, it would probably be easier to clone the first sprite (again) instead of doing the same for the second sprite. Some game making program I used a while back, possibly CC or MMF, had a feature where you could tell it to completely replace an object with another in the event system. Similarly, you could also view events only pertaining to a certain object, making manual replacements easier. Does C2 have anything like either of these features?
B
39
S
18
G
16
Posts: 273
Reputation: 11,121

Post » Thu Apr 02, 2015 10:22 pm

Click the events tab at the very top (File, Home, View, Events <- this one)
Then in the search, enter your object's name. All events associated with that name will be shown in the event sheet. To reset, just make sure that search field is empty and hit return.
To replace an object, right click the object name in the event sheet, then "replace object" in the popup menu.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Fri Apr 03, 2015 8:27 am

Sweet. Thanks for the help.
B
39
S
18
G
16
Posts: 273
Reputation: 11,121


Return to How do I....?

Who is online

Users browsing this forum: makkancs, work3 and 0 guests