How do I make an exact copy of an object at runtime?

Get help using Construct 2

Post » Mon Dec 29, 2014 8:53 pm

Hi, all. I'd like to make an exact copy of an object at runtime, including the FX properties, for example Hue and Brightness. Is this possible? (Is the only way saving all the FX properties of the original object in Instance variables and copying the rest of the settings one by one?)

And for someone who might say - why would you need that, etc - I'm building a stuff generator in C2 - a quick way to make all sorts of things (perhaps placeholder, perhaps not). Here are some examples:

Let's build a plane!
Image

Let' s build a... crappy looking vehicle!
Image

As you can see in many cases a quick copy would be neat. It would also enable a mirror feature which would be even neater.

While we are at it - how would one save half of the canvas out as a transparent png?
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Return to How do I....?

Who is online

Users browsing this forum: batto, bclikesyou, Lancifer and 25 guests