Game Development Community

Do Spaces effect Script?

by rennie moffat · in General Discussion · 08/07/2009 (8:46 am) · 2 replies

I know they do,at times. But do they if I am trying to make my code more legible?




About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
08/07/2009 (9:46 am)
It works almost exactly as C++ syntax would. Newlines don't really exist, it's all the brackets and semicolons, you can place as many spaces between objects as needed, but it will not work if you break up a function name, variable names, etc, with spaces.
#2
08/07/2009 (10:31 am)
I see,
thank you.