r/learnprogramming • • 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

12 comments sorted by

•

u/Minaridev 29m ago

Love2D, LibGDX, Monogame? Depends if you want to learn Lua, Java or C#.

•

u/_Andrei-Bruma341_ 28m ago

idk, wichever makes the most sense, what would you suggest

•

u/Minaridev 23m ago

Love2D is probably the easiest, though I haven't personally done much else than dabble with it few times. I use RPG In A Box which is full game engine created in Godot like a game would. However the engine's developer is kinda facing difficulties so it's little hard for me to recommend it right now. Besides you were asking for game libraries, not engines.

Give Love2D a try, it's free

•

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/_Andrei-Bruma341_ 27m ago

i tried python, can do basic stuff in python but hated pygame because it felt too weird with this setup, in scratch im used to no setup, you put a block and it instantly works

•

u/Dazzling_Music_2411 22m ago

it felt too weird with this setup

What setup? What do you mean?

•

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/Dazzling_Music_2411 20m ago

OP finds the "setup" in pygame too challenging, and has only done Scratch otherwise. Are you UE would not be a better choice to start with than Unity?

•

u/Paxtian 18m ago

I'm not sure what that second sentence means, but learn.unity.com makes diving into Unity very simple. I have a degree in computer science and find Unity easier than pygame, personally.

•

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...