Use Python to Enhance The Godot Game Engine

preview_player
Показать описание

In this video, we'll explore how you can use Python to enhance the Godot game engine. Godot is a powerful game engine that allows you to create games in 2D and 3D, but sometimes it can be limited in its capabilities. That's where Python comes in! By leveraging Python in Godot, you can extend the functionality of the engine and create more complex games with ease.

We'll start with an overview of how Python works in Godot and how to set up the environment. Then we'll dive into practical examples of how you can use Python to do things that you can't do with Godot alone.
Рекомендации по теме
Комментарии
Автор

Instead of using virtual environment, you can just compile the script using things like pyinstaller right?

_PiCode
Автор

Excellent tutorial, it's helping me navigate this whole process. I'm working through this to implement python to generate PDFs for my application in godot 4.03. A couple things I noticed that have changes since this tutorial was made:

1. OS.execute has moved to OS.create_process for non-main-thread blocking executions
2. moved to
3. You need to add a .gdignore file into the venv folder or godot will crash when trying to import .bmp image from venv's default installation
4. If you are on windows like me, make sure you activate venv according to their docs so that your installed python version is picked up correctly

tampaints
Автор

Your tutorials, both this one and the google OAuth one, really saved my life. Thank you so much!

RevanJi-nipr
Автор

Awesome video.
YOu mentioned Machine Learning at the beginning. I would love a video of you using ML in godot!

thejarmanitor
Автор

I didn't understand any of this, but that's not your fault, that's just because I'm too much of a beginner. It felt like I was listening to a lecture by Nikola Tesla! I'm very impressed, you're an amazing programmer. 👏

mysterious_monolith_
Автор

My only question is how to replicate the "show package contents" @2:30 for windows

starbarzs
Автор

This is exactly what I'm looking for. Thanks.

sythatsokmontrey
Автор

You had me on python and godot, now i am amazed

Ralke
Автор

I doubted you for a few minutes, until I realized that the files I needed to load from my python script were using relative paths too 🙃
make everything global paths people, everything aaaa, thanks for the video, it really helped in spite of my brainletness

PokettoMusic
Автор

Thank you for this helpful starting point! Is there a special reason you preferred the UDP Protocol over TCP?

OxibanCraft
Автор

Awesome video! but I have a problem, I don't seem to find the interpreter in the VENV

Aydiniyom
Автор

How does this not have more views? Great video. Couldn't you just use a web server running from python with flask and have godot communicate with that?

j.spiegel
Автор

Wow! I can't wait to figure out how to actually do this myself :)

childlearningclub
Автор

hey! I wonder what I should type in the argument par when instead of using /bin/python3.10 I use /Scripts/activate.bat?

naraz
Автор

Had some issues with this working in Godot 4.0 and Python 3.9.6. The script didn't all for only 3 args to be passed.

digitaltectonics
Автор

Does this mean I could run tensorflow on the background and send variables from my game to a Neural network and outputs from a neural network back to my gam, all within the game? 🤔

martfp
Автор

please make tutorial about python socket library with godot

ArabGameDev
Автор

in godot 4 blocking does not exists, so how i can run program without block godot app?

ArabGameDev
Автор

Will this work after porting on androis and ios ? (I thinkk i missed that)

a_alex_l
Автор

Hi there! for others who can't find the bin folder
replace it with Scripts.
So, the string will be something like inside quotes.
I am stuck with how to do the youtube live chat example tho...

avikarefin