how do you draw images?

This is a discussion on how do you draw images? within the Game Programming forums, part of the General Programming Boards category; i was just wondering how you draw the images that are in games?do you actualy draw it on paper then ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    98

    how do you draw images?

    i was just wondering how you draw the images that are in games?do you actualy draw it on paper then scan it, or use a program to do it? then how do you make it flip and turn?say i want to start programming a checkers game, where do i actualy get the checker from? or what program can i use to make a perfect looking checker? can i use a camcorder to film it, them save to a file and then program into the game, or is it done another way?
    thanks
    scott

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Well in 2D games you typically have sprites. Sprites are nothing more than a simple bitmap image of something. Just use any paint program (one included with windows for example) and draw out whatever you want. Save this as a bmp and there you have a sprite! To flip and turn you can simply draw another frame of the sprite but flipped. Therefore you have to check which one to draw in your program. You can use some video cards' hardware to do flipping and rotating but it is rarely supported, you would have to ask if it is supported first, and if not code it yourself, not terribly difficult. If you want some effects you may want to get an expensive drawing suite. I just use MS Paint cause I do "programmer art"! Any other questions just shoot.

    --MrWizard

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which is the better way to draw?
    By g4j31a5 in forum Game Programming
    Replies: 16
    Last Post: 01-22-2007, 11:56 PM
  2. draw function HELP!!!
    By sunoflight77 in forum C++ Programming
    Replies: 1
    Last Post: 05-11-2005, 12:28 AM
  3. ray casting
    By lambs4 in forum Game Programming
    Replies: 62
    Last Post: 01-09-2003, 06:57 PM
  4. draw to a BITMAP* argument - allegro and objects again
    By MadHatter in forum Game Programming
    Replies: 13
    Last Post: 12-13-2002, 06:51 AM
  5. Draw Shapes.
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 08-19-2002, 10:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21