Emmanuel Leblond

Results 177 comments of Emmanuel Leblond

@benjhastings #1690 is the solution, but it requires some change on your code (switching from `ReferenceField` to `LazyReferenceField`)

@benjhastings If you perf trouble comes from a too big document... well there is nothing that can save you right now :-( I guess the DictField could be improved (or...

Hi there, I've been able to reproduce this error when godot is not started from the project directory (building godot from last master): ```sh $ cd ~/projects/godot-python/examples/pong $ ~/projects/godot/bin/godot.x11.tools.64 ```...

@fuderiki this is a change to be done on Godot-Python side, dealing with the import system of python specifically

Hi @m5tuff Numpy array are regular C array under the hood, hence you should be able to use PoolByteArray without any copy (typically using [numpy.frombuffer](https://numpy.org/doc/stable/reference/generated/numpy.frombuffer.html#numpy-frombuffer)). See the en of the...

I was suggesting to create the bytes array through `godot.pool_arrays.PoolByteArray`, then accessing it underlying buffer with `godot.pool_arrays.PoolByteArray.raw_access`. `numpy.frombuffer` can then wrap this underlying buffer without copying it. You then end...

Wow this is really cool ! > This pull request is not to be merged as is, I've converted the PR as draft to reflect this > but because there...

Hi @finepointcgi Thanks you for your work on this article&youtube video tutorial ;-) It seems you made a mistake in your tutorial: 1) you compile godot-python, this generates a `build/dist/`...

Hi @speeder Can you provide the version of Godot used (version number and platform) as well as the console logs of the error (with the command ran) ?

I think `max_classes_per_part` should be provided as parameter to the `generate_bindings.py` script. This way we could easily test multiple values to find the best tradeoff between compile time and size...