How do you use your code?

Steven70

  • Posts: 42
As a new Stencyl utilizer I often find myself creating code to try out certain behaviors. To feel free to develop parts of the game in which I have more difficulty, I sometimes create new projects different from the original one so as not to be confused with the code already written and working. But now how do I take the code from a project and copy it to another project without opening and closing the two projects many times?

Rimrook

  • Posts: 251
Exporting the actor or behavior would certainly do it, but that still involves closing and opening the two projects.

I don’t know if this can still be done, but when I rebuilt my game a while back, I had two copies of Stencyl open and I copied and pasted between the two of them. Worked just fine at the time. When editing a behavior, you can click it’s event name and copy/paste that between Stencyls. Just create a blank behavior to paste into on your main project.

NickamonPoppytail

  • Posts: 1141
There is also a way to have behaviours be able to be used through multiple games as it is mentioned this is possible in Merrak's post in the Useful Tips thread: http://community.stencyl.com/index.php/topic,54852.msg293759.html#new
Upcoming Projects
Poppytail 5 and Pixeltail: Fifth and sixth main instalments in Poppytail series. A Game About Trimming Hedges: Final Version: An updated version of the original AGATH. One Million: Last-one-standing style small project. The Poppytales: Platformer boss rush with character collecting. Skies n' Fall: Boss rush shooter prequel to Rise n' Brawl. Precious: Weird platformer. Christmas Time 2: Sequel to Christmas Time 1.

Bombini

  • *
  • Posts: 1401
Hi,
i use a very simple way. Open Stencyl twice and copy/paste it over (Game strributes are not copy/pasted over).
Works for me on Windows. Havent tried on MAC.

Cheers!