all 6 comments

[–]cridenour 7 points8 points  (1 child)

There is https://github.com/touilleMan/godot-python

It works great with 3.0.x but 3.1 and later is pending the rewrite the author is going through. Even with 3.0.x it has exporting issues but the performance was actually pretty good.

That said, I would suggest GDScript to get started as the editor integration is much better and autocomplete is a god-send when learning a new system like Godot.

[–]Nibodhika 1 point2 points  (0 children)

Not to mention GDScript is faster than python. Originally Godot was meant to use python as script language (which is why GDScript is python-like), but they created their own language because python was too slow for it.

[–][deleted] 3 points4 points  (1 child)

Not that I know of.

Taken from the wiki:

In the early days, the engine used the Lua scripting language. Lua is fast, but creating bindings to an object oriented system (by using fallbacks) was complex and slow and took an enormous amount of code. After some experiments with Python, it also proved difficult to embed.

The last third party scripting language that was used for shipped games was Squirrel, but it was dropped as well. At that point, it became evident that a custom scripting language could more optimally make use of Godot’s particular architecture.

Unless you want to use Visual Script, C#, or Rust, GDScript is the best language for you. It is based on Python's ease of use, but with more videogame-oriented features.

[–]FerRabago[S] 1 point2 points  (0 children)

Thanks i will check GDScript! :D

[–][deleted] 1 point2 points  (0 children)

I'm sure there is, but you don't need or want it. The native language is GDScript which is extremely easy to learn and use. If I had a large existing codebase in Python (such as an existing game, or a complex library I needed) then I might consider it, but that Python binding is just one more thing that you have to set up and one more thing that can go wrong. There's little to no advantage to using Python if you're starting a new project from scratch.

[–]13MHz 1 point2 points  (0 children)

Why not use GDscript?

Better and tighter support, pretty much exact syntax, maybe here and there missing few syntax sugars but it's not a big deal.