Getting started with 2d graphics.

This is a discussion on Getting started with 2d graphics. within the Windows Programming forums, part of the Platform Specific Boards category; Hi all. I have written a program to play checkers but have no experience with graphics programming (for now it ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    1

    Question Getting started with 2d graphics.

    Hi all.

    I have written a program to play checkers but have no experience with graphics programming (for now it is a Windows console application that uses printfs and ascii characters for its display).

    I would like to add 2d graphics with mouse control for the display of the board and playing against the computer.

    This must have been done many times already, can anyone recommend graphics libraries to get me started?

    Thanks
    Nick B

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    It would be simple enough that the windows GDI could get the job done but if you plan to do more in the future you might as well learn directx or opengl.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3
    Registered User headexplodes's Avatar
    Join Date
    Aug 2001
    Posts
    26
    If your upgrading from text graphics i think you'll find the windows GUI's graphics capabilites quite enough. If your programming in windows, create a window and then use a Device Context (DC) to paint graphics to that window. Its very easy to use - especially with MFC.
    /* MSN and E-Mail - head_explodeshotmail.com */
    If Bill Gates got a dollar for every time windows crahsed... oh... he does.
    I always use MSVC++6.0

  4. #4
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Thumbs up Fact of life in a microsoft world...

    Microsoft Windows GDI is great for board games... LEARN IT BEFORE YOU TRY OPENGL, I DIDNT ARG THAT WAS HARDDD. But after you get it start using OpenGL for graphics ad DX for sound. Thats the best combo in my opinion .

    SPH

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphics Library
    By Emotions in forum Game Programming
    Replies: 4
    Last Post: 12-23-2004, 05:08 AM
  2. 2D Graphics In Game
    By drdroid33 in forum Game Programming
    Replies: 16
    Last Post: 02-23-2002, 09:01 PM
  3. 2D Graphics In C++
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 02-02-2002, 08:29 PM
  4. graphics programming idea
    By iain in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 01-18-2002, 07:41 AM
  5. Graphics
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 09-20-2001, 01:46 AM

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