Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

What graphics library should I use?

A topic by kevidryon2 created May 27, 2022 Views: 151 Replies: 3
Viewing posts 1 to 4
(1 edit)

I chose Ruby, Go, and Rust.

  • Ruby because it has a nice syntax.
  • Go because it is pretty similar to C, a language that I regularly use.
  • Rust because it is very interesting to me, plus the same reason as Go.

All of these 3 games I’ll make (or less if I don’t have enough time) require a graphics library; normally I’d use Raylib, a very nice library that has bindings to all 3 programming languages I selected.

But are there any alternatives that aren’t in the “gray area” between frameworks and libraries? Or should I just make a text-based game?

(1 edit)

Update: I wasn’t able to get Raylib working on Ruby or Rust. I don’t even wanna try with Go because I know that it would be a headache.

I’ll just write these games text-based with ncurses for now.

Also, I replaced Rust with Talonlang because… primarily ownership and borrowing. Plus, I think Talonlang is pretty nice for this.

Host

You can use any graphics library you want, but for rust I would really reccommend wgpu-rs and if the others support it, use SDL. Also it’s nice to see talonlang start to get more users outside its initial community :)

(5 edits)

Thanks a lot for your help! Though I still have 1 problem:

I don’t know if Talonlang supports SDL (it would support it only if the interpreter would), so I think that for Talonlang I’ll have to make a text-based game, maybe with ncurses. I would like to know if I can directly import Python modules from Talonlang (since its interpreter is written in Python).

Update: I can’t.

I don’t think I’ll have enough time to make 3 completed games, so I’ll start with the Talonlang game, then (if I have time) I’ll make the Ruby and Go ones.

Also, the Ruby gems package manager gives me a lot of problems. Still, I just can’t get Raylib to work, and I doubt that SDL will; by the way I have the dev packages of SDL2 and Raylib installed (the latter as a static library), I use Linux (more specifically Mint) and use Windows only for C# stuff, basic C/C++ programming with CYGWIN, or GameMaker Studio stuff (that I can’t get to work, but I think I’m derailing too much).

Lastly, I couldn’t come up with any ideas for the games. I think I’ll just generate some ideas using a generator and select the ones I find interesting.