You can create with the FREE version of GeeXLab a demo that is lauchable directly with a double-click on an executable file.
But the end-user will always have access to demo’s source codes (xml, glsl and lua files). Only the commercial version (PRO) of GeeXLab makes it possible to protect the source codes of the demo.
Once the demo coded and operational, just create a folder where you will copy your demo files (xml, lua, glsl and media). Then copy in that folder GeeXLab.exe executable with its DLL and plugins (*.o3p). All plugins are not mandatory: if the demo, for instance, does not use particles, it's not necessary to copy particle system plugins (particle_system_plugins folder). Now that the demo’s folder is ok, you need to do the following tasks:
- edit config.gxml file and change auto_load attribute of startup node. auto_load holds the name of the demo file: in our case it’s the main XML file, the one that contains the root node geexlab.
- set to 0 check_version attribute. That will disable online check for new versions of GeeXLab (currently the online check is always disabled but maybe it will be enabled in the future).
- rename GeeXLab.exe: for example with myKool3DDemo.exe
- archive all the demo in a nice zip file and put it in download somewhere in the Net.
The end user has only to unzip the demo and double-click on myKool3DDemo.exe to launch the demo.
You can also pack all data in a zip file and specify the zip filename in the archive_filename attrib of the scene node. But some medias can not be loaded from a zip like 3DS models.