My first game....Pong!

This is a discussion on My first game....Pong! within the Game Programming forums, part of the General Programming Boards category; I am wanting to make pong. I have been dabbling in c++ for a few years and know how most ...

  1. #1
    1479
    Join Date
    Aug 2003
    Posts
    253

    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

    -0RealityFusion0-

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    >> 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
    ---
    Join Date
    May 2004
    Posts
    1,379

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    pong in a nutshell.
    Code:
    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
    Woop?

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, 02:42 PM
  4. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 11:12 AM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM

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