We don’t suggest using a timer for this.
The timer was just to highlight the issue and the solution.
You need to structure your code so that your functions are called in the way you want.
We don’t suggest using a timer for this.
The timer was just to highlight the issue and the solution.
You need to structure your code so that your functions are called in the way you want.
Yes, I agree. Looking at the project I’m not entirely sure what the intended outcome is. I suspect it will need to be organised differently later on when you are more comfortable with Defold. I actually suspect this could all be done in GUI.
However, I think we have more or less come to the bottom of the problem in the original post.
I already decided to use this defold engine. I know my lack of experience and knowledge. I don’t want to stop using this engine. Can you give me some advice or tutorial in internet for basic coding and structural build in defold? I want to learn it
Personally I would do what you are already doing. I learn best by trying to make a project I actually want to make, and solving problems that come up as I develop.
I don’t like tutorials, but if you do you should check out the tutorials page.
When you ask for help, share as much information as possible. Code, error messages, project structure. Explain what you want to happen, and what actually happened instead.
many thanks for your advice. You are right this table top game actually just using gui. I am very confused with game object and factory. Now just i am using only gui and node and gui.clonetree to spawn my card. also your advice to debugging make my progress faster. Thank you very much