Hi
I am wondering if its possible to test individual lua files. Reason is one of my lua files has like 5 buttons and I need to align them visually.
Currently I have to play the game to end to see the out put and that slows me down
Hi
I am wondering if its possible to test individual lua files. Reason is one of my lua files has like 5 buttons and I need to align them visually.
Currently I have to play the game to end to see the out put and that slows me down
Yes but could cause problems, so have to think about whats in your lua files.
If i understand correctly. assuming composer (scene)
in your main.lua just comment your normal composer goto <off> and create a new composer goto - your scene to test.
When you relaunch should go straight to the scene to test, and bypass your normal game flow.
Now you may have to create some dummy fields/values in order for the scene to work - depends on how your done your code.
I’m sorry if i’m stating the obvious here but based on your problem posted - this simple fix would solve it!
T.
Thanks so much, that should solve it
Yes but could cause problems, so have to think about whats in your lua files.
If i understand correctly. assuming composer (scene)
in your main.lua just comment your normal composer goto <off> and create a new composer goto - your scene to test.
When you relaunch should go straight to the scene to test, and bypass your normal game flow.
Now you may have to create some dummy fields/values in order for the scene to work - depends on how your done your code.
I’m sorry if i’m stating the obvious here but based on your problem posted - this simple fix would solve it!
T.
Thanks so much, that should solve it