r/learnprogramming • u/_Andrei-Bruma341_ • 36m ago
Best game library for beginner
I wouldn't call myself a programmer because im making games in scratch, recently i was working on a platformer and im pretty ok with scratch but what i hate is its performance, its so fucking annoying and laggy, because of this reason i wanted to try a game framework. I already tried pygame and hated it. What would you reccomend?
5
Upvotes
•
u/Minaridev 29m ago
Love2D, LibGDX, Monogame? Depends if you want to learn Lua, Java or C#.
•
u/Dazzling_Music_2411 28m ago
Why did you hate pygame? Can you actually program in Python?
Are you familiar with any other languages besides Scratch? How do you even think that people can help you without providing this information? We are not mind-readers, well most of us aren't, maybe some are, who knows...?
•
u/Paxtian 24m ago
I'd recommend using Unity to get started learning how to work with a game engine generally, using learn.unity.com. Once you work through that series of lessons, you can either stick with Unity or move on to Godot, or even Unreal. But that series of courses is incredibly useful for learning how a game engine works generally.
•
u/podule-games 23m ago
I've actually been really happy with C and SDL3. You're not going get much in the way of performance problems there, and if you do, they'll be of your own making, like mine.
•
u/LowExperience149 13m ago
Raylib for a library, pick your language for it. It has a literal cheatsheet with all calls. And website also has examples you can look amd see the source.
If you want an game engine then you double the learning. You still have to know how to code. And also how that exact engine wants you to work with it.
Good luck.
•
u/zeroxff 10m ago
I would recommend to learn some real programming language before choosing a game library or a game framework.
Every game library can be challenging to learn and Pygame is not worse than many others (Bevy for Rust is definitely quirkier and less mature as an example).
Focus on learning a language, learn it then learn a framework or a library.
C# can be useful to learn Unity or Unreal, Python can help in learning GDScript used by Godot Engine, learning Lua will enable you to learn Love2d, Rust language has Bevy...