Hello all,
Some newbie questions for you!..
-
Does the use of whitespace and comments in lua files matter, or make much difference, in terms of file size? Does Corona, for example, compress the code in each lua file and strip anyway whitespace? Or is this generally so insignificant and low that there is no need to optimise this?
-
For a lua file, is there a limit in terms of how long (or how much code) you can use? For example, I have a lua file that is close to 2000 lines of code, including whitespace and comments…
-
Also, I was wondering, if i am building an app that does not use images at all, can i get rid of:
imageSuffix = {["@2x"] = 2,["@4x"] = 4},
…in my config.lua file or do/should i need to still leave this in? For example, does the Apple Default and Icon images need to use this setting or is this purely for my own files?
Thanks for any feedback!
