Page 1 of 1

Godot Runtimes

Posted: Wed Jul 04, 2018 7:38 pm
by bhindi1224
I can't seem to get the runtimes module to compile with godot, "Warning: module 'creaturegodot' uses a deprecated can_build signature in its config.py file, it should be can_build(env, platform)." Does someone have a pre-compiled version? I can compile godot fine by itself, I only get the error message when dropping in the creature folder into the modules.

Re: Godot Runtimes

Posted: Wed Jul 04, 2018 10:08 pm
by chong
Hello,

Just change the config.py to the new signature:

Code: Select all

def can_build(env, platform):
    return True
I just checked in the change, you can sync and try again:
https://github.com/kestrelm/Creature_Go ... f58a8f683b

Re: Godot Runtimes

Posted: Wed Jul 04, 2018 10:42 pm
by chong
Hello,

I did another code update, it compiles with the latest master branch on the godot engine GitHub now.

Thanks

Re: Godot Runtimes

Posted: Wed Jul 04, 2018 11:30 pm
by bhindi1224
Works like a charm, thx.