C++ Making 2D game graphics with GTK+

c++, graphics, gtk, user-interface

Solution

It's certainly possible with GTK, but you have to ask yourself whether you're using the right tool for the job. Use Clutter, which is much more suited to animation and integrates with GTK; or perhaps better yet, use a game programming toolkit.

Here's an example of two non-intensive proof-of-concept games written with Clutter, with links to their source code.

Problem

I am interested in making a GUI-intensive strategy game with C++ and GTK+. What I would like to know is how feasible it would be to add 2D game graphics to a GTK program. Basically I would be wanting something like a game screen, with interactable 2D graphics, flanked by menus and the ability to navigate to other screens that would be GUI only. Note that I have never used GTK before, nor have I before programed a GUI (nor graphics either).

Original source