Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These retro game engines are so much fun. Takes me back to the days of mode 13h.

Pyxel is (I think) unique among Python game engines in that it can run on the web.

Some others I’ve played with are PyGame and Arcade, mostly geared toward 2D, but you can see some impressive 3D examples on the youtube channel DaFluffyPotato.

Ursina is another that’s more 3D, fairly expressive, and runs fairly well for being Python.

I do feel like I’m going to be forced to cross over into something more powerful to build a real game though. Either Godot or Unity.



Panda3D [0] (which is what Ursina uses under the hood) and Pygame can both run on the web due to PygBag [1].

Truth be told you can build a game on any tool, obviously the tool you choose will help shape the game you make - but it's more about keeping at it then the underlying technology.

Personally I really like Panda3D and feel like it doesn't get enough attention. It's scene graph [3] is interesting because it splits it into nodes and nodepaths. A node is what gets stored in the graph but you manipulate them using the nodepaths which simplifies programming.

It also has a really amazing aync task manager [2] which makes game programming no problem. You can just pause in a task (or even a event) which sounds simple but you'd be suprised by who many engines won't let you do that.

It also has a multiplayer solution [6] that was battle tested for 2 mmos.

Finally I really like it's interval [4] system which is like Unreal or Unity's timeline but code based.

It's also on pypi [5] so super easy to install.

[0] http://panda3d.org/

[1] https://pypi.org/project/pygbag/

[2] https://docs.panda3d.org/1.10/python/programming/tasks-and-e...

[3] https://docs.panda3d.org/1.10/python/more-resources/cheat-sh...

[4] https://docs.panda3d.org/1.10/python/programming/intervals/i...

[5] https://pypi.org/project/Panda3D/

[6] https://docs.panda3d.org/1.10/python/programming/networking/...


harfang-wasm is a fork of pygbag.

harfang-wasm: https://github.com/harfang3d/harfang-wasm

pygbag: https://github.com/pygame-web/pygbag

https://news.ycombinator.com/item?id=38772400 :

> FWIU e.g. panda3d does not have a react or rxpy-like API, but probably does have a component tree model?

Is there a react-like api over panda3d, or are there only traditional events?

The redux DevTools extension also works with various non-react+redux JS frameworks.

Manim has a useful API for teaching. Is there a good way to do panda3d with a manim-like interface, for scripting instructional design? https://github.com/ManimCommunity/manim/issues/3362#issuecom...


I haven't used React so I'm not sure but you could check their discourse. Someone may have created one.

I believe using intervals and async tasks/events you could do something similar to Manim.


Stride game engine also exists and seems pretty ok. I've been trying to switch to it from Unity. Its C# based.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: