What language of C family does AGS scripting language resemble?

Started by Indra Anagram, Mon 02/10/2023 16:01:57

« previous - next »

Indra Anagram

Hello, AGS community  :)

1) What of the three programming languages is AGS custom scripting language more similar to - C, C++ or C#?

2) Will learning C, C++ or C# help in adding more stuff to AGS game scripts like other genre mechanics?

Thank you!
Did the old man and woman abuse Gingerbread Man?

Crimson Wizard

C and C# mostly.
The basics of functional programming are from C, and the script commands were done in C-style in the old days.
The managed structs, managed pointers, attributes are resembling C#.

Learning other languages might also help, because many concepts are shared between languages even if their syntaxes differ. Besides learning a language on its own, it's also important to learn writing algorithms and structuring the code.

Indra Anagram

Hello, dear Crimson Wizard.

Quote from: Crimson Wizard on Mon 02/10/2023 21:30:09C and C# mostly.

So, does it mean scripting languages in say AGS and Unity games are not that different from each other?  :-\

Quote from: Crimson Wizard on Mon 02/10/2023 21:30:09Besides learning a language on its own, it's also important to learn writing algorithms and structuring the code.

What's the most right (quickest?) way to learn writing algorithms and structuring the code?

Thanks a lot!

Did the old man and woman abuse Gingerbread Man?

SMF spam blocked by CleanTalk