Several gui scripts to a gui

#1



This is just an idea not really that needed

0 Likes

#2

There’s a danger in trying to divide your logic into many many tiny scripts like that. It becomes very object oriented and it doesn’t really fit with the design of Defold. What you can do is to separate the health, coin and item logic into individual Lua modules that your gui can use depending on the case or state.

7 Likes

#3

Ok then

0 Likes