Jump to content

  • Log In with Google      Sign In   
  • Create Account


lmsmi1

Member Since 11 Jan 2013
Offline Last Active Jun 30 2013 07:57 AM

Posts I've Made

In Topic: Simulating a console program?

17 June 2013 - 10:57 AM

@zacaj

 

The problem is getting individual characters from the TTF and assigning them each to a keystroke.


In Topic: Simulating a console program?

17 June 2013 - 09:03 AM

 

 

SDL should be enough.  Just get a BMP of all the characters you can print and make an array you can "print" into.

How am I supposed to get a BMP of every character? And by array you mean a BITMAP array?

 

 

Oh look what I found on Google:

 

http://www.dafont.com/perfect-dos-vga-437.font

 

 

How am I supposed to use a TTF in SDL? (I know about SDL_ttf() and such.) I'm assuming I make a black BG that takes up the whole screen, then assign a letter in the TTF to each keystroke? That should work, correct?


In Topic: Simulating a console program?

16 June 2013 - 08:31 PM

SDL should be enough.  Just get a BMP of all the characters you can print and make an array you can "print" into.

How am I supposed to get a BMP of every character? And by array you mean a BITMAP array?


In Topic: First-Person Shooter [Code::Blocks with MinGW]

22 January 2013 - 03:03 PM

Ah gfxgangsta! That's why! Okay, my weapons definition file has an XML structure. Is that the best for importing strings & values into the game, or should I use JSON or something else?


In Topic: First-Person Shooter [Code::Blocks with MinGW]

14 January 2013 - 07:37 PM

Uhm, I've come upon a little problem. I've switched to a main weapon XML data file, and am trying to define reload, firing, and switch animations. I don't know how to organize this in an XML file for the FPS game. Can anyone help me with this problem?


PARTNERS