funexpected / godot-flash-module

MIT License
39 stars 3 forks source link

Not working with godot 4.1 #11

Open Michaelwhite34 opened 1 year ago

Michaelwhite34 commented 1 year ago

scons platform=windows scons: Reading SConscript files ... Auto-detected 8 CPU cores available for build parallelism. Using 7 cores by default. You can override it with the -j argument. Found MSVC version 14.2, arch x86_64 Building for platform "windows", architecture "x86_64", target "editor". TypeError: can_build() takes 1 positional argument but 2 were given: File "D:\godot_c\godot\SConstruct", line 812: if config.can_build(env, selected_platform):

surendra019 commented 11 months ago

I have a solution of it, change the config.py file content

jkb0o commented 11 months ago

I'm sorry, I will not support Godot4 most probably.

Michaelwhite34 commented 7 months ago

I have a solution of it, change the config.py file content

Did it work tho ?

Yunxi-awa commented 2 months ago

I have a solution of it, change the config.py file content我有一个解决方案,更改config.py文件内容

Did it work tho ?它有效吗?

If you want to upgrade a godot module from version 3 to version 4, you need to not only modify config.py, but also upgrade the api. I tried to modify it, but it was too hard for me because there is no official article about it.( if you know please tell me that.