3 ms·
That’s interesting, the features page claims it is similar to Python: https://godotengine.org/features https://godotengine.org/features
by applecrazy 9y ago
That’s interesting, the features page claims it is similar to Python: https://godotengine.org/features https://godotengine.org/features
- Mikeb85 9y agoSyntax is somewhere between Python and JS, but simpler than both. Almost looks like pseudo-code. I think the Python comparison is made because of significant whitespace, easy to understand syntax (control structures similar to Python from what I remember), and that was their inspiration. It's easier and simpler than Python though.
- rplnt 9y agoDocumentation[1] is more specific. > It uses a syntax similar to Python (blocks are indent-based and many keywords are similar). The following example shows that many keywords are different and the syntax is different as well. Not to mention the rest of the language (standard library which is given when talking about python and things like iterators/iterables/decoratos/comprehension/... If indent-based blocks are all it takes for you to call two languages similar, then I guess they are. 1. https://godot.readthedocs.io/en/3.0/getting_started/scripting/gdscript/gdscript_basics.html https://godot.readthedocs.io/en/3.0/getting_started/scriptin...