Re-use code without retyping?


  • Posts: 40

This is probably a really dumb question, but I've got about 5 games on the go, and as I learn and develop - I often end up with better code to do the same stuff in other games. All my development is 2 steps forward, one back. It would just be useful to have a central place where all my code can be stored. Does this exist on Stencyl, in a way that I can just share code over games?

Thanks in advance


  • *
  • Posts: 4712
You can export your behaviors by right-clicking them. You can also copy blocks or events, close a game, open another, and paste them in. Perhaps this works with multiple copies of Stencyl open at once, but do that at your own risk.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)


  • Posts: 40
Sweet - yes - thank you.  Export to hard drive and import resource, fill in the variables. Thank you again! :)