Page 1 of 1

Best way to include a large algorithm

PostPosted: Wed Jul 05, 2017 5:29 pm
by mikelester
I am trying to convert a game from Gamemaker to Construct2 and I have one very large algorithm (about 600 lines) that sets up each level of the game. I probably could translate this into an event but I could see this as difficult to write and more difficult to maintain.

Is there anyway to have this become an importable Javascript function?

Re: Best way to include a large algorithm

PostPosted: Wed Jul 05, 2017 8:07 pm
by newt
That's pretty vague.
But, then again so is saying to take a look at the plugin sdk.
https://www.scirra.com/manual/15/sdk