Hi Mo,
It sounds like you are having some trouble but setting up your first project can be tricky.
You’re correct, you do need to create a main.lua file but I’ve just added to my todo list to detect if one exists and create one for you.
I think you have copied a main.lua file from an example that uses the asset management feature hence why you get the error i.e. your export does not contain this function as this needs to be turned on in the export settings under tools->options.
The best place to start is to copy the example1 project folder and rename it to whatever you want.
Comment out the code after the CreateLevel call.
Export your level to this folder and call it ‘level’ and try running the project (if you use a different name then change it in the main.lua file in the require line).
In the images folder remove the current images from the example and replace with your own.
The image sub folder is optional (see export settings) and just allows you to set this in the config.lua file. If you do not set this it will look for your images in the project root folder.
Give this a try and let me know how you get on.
In a future release I will try and make this a simple process when starting a new project.
Thanks.
[import]uid: 175213 topic_id: 30669 reply_id: 136571[/import]