Problems with pong

This is a discussion on Problems with pong within the C++ Programming forums, part of the General Programming Boards category; I'm having a little problem with my pong game, I've figured out how to move the ball and all that ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    1

    Problems with pong

    I'm having a little problem with my pong game, I've figured out how to move the ball and all that but how can I get an object printed on a specific location?? I'm kind of a newbie so please don't complain to much

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    you can use the gotox(x,y)
    statements, i have uploaded some source code i wrote a while ago that moves sprites with this method.
    Attached Files Attached Files
    Monday - what a way to spend a seventh of your life

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  2. Allegro Pong Collision Problems
    By gillypie in forum Game Programming
    Replies: 4
    Last Post: 12-30-2007, 05:05 AM
  3. first opengl game, problems.
    By n3v in forum Game Programming
    Replies: 1
    Last Post: 07-11-2006, 08:22 PM
  4. The Story Of Pong (my game cookie)
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 05-16-2005, 11:14 PM
  5. God pong -update
    By gamegod3001 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-03-2001, 09:16 PM

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