Building 2D games on python usually means building games with Pygame. However, I decided I wanted to take a look at Pyglet and see what the experience was like there. In this video, I go over the necessary functionality needed for creating games using Pyglet, and give my opinions on what I like about the interface provided by the game engine.
Source code is available here: github.com/project-code-io/pyglet-game-engine-over…
00:00 Intro
00:34 Getting Started
00:46 Drawing Shapes
01:11 Drawing Sprites
01:47 Animations
02:39 Update Loop
03:20 Handling Input
03:47 Drawing Text
04:06 Playing Audio
04:42 Conclusion
My socials:
Twitter: twitter.com/dreamsofcode_io
Discord Server: discord.gg/eMjRTvscyt
Please consider supporting me as well!
Patreon: www.patreon.com/DreamsofCode
コメント