Hello linux programmers,
Before anyone asks, I have read the FAQ for this forum, and have already done extensive searching to see if anyone has solved this problem before, and I haven't found a solution. I've come close, but I need some help.
I'm developing a 2D, tile-based, level editor in C/GTK+ for a game I've already written. I was planning on just editing my XML level files by hand, but that turned out to be an exercise in tedium.
So here's my problem. I've gotten the GUI up and running, and my level loading/saving code is working great, but I haven't found a good widget to use to draw the actual map. I initially tried to use a gtk table that contained gtk images to draw all the tiles. This worked great until I realized that I wouldn't be able to display multi-layered 2D maps. You see, my 2D maps have multiple layers for parallax scrolling. Its tricky to edit the other layers, not knowing where the layer above or below it is.
So this led me on a search for a nice drawing widget that would let me do what I wanted without too much fuss. I've looked at Clutter(the GTK Clutter widget at least) as well as GtkGLExt. They're both overkill for what I need to do.
I also found a few posts floating around the internet about a GTK SDL widget, but that turned out to not be a working solution either.
So does anyone have any suggestions for a widget that I might use to draw a 2D scene with some transparency?
Please let me know...and thankyou in advance.
-Flecko
Bookmarks