C2kg Construct 2 -
Even though Construct 2 uses visual events, advanced C2KG kits embed short JavaScript snippets using the "Browser" object. These snippets handle:
| Error | Cause | Solution | |-------|-------|----------| | Uncaught ReferenceError: cr is not defined | Corrupted export | Re-export with "Minify script" unchecked | | AJAX fails to load levels | Path includes spaces | Rename folders to levelData.json (no spaces) | | Touch controls missing | C2KG kit designed for mouse | Add Touch object; map to existing mouse events | c2kg construct 2