I am trying to learn how to modularize lua by making multiple lua files. As a C coder, I loved modularizing.
I looked at this program…
http://code.tutsplus.com/tutorials/create-a-balance-ping-pong-game–mobile-20984
I was able to create a file called move_paddle and move that function to another file.
However, when I tried to do that with show credits I was not able to. I guess I don’t understand the : notation and what that means when modularizing. I want to try this but can someone give me an example or give me some tips.
Thanks!