Flash Develop to step-by-step debug your Stencyl code

RedEvo

  • Posts: 325
Don't know if this topic can interest large part of Stencyl user, but I'm sure can interest a little part of developers.
To debug your Stencyl project you must debug the generated project you can find here: %APPDATA%\Stencyl\stencylworks\games-generated

After game selection you must create a new Flash Develop Project with the following data:
0. Go to %APPDATA%\Stencyl\stencylworks\games-generated\NameOfProjectYouWantDebug and then copy project.xml in other folder.
1. OpenFL Project
2. Location: %APPDATA%\Stencyl\stencylworks\games-generated\NameOfProjectYouWantDebug
3. Choose a project name
4. Leave 'Package' blank and 'Create Directory' unselected and create
5. Copy saved project.xml in %APPDATA%\Stencyl\stencylworks\games-generated\NameOfProjectYouWantDebug
6. Start Debug
7. Start Release

If Release is ok and Debug give you some problems, remember: Flash Develop need to run with jre 1.6 32-bit (you can find all you need in Flash Develop FAQ).

David.
Launching RedemptionTCG Android Alpha. If you are interested contact us at info@redevogames.com

SadiQ

  • Posts: 1771
You used this for debugging behaviors made with Design mode?
Have you seen this guide?

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Justin

  • *
  • Posts: 4170
I've moved this to the Guides & How-To's section.

And a small note: if you're on an OS other than Windows, or you've changed your workspace, you can find the games-generated folder by going to Debug > View > View Workspace Folder in Stencyl.

For Live Support: Join our discord channel and ping me @justin.

Hectate

  • *
  • Posts: 4643
...if you're on an OS other than Windows...
To be fair, and to avoid potential confusion, FlashDevelop is not available for platforms except Windows. The rest of the comment applies, though. :)
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Justin

  • *
  • Posts: 4170
Oh, I thought that might be the case. Thanks for the heads up. :)

For Live Support: Join our discord channel and ping me @justin.

RedEvo

  • Posts: 325
Thanks for reference, I'd lost the guide
David.
Launching RedemptionTCG Android Alpha. If you are interested contact us at info@redevogames.com