Thread: need some help from the masters!

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    28

    Exclamation need some help from the masters!

    hey i need to make a game for school (c++) im using devc++ im thinking about making a game that will have you shooting at a huge mob this is 2d and no one rotates they only go up down side to side. i would like to know how i could make a pic in paint and have it appear in the window and control it using the arrows and the space bar and the nubers by the num lock key. how do i do this? please help me.?

    just so u know ive been doing c++ since october!

    help is greatly appreciated

  2. #2
    Registered User fry's Avatar
    Join Date
    Mar 2002
    Posts
    128
    You will need some sort of graphics API.

    I would recommend Allegro and SDL as the two easiest to learn. (Allegro is my personal preference).

    Check out allegro.cc and libsdl.org for some more info
    IDE: Dev C++ 5
    Lib: Allegro
    OS: Windows 2000

  3. #3
    based on your post, I don't think you have much or any experience in making a game. Do you understand how a gameloop runs?

  4. #4
    Registered User
    Join Date
    Nov 2002
    Posts
    28
    yea i think so if you mean a loop like do while and otherrrs like that. and i thik i will usse allegro but ive never even heard of it so im gonna need alot of help. i think im gonna make another post for allegro. thaks alot guys!!

  5. #5
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369
    Tip: Before you get into graphics you should master "Hello World" programs
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

  6. #6
    well making hello world programs uses graphics too!

  7. #7
    Registered User fry's Avatar
    Join Date
    Mar 2002
    Posts
    128
    well, just make sure that you know some c++ and are comfortable before you move onto allegro
    IDE: Dev C++ 5
    Lib: Allegro
    OS: Windows 2000

  8. #8
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Hm, if you're game for something more challenging (?), you can try GDI, which is built into Windows, unless you're using unix/linux, which you might very well be using, in which case you can probably forget GDI unless you ever decide to go into Windows programming, in which case it might be a useful API to learn, since lots of things are made with GDI, and even DirectX (which is also for Windows) uses GDI for some simple tasks like loading bitmaps (yes, you've probably all heard that a million times), although GDI isn't the fastest thing in the world, since GDI comes built in with a plethora of useful stuff built in, which means that you don't have to manually do some of the grunt work, which is good if you're lazy.
    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. Masters of Doom
    By medievalelks in forum Game Programming
    Replies: 21
    Last Post: 05-11-2008, 08:21 AM
  2. is a masters degree worth it?
    By Dr Spud in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-25-2007, 03:42 PM
  3. Education question
    By hpy_gilmore8 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-07-2004, 11:21 AM