godot-python
godot-python copied to clipboard
Python support for Godot 🐍🐍🐍
The method is a classmethod but it is written as if it was an instance method (using self, which does not exist in this context). Also, a variable (z_axis) is...
I'd like to try to manipulate io objects from python but in Godot. Are file like objects passed to godot as Godot File objects? Is there a workaround to do...
I'll draft up a quick example project that shows this when I get a chance.
Steps to reproduce: 1. Open the python pong sample 2. Double click on pong.py in the file inspector Godot crashes. The sample itself works fine. Not sure who is to...
This is needed for #78: once exported all game resources (including python modules/packages) are packed in a single zip archive (e.g. `my_game.pck`), this way python interpreter crash when trying to...
When I do the following in GDScript: ``` extends Spatial func _process(delta): rotate_y(PI*delta) print(transform) ``` then the objects rotates as intended and the output is also as expected: ``` 0.902019,...
I'd want to propose adding __hash__ method for Vector2 and Vector3 to allow using them as dict key. Lack of immutability is concerning me.
Installing the godot-python asset from the asset store results in a working build. However, when trying to run the packaged interpreter, errors are produced. Firstly, the entire bin folder is...
I ve tried create python scriptable objects instead of gd. `ClassStats.gd` ``` extends Resource class_name ClassStats export(String) var type = "Knight" export(int) var health = 100 export(int) var strength =...