Can i import a game that's in haxe into stencyl?

Scepterus

  • Posts: 16
Hello everyone, as the title suggests, I have a game that was converted to haxe from AS and i want to know if it's possible to import it into Stencyl.

Thanks and have a great week!

merrak

  • *
  • Posts: 2738
Technically yes, but probably not with practical results.

You can take haxe code and integrate it with Stencyl by either using extensions, 'code mode' or 'freeform mode' editing, or even replacing parts of the Stencyl engine. You couldn't edit your code using the blocks (design mode) or have Stencyl automatically segment your code into behaviors.

Unless you already know your way around the Stencyl engine and a bit of its internal workings then it would take less time to just start over and use your existing code as a guide to refer to.

Scepterus

  • Posts: 16
thanks for the quick replay. so you're saying it could import but i could only use it to export to whatever Stencyl enables but i could not edit the scenes in Stencyl or layouts.