[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1582: number_format() expects parameter 1 to be double, string given
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1582: number_format() expects parameter 1 to be double, string given
Can I ReUse Code from previous .caps in my new App? - Scirra Forums

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

New releases and general discussions.

Post » Mon Jan 04, 2010 4:35 pm

Can I cut and paste or drag and drop from one of my projects to another new project?
You know so I dont have to keep writting the same events and actions over again?
Say I have objects and events for a "Better Color Picker" that I will use in all my projects can I just
copy them over somehow? :idea: :?:
B
2
S
1
Reputation: 400

Post » Mon Jan 04, 2010 4:59 pm

the only way would be to
write those event as python scripts
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Jan 04, 2010 5:22 pm

Are you sure? The only way? Sounds kinda concret. If this is true then I think Developers should
create a means to make it easier somehow to reuse parts or complete .cap even...importing or
something. :cry:
B
2
S
1
Reputation: 400

Post » Mon Jan 04, 2010 9:48 pm

Davo, can you copy paste events between .caps?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jan 05, 2010 12:29 am

Construct crashes when I try that.
B
5
S
2
G
3
Posts: 234
Reputation: 1,818

Post » Tue Jan 05, 2010 1:17 pm

[quote="Ashley":px6b94gr]Davo, can you copy paste events between .caps?[/quote:px6b94gr]
For me it only works if I was to open two cap that have the same data and paste between them.
My guess of why it work is because there is no missing data be tween them.
So it is able to paste events in the in the second cap.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

Post » Thu Jan 07, 2010 7:02 pm

This might be something to consider for a future feature. Being able to export/import event sheets.
I don't know how, or even if, it could be done, but it would certainly make the event sheets even more awesome than they already are. :)
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Thu Jan 07, 2010 11:50 pm

I think it would only be useful if we could get both layout and event sheets.
Most events refer to objects after all.
B
2
S
1
G
4
Posts: 156
Reputation: 1,612

Post » Sat Jan 09, 2010 12:16 am

I've been holding off on responding because I don't know if the feature will be completed, but since a lot of people seem to be asking and this is a topic that has come up a lot I guess I will. And I really don't like speaking for others, but... eh.

David said in chat that he had the beginnings of being able to copy and paste objects and events from one .cap to another in the works. There. Now I guess it's up to him to confirm/deny it :P
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

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

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests