Computer Science Canada pong power-up problem |
Author: | remember_987 [ Wed Jan 21, 2009 9:23 am ] | ||
Post subject: | pong power-up problem | ||
My pong game is supposed to feature power-ups which at the moment only increase your paddle size. Unfortunately when the ball approaches often nothing happens and when the power-up does "activate" it's often when the ball is nowhere near the power-up. I'm sure I have just made a simple mistake in the collision detection but I can't seem to find the problem. As well on the menu screen I have an option to quit the game, right now I am using the quit command as it was reccomended to me by a friend and I am wondering if there is a better command to terminate your program. Thanks in advance
if anybody needs the whole code I can PM it to you, half of my class goes on this site |
Author: | Zren [ Wed Jan 21, 2009 10:22 am ] |
Post subject: | Re: pong power-up problem |
Is your pong with the paddles on the top and bottom, thus making the powerups shrinks and extend it left/right? Pop me the source and ill take a look, im kinda better at it when i see the problem firsthand. Best way to open close turing windows is probably using the Windows Module. That way they completely close after the app finishes. |
Author: | andrew. [ Wed Jan 21, 2009 1:49 pm ] |
Post subject: | RE:pong power-up problem |
If your game is in a big loop, just exit the loop to finish the program by using "exit". |