Launching the Defold Simulator from the Command Line

Is there a way to do that? I saw mention of it on Slack, but nothing definitive.

I have a home-rolled IDE that I’ve used with Corona for years and would love to use it for Defold, too. But I wouldn’t want to have to jump back and forth from Defold to Desperado while working on stuff. A way to launch a project via command line would do the trick.

Jay

PS - I mean to use my own IDE for coding only, not scene editing, etc.

To get ahold of the program (dmengine), you can get it from the download site. There is also one locally deep within the plugins folder structure in the installation, but it’s not as obvious which one is the correct version. Remember that in both cases, the engine will probably change between versions, so make sure to always use the latest version. Typical errors that would follow otherwise is that the engine is unable to load data.
If you run dmengine from the project directory, it should run your game (given it’s built first). If you want to build the project from command line, you could do that with bob.jar, also available in the download site.

1 Like

And bob.jar is documented here: http://www.defold.com/manuals/bob/

2 Likes