Function Syntax
colander
Member Posts: 1,610
Is there a list of functions and their syntax somewhere?
Best Answer
-
The_Gamesalad_Guru Posts: 9,922@BoomshackBarry he has actually defined it properly as syntax when talking about expressions. The expression editor actually uses the same syntax you would use in straight LUA coding. Like doing text mixed with attributes "text".. Or /n. this is LUA syntax. Some LUA syntax works in the expression editor some doesn't. It would be nice to know all the operators and syntax that can be used in the expression editor.
Answers
Although I do agree and I think it would be better if GS introduced built-in albeit simple case examples within Creator beside the descriptions.
You can always search for video tutorials regarding each function you are curious about on YouTube and in most cases you'll find a video that fits. Otherwise, utilise the Search function of the forums.
On a side note I bought the unofficial GS book from @Photics a while back and it does a great job of explaining every action and behaviour in good detail. I know it's not a substitute for free up to date documentation from Gamesalad but it's a good option nonetheless:
http://photics.com/books/gamesalad-textbook
I also missed that point.
OP @colander just Go to this page of the Cookbook and use your browser's search function (command+f on Mac) with the query, "(function)". With every hit just click the title and it'll cascade the entry and you'll get an explanation of the function, a link to a Wikipedia page that explains the concept further, or a working example (or a combination of 2 or 3 of those). It should suffice
BoomshackBarry I just bought a copy of that book. I am using the Windows version so hopefully it won't be too different.
FryingBaconStudios my coding skills are limited but I googled LUA and got a wiki on it which will help me get some understanding of it.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
It is a handy guide book and I still keep it nearby in case I need to quickly remind myself about something I haven't used for a while. I think this is maybe the third time I've recommended it to someone too, perhaps I could start taking a commission!
)
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS