PONG OpenGL so far...

This is a discussion on PONG OpenGL so far... within the Game Programming forums, part of the General Programming Boards category; So far, I have some of this OpenGL Win32 Pong 3D(3D version of my first!) done! I will post the ...

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Talking PONG OpenGL so far...

    So far, I have some of this OpenGL Win32 Pong 3D(3D version of my first!) done! I will post the .zip here and I will come back when it's done!
    Attached Files Attached Files
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Wink Please!...

    Please post a reply about it if you try it out!
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  3. #3
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    Thats an impovement on the first one, the balls movement is more realistic and faster.
    Keep up the good work.
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  4. #4
    Unregistered
    Guest
    Hey man..i dont wanna be a rip-off or stealer or anything...but could you post the source code? im a beginner and wanna see what it looks like, plz?

    thnx

  5. #5
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Talking I might...

    I will have to think about that. It's really simple. I just used basic math to bounce the ball, and used the base code from Nehe's Website! He has a nice site to learn OpenGL from. Anyhow, I think I could let you see it. What is your e-mail address?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  6. #6
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    You made a typo! You should be shot!
    SWEET game!

  7. #7
    Unregistered
    Guest
    If you get 1 paddle in the top left corner, and 1 in the bottom right you can keep the ball bouncing forever....

  8. #8
    Registered User Invincible's Avatar
    Join Date
    Feb 2002
    Posts
    210
    Nice, but is it supposed to be fullscreen? If so, it's not on my 19 inch monitor.
    "The mind, like a parachute, only functions when open."

  9. #9
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    yeah better than the 1st one. good work keep it up.


    //wish i could do that

  10. #10
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    check my openGL game out. Nothing Compared to yours, though.
    http://www.angelfire.com/linux/xterria/doom2d.html
    Last edited by Xterria; 03-20-2002 at 05:29 PM.

  11. #11
    Registered User
    Join Date
    Nov 2001
    Posts
    162
    Very nice! If you do what unregisted said: get the paddles in each corner, the ball reflects back the same way it came, but overall good!
    Last edited by Crossbow; 03-20-2002 at 08:45 PM.

  12. #12
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    dude the paddles are there just to confuse the eye--the ball would bounce anyway.
    anyway, is anyone even able to run my game on their computer, because my friends cant.

  13. #13
    Registered User
    Join Date
    Mar 2002
    Posts
    31

    Angry Endless whats the point

    The game seems endless whats the point in that game....when the ball hits the wall it keeps on bouncing its not like you lose or anything, the second player doesnt have a AI which means i guess it doesnt even moves.....good game but no objective.
    - Read to Learn, and Learn to Read -

  14. #14
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    that is called

    * Drumroll *

    DEVELOPMENT!

  15. #15
    Unregistered
    Guest
    Hey SyntaxBubble, I have been trying to do a breakout type game with very little success. Any chance I can see some of your pong code to see how you have timed everything (having MAJOR problems with this!)?

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. first opengl game, problems.
    By n3v in forum Game Programming
    Replies: 1
    Last Post: 07-11-2006, 09:22 PM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. OpenGL Pong Help
    By Shamino in forum Game Programming
    Replies: 2
    Last Post: 05-10-2005, 09:49 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

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