Thread: graphics in c++?

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    4

    Question graphics in c++?

    I'm new to c++, and i can't find any tutorials on graphics in c++... Anyone know of where i can find some tutorials? Also, can anyone give me an example of good c++ graphics? Peace

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    for good graphics in c++ you will need to use an API like openGL, direct3D, allegro..... i suggest you get to know c++ well before taking on graphics programming.

    there is a (sticky) thread with many good links at the top of the game programming board. look there to find tutorials.

  3. #3
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Example of decent graphics, made with a slow API, and put together to make a dumb game: Check my signature. But, as chance might have it, you probably won't be able to figure the heck out what is graphics and what is other game code... so maybe try doing a bunch of console-based games to start out with; probably be your best bet.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    22

    Lightbulb re:

    I have a friend. His name is ASCII character code number 219. He helps me create blocky, strange looking graphics in console mode =D. An example would be in the thread I posted below--

    http://cboard.cprogramming.com/showt...threadid=33850

    Using those is a good way to get started on graphics and to learn the principals of game design. I am just now starting to learn Allegro, and it would be exponentially more daunting if I didn't already know how timing, physics, high score lists, etc worked. So make some games with #219! He'll never steer you wrong!

    -Joe

  5. #5
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    x_x

    Wow! How in the world did you ever get any graphics done with #219??? It's like, an 80X25 pixel monochrome screen!
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    22
    Well, it takes hard work, but eventually I was able to get at about Quake III quality

  7. #7
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Oops, I was mistaken. It seems that I have underestimated you! Looking at your game, I noticed that there are actually 6 colours instead of just 2
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 09:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 11:14 AM