Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Dec 2011
Offline Last Active Mar 26 2014 08:36 PM

Topics I've Started

Here Is A Free Dirt Texture + Free Grass Texture

10 August 2013 - 04:29 PM

I made some programmer art. Here are my free textures, use them for whatever you wish. If you don't mind, please give me some criticism on them and what I can do better. I was aiming for a TF2-like cartoony look. They are all seamless.

How To Close GDnet Account?

08 August 2013 - 11:43 AM

How does one permanently close a GDnet account?


Also, if it is closed, when someone is browsing the forums and sees a thread I started or one I responded to, will they see something like:

Account Terminated says: blah blah blah

or will they see something like (if John was my username):

John says: blah blah blah


Which Of These 3 API Combinations Would You Advise (GUI's)?

30 July 2013 - 04:46 PM

I am writing a game editor in C, and these are my 3 choices I see right now, along with my reasoning. Which of these would you advise, and why?


1. OpenGL + X (I'm already using OpenGL for the rendering, I already know a small bit of X programming)

2. OpenGL + SDL (SDL is more abstracted and cross platform than X, but I have never used it)

3. GTK+ (It is written in C like my program, but uses more resources and I have never used it)


I was kind of leaning towards option 1 because my logic is that in the time it takes to learn a whole new API, I could have written a small GUI system in OpenGL and X that fulfills all of my specific needs (correct me if I am wrong) and is lighter weight.


My Questions:

1. Which way would you do it?

2. Why would you do it that way?

3. How long do you think it would take YOU to do it your way?

4. How long do you think it would take YOU to do it the first way?


I very much appreciate your answers, if you have any.

Cross-Distro DirectX Alternative For Linux?

08 July 2013 - 08:13 PM

I have been programming with Xlib for X11 on free UNIX-like systems (Linux and BSD). I know that in all the stuff I have done with win32 that DirectInput is much more efficient than using the input/polling functions in win32 and MFC. Someone on a different forum said that you can just use the kernel headers, but they also said that you can't run those programs unless the user running them is root. This is obviously unacceptable for a game, as not all players can nor want to log in as root to play your game (especially suspicious since the game has a network component). So my question is best expressed as an analogy:

DirectInput:Windows :: x:Linux


Please help me by solving for x.

I'm Making A Lightweight GUI Toolkit. Suggestions And Criticism?

27 June 2013 - 04:28 PM

I had an idea for a lightweight general purpose GUI toolkit the other day. It might be dumb, but it will keep me busy for a while. Here it is, in the steps you would use it:


1. After some work is done on your app, you decide to start on the UI...


2. To make the UI, a description language very similar to HTML5 is used to describe the GUI. It isn't simply just tags and values, there is support for objects and "action entities." All static images used in the app are put in the same directory as the description file(s). Instead of hyperlinks, references are made to "handles," and can come in the form of text links, buttons, etc.


3. You write the UI parts in the app, which is pretty much just assigning handles to functions. You have to use the API, of course.


3. A GUI compiler compiles the "source files" into a single data file or dll. This ships with your program.


4. If all functions correctly, you will have a seperate file for the GUI, similar to libglade, and a program that draws that GUI onto the screen.


So, do you think this is a good idea? I realize there are immense similarities between this and GTK+/Glade, but still, it seems like an interesting/fun project. What are your suggestions and criticisms?