r/pyglet • • Apr 02 '26

pyglet tutorials

Are there any decent Pyglet tutorials on YouTube? I noticed there were a lot of Pygame tutorials but almost no good Pyglet tutorials, can anyone recommend me a tutorial? I know pygame

4 Upvotes

6 comments sorted by

1

u/chestnutcapybara Apr 03 '26

So what other 2d/3d python drawing libraries are there? except for love2d and pygame

1

u/chestnutcapybara Apr 03 '26

Should i just use pyopengl for 3d games

1

u/pajamajanna Apr 03 '26

Love2D is lua bro not python but the syntax is similar enough. I'm not familiar with python specific libraries beyond pygame and pyglet but Godot is another great option but that's not a library it's an engine and is capable of creating amazing 3d and 2d projects and has an extensive wealth of learning resources, it's difficult to get started with in my experience but well worth the effort. For c++ you have SDL, for java you have libgdx and depending how simple your project is you could always just use html+CSS+JavaScript. All are capable of creating great games!

2

u/pajamajanna Apr 02 '26

There's almost no resources available, you're better off using Love2D or pygame depending on what project you're making. If you're truly set on pyglet and justifiably feel like the documentation is lacking use an ai to break down the concepts and fill in the gaps.

2

u/king_sley Apr 02 '26

First time reading about Love2D - seems cool.

2

u/Antique_Anything6435 Apr 02 '26

I overcome the leak of tutorials using gemini, just pin your pyglet (otherwise gemini will give you outdated code suggestions, that only will misslead you) and ask how resize a window or any other stuff. Also point out the official documentation because pyglet is not so popular so we don't have so much reference for llm to do a good work.

Most of the time i try to inspect the pyglet codebase to understand how to do something.

Lol sometimes i give up too, when i tried to resize the sprites i had so much headache, then I leave it as is for now, later i can try to tackle that, for now i will just focus on the core game loop.