Thread: My first game....Pong!

  1. #1
    Join Date
    Aug 2003

    My first game....Pong!

    I am wanting to make pong. I have been dabbling in c++ for a few years and know how most functions work but I am not too advanced with programming. My next question should sum up my C++ knowledge.....WHere do I start?

    Are their any links that will help me out? Where do I start? What do I need to know to make Pong? I would really like to know and understand what I am doing rather than copy/paste things and figure it out. I have read all over the net that I will need to get to know API, GUI and other things. Im stuck....where do I go? Any information will greatly help. Thnx.
    Knowledge is power and I want it all


  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    >> Are their any links that will help me out?

    There is a sticky at the top of this board with many usefull links.

  3. #3

  4. #4
    Join Date
    Aug 2002
    Tucson, Arizona
    pong in a nutshell.
    make ability to move padle(the computer padle is probably going to be the hardest part to program)
    detect hit from either of the padles
    if a hit, bounce ball back other way
    detect if ball's x is <=,>= the size you set for the score zone :)
    if true than score a point for whichever side scored;
    check if total points is == to a game win
    gameover play agian?
    All you need is a graphics lib to load your images and set a timer routine for you. I would check out allegro. I will be nice and give you a link.

    Here's a pretty good beginners tutorial on allegro Tutorial Link

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New Project, text game, design stage.
    By Shamino in forum Game Programming
    Replies: 9
    Last Post: 05-23-2007, 06:39 AM
  2. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  3. My pong game stops painting
    By SniperSAS in forum Game Programming
    Replies: 15
    Last Post: 11-25-2005, 03:42 PM
  4. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM