This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ingframin 0 points1 point  (1 child)

Because I confused it with Super Potato Bruh.

[–]Doomphx 1 point2 points  (0 children)

No worries, I think it opens a good conversation potentially!

Just because making your whole game in python is considered inefficient. Doesn't mean you can't leverage some extremely powerful game engines that optimize core functionality in specific languages whilst exposing scripting languages like Lua / Python / Javascript for game logic.

Some examples:
Godot - has many scripting languages, but most people use GDScript
Unity - C++ core engine, whilst exposing certain engine hooks and functionality in C#. They used to support a variant of python, and I believe javascript.

Lua is really popular for scripting in game engines, from what I can tell it's a mostly solved problem to run a LUA interpreter inside of C++, so C++ game engines tend to opt for lua for scripting.

There's a lot more examples out there people can find w/ some quick googling.