Open CryptoKR opened 4 years ago
Hi @CryptoKR !
Thanks for you interest in the project ;-) As you have seen, Godot-Python is not really user-friendly so your initiative is definitely welcome.
Regarding the steps to run a godot-python project:
Step 1: Download godot-python from the asset store
Step 2: Start the install, the addons/pythonscript
folder and addons/pythonsrcript.gdnlib
file must be kept when choosing which file to install. Godot installer is not design for such a large module (~450mo once unpacked), so it may become unresponsive but after enough wait the install should be complete nonetheless ;-)
Step 2 bis: To reduce the size of the install (to ~120mo) you can choose to only install the addons/pythonscript/<platform>
instead of the entire addons/pythonscript/
folder. Of course you should choose the right platform (especially important on windows when there is 32 and 64 bits versions)
Step 3: Restart Godot to have the godot-python module loaded (it's enough to select "Quit to project list" and re-select your project from there)
From there your ready to use python on the project \o/ You can create new Python script and attach them the same way you would for GDScript or Visualscript (the list of language in the script creation dialogue has been updated to include python)
You can also go to project settings to configure the python stuff (the "io streams capture" option is not working on version 0.30.0, this will be fixed on next release)
Finally there is still one big missing point: the export system is not currently working. The workaround is to copy the Godot binary (you can rename it whatever you want) in your project folder and consider this your export.
The next release of the project should contain a new REPL directly integrated into Godot (thanks to @matheus2740 ^^) and I'm working on providing a real export system ;-)
PS: If you'd like some more help, you can contact me on discord (touilleMan#9116) 😃
Hi,
I noticed that there aren't any youtube tutorials on how to use godot-python. I want to make one, and I need to know the exact instructions to get a project started from downloading godot-python from the asset store, so that beginners can learn.
Step 1: Download and install godot-python from asset store Step 2...
Could an expert help me list the proper method. I think learners will benefit greatly from a proper method. Thanks.
My youtube channel is: https://www.youtube.com/channel/UCtThQ25y7JjzImARGTdi6Cg Will post full tutorial once complete. Thanks.