Grahp App

Grahp App

Postby jdc » 27 Dec 2019, 17:52

SDL is a bit to nested to use in a project and evolve, so i found this most more simplified library, but also working and capable of doing a lot of things, like interfaces, menus, 3D, etc...

A project like "the box" , (https://forum.freegamedev.net/viewtopic.php?f=22&t=7722 ) need something to work and something to refactor code in long therm. Tutorials in C does not cover most of the topics in this code's, so in order to learn is also good to study, not just use.

If people do not know about this project, it may be of some useful the info, it will be in "the BOX", in next updated (lets see this code is a bit large, lol), ideal is a refactor version, but i will added to the tools collection, and see if i can put it to work while i don't know enough to refactor code.

It is well documented, and simple code, it seems easy to add you stuff. And also the above objectives mention in case you have a similar project like my own.

it works in Codeblocks.

https://sites.google.com/a/liesenberg.biz/cjogos/home/software/interfaces-graficas-em-c

http://www.enchantia.com/software/graphapp/

Hope it helps some body and good coding.
jdc
 
Posts: 116
Joined: 29 Jun 2017, 16:48

Re: Grahp App

Postby Lyberta » 28 Dec 2019, 09:11

If you're fine with C++ and want something like a desktop app (based on the first link to that library), you'd want Qt. Qt is the most powerful framework for desktop/mobile apps in C++. Alternatives are wxWidgets and GTK, but in my experience they are much weaker. GTK has C API though.

For realtime games situation is a bit different. SDL is fine for low level stuff but for drawing 2D shapes you'd want something like Cairo, not sure about alternatives. Text rendering is even harder but I've heard that Pango+Cairo combo can do that. For 3D your fair bet is OpenGL or Vulkan or anything that wraps those. Don't have experience with such libs yet.
User avatar
Lyberta
 
Posts: 814
Joined: 19 Jun 2013, 10:45

Re: Grahp App

Postby jdc » 29 Dec 2019, 09:21

Thanks for the info, but it's to learn. Attempt to refactor code from projects like "lips of luna" or Quake 3 engine and is to nested or a big, mess in here it's code close to objects and commented, very nice.
jdc
 
Posts: 116
Joined: 29 Jun 2017, 16:48

Who is online

Users browsing this forum: No registered users and 1 guest