Godot Runtimes

Discuss issues pertaining to the various game/web runtimes of Creature here.
Post Reply
bhindi1224
Posts: 2
Joined: Wed Jul 04, 2018 7:33 pm

Godot Runtimes

Post by bhindi1224 » Wed Jul 04, 2018 7:38 pm

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.

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Godot Runtimes

Post by chong » Wed Jul 04, 2018 10:08 pm

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

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Godot Runtimes

Post by chong » Wed Jul 04, 2018 10:42 pm

Hello,

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

Thanks

bhindi1224
Posts: 2
Joined: Wed Jul 04, 2018 7:33 pm

Re: Godot Runtimes

Post by bhindi1224 » Wed Jul 04, 2018 11:30 pm

Works like a charm, thx.

Post Reply