Can I ReUse Code from previous .caps in my new App?

New releases and general discussions.

Post » Mon Jan 11, 2010 3:03 pm

The best way I can see this working is to have a [u:2lbwwas3]Link To .cap[/u:2lbwwas3] feature,
that a connects to to the cap that you pick,
and when you copy and paste events from one cap to another cap
all the objects, variables, behaviors, and effects, and etc. that are in the copied event can be brought over with no problems.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

Post » Mon Jan 11, 2010 3:21 pm

I don't see how such a feature is necessary if Construct would just create all those instances upon pasting foreign objects into a new CAP.
B
5
S
2
G
3
Posts: 234
Reputation: 1,818

Post » Mon Jan 11, 2010 5:09 pm

[quote="konjak":13xopv9d]I don't see how such a feature is necessary if Construct would just create all those instances upon pasting foreign objects into a new CAP.[/quote:13xopv9d]

No, the reason why copying from on cap to another don't work is because it dose can't read data between caps.
so if the object do not exist it would just freeze trying to make because the event sheet can't make objects and from the way you say it what is the point of copy and paste if pasting it don't bring all the data it just create new ones.
Let say that the part of code that you are copying has a set animation action in it that animation won't be there it would be a 1 frame blank sprite.
That why I through out the idea of a some kind of import feature.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

Post » Mon Jan 11, 2010 7:55 pm

Toralord, I think the point he is trying to make is that your feature would do what it is that just plain old copying from .cap to .cap would need to do in order to copy from .cap to .cap so what's the point in having the feature?

Anyway, as I mentioned before David may have figured out a solution so it's all rather a moot point until we know for sure.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests