Testing Plugins?

Hi,

I have a plugin that I would like to test with some other users, in the compiled form, not the source files. How do I do this?

I tried every hack I could on the Plugins folder, and studied other plugin structures, but still no luck. Even edited the catalog file (thanks for the overwrite :P).

What would be the proper way to do this? Seems like a staging phase is needed, unless I’m totally missing something.

Thanks in advance.

Cheers.

If you want to test your lua plugins, we have a specific environment setup for just that. We also have a blog post covering it.

Testing your plugin in that environment is the best way to make sure it works. However, if you are are set on testing the plugin in a normal plugin folder, you can do this:

  1. Code the plugin in the above environment until it is in a working state and ready to be tested.

  2. Run build.sh or build.bat to package a zip file with all the necessary information.

  3. Extract the created .zip file and dig down until you find your plugin namespace (the folder with example.lua if your plugin is named example).

  4. Copy your plugin assets to the plugins folder. On Windows this is “%APPDATA%/Roaming/Corona Labs/Plugins”. I’m not at my work laptop but on Mac I think it is something like “$HOME/Library/Application Support/Corona/Simulator/Plugins”. Poke around in Application Support (CMD+SHIFT+G to manually navigate, or you have to enable showing system files).

If that is not working for you, I’ll need more information.

If you want to test your lua plugins, we have a specific environment setup for just that. We also have a blog post covering it.

Testing your plugin in that environment is the best way to make sure it works. However, if you are are set on testing the plugin in a normal plugin folder, you can do this:

  1. Code the plugin in the above environment until it is in a working state and ready to be tested.

  2. Run build.sh or build.bat to package a zip file with all the necessary information.

  3. Extract the created .zip file and dig down until you find your plugin namespace (the folder with example.lua if your plugin is named example).

  4. Copy your plugin assets to the plugins folder. On Windows this is “%APPDATA%/Roaming/Corona Labs/Plugins”. I’m not at my work laptop but on Mac I think it is something like “$HOME/Library/Application Support/Corona/Simulator/Plugins”. Poke around in Application Support (CMD+SHIFT+G to manually navigate, or you have to enable showing system files).

If that is not working for you, I’ll need more information.