Quote:
Originally Posted by theHAWKER
so if gs2 is newer then why is it more complex like instead of "if" u use function?
it seams like a downgrade...
does it have more posiblilitys or something?
|
It's a much more powerful language. It suppors more, everything new that is added to the engine is put into the new language.
Since the language is dynamically typed, you don't have to worry about #v(), #s() and #I(). Just variablename = value;.
Because functions are more powerful in GScript2, with return values, public and "player" functions, it's much easier to organise and reuse code.
Because things are objects, they're much easier manipulated, used and understood (i.e. the player is the 'player' object, the NPC or current object is 'this', etc.), and scoping is much easier defined.
It all just makes more sense.