Plugin converter (initial release)

For discussion and help with the Construct 3 Plugin SDK

Post » Fri Aug 11, 2017 2:31 pm

v1.0.0.9 available.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Fri Aug 11, 2017 6:04 pm

@blackhornet - How to do i make the converted plugin from the series of file into a .c3addon. i thought it was just a .zip renamed, but c3 doesnt seem to like when i try that.

thx
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938

Post » Fri Aug 11, 2017 6:41 pm

That's it. Go to the directory, select all of the files, ZIP, and rename. You don't even have to rename, you can pick "All files" from the filter control and pick the ZIP file then. That's what I do generally, for testing.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Fri Aug 11, 2017 7:02 pm

Ah. I was zipping the whole folder. Thx
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938

Post » Sat Aug 12, 2017 7:01 am

@blackhornet

variadic parameter worked great, thanks. :D
There has a little bug in en-US.json, {...} will be added twice at the end of "display-text".
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Sat Aug 12, 2017 8:36 am

Bug report:

Exception: Unsupported condition flag:cf_fast_trigger, ex: official function plugin
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Sat Aug 12, 2017 2:08 pm

@rexrainbow
I'll fix the {...} issue. I did warn on Jun 13 that the C3 SDK does not document a replacement for cf_fast_trigger. You'll have to take that up with them, on whether they are exposing an equivalent or not.

Edit: there is also AddFunctionNameParam() which I never noticed before (sorry I didn't try converting the official function plugin since I knew it wouldn't work). You'll have to ask about that too. I suspect they really don't want to expose these, since they were only meant for the official function plugin (internally) in the first place.

Edit2: actually I don't see the double {...} issue. Do you have an example?
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Sat Aug 12, 2017 2:43 pm

@blackhornet

Agree, "AddFunctionNameParam" is only meaningful in official function plugin.
But cf_fast_trigger is a common trigger which could be used in 3rd party plugin, imo. @Ashley , could scirra please add cf_fast_trigger in C3 SDK?
Last edited by rexrainbow on Sat Aug 12, 2017 3:05 pm, edited 1 time in total.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Sat Aug 12, 2017 2:46 pm

Duplicating {} issue might happen in rex_timeline plugin, Action: Create timer, the description of that action is -
"Create timer <i>{0}</i> with callback <i>{1}</i> (<i>{...}</i>)"

This is only a small issue, nevermind.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Sat Aug 12, 2017 3:51 pm

v1.0.0.10 available.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

PreviousNext

Return to Plugin SDK

Who is online

Users browsing this forum: No registered users and 0 guests