Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Air Hockey (Pong Advanced)
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Paul




PostPosted: Sat Jan 31, 2004 12:46 pm   Post subject: (No subject)

Wow! great update, Im really enjoying this game now, great work!
Sponsor
Sponsor
Sponsor
sponsor
josh




PostPosted: Fri Feb 06, 2004 7:52 pm   Post subject: (No subject)

Not Bad but when the puck keeps going through my paddle. Other then that not a bad game.
Andy




PostPosted: Fri Feb 06, 2004 8:00 pm   Post subject: (No subject)

ur ai is too simple.. it wins everytime so there is no point... for a game like pong, having a perfect ai is easy... having a good one with error percentages that doesnt just follow the ball up and down is quiet hard
Krabjuice




PostPosted: Fri Feb 06, 2004 8:15 pm   Post subject: (No subject)

Don't get to hasty, i'll implement somthing later; meanwhile I hardly have any free time with all my homework (sci, math, eng)
Cervantes




PostPosted: Sat Feb 07, 2004 10:01 am   Post subject: (No subject)

the ai doesn't win everytime... i beat it 5-1... sometimes, because all it does is follow the balls x coord, if you hit it behind it so that it'll bounce back towards it it will sometimes hit it in its own net Razz

I would suggest fixing the bugs such as jumping over it before you impliment any changes into the AI.
Krabjuice




PostPosted: Sat Feb 07, 2004 6:30 pm   Post subject: (No subject)

Last time I worked on it, I improved the hit locations of the paddle, (which should eliminate the pass-through problems) also i'm going to add a featrue to adjust the difficulty of the AI. Also, if i give the AI a random percenage to hit, it will stutter. In addition, i'll slow down the speed of the AI paddle by using an equasion from Dan_Shadow's key movement tutorial.

Here, let me explain the problems with the puck passing-through. Since the puck can move at up to 20 pixels a frame, it has a tendancy to draw itself behind, or within the paddle. When it lands in the right spot in the rear area of the paddle, it touches the rear hit-location and rockets the puck backwards. I'm going to reduce the max speed and the size of the rear hit pannel, so it doesn't make any odd bounces, and increase the forward hit location. If it draws within the puck, it will get shot forward. or off the sides toward the opposing net.
Cervantes




PostPosted: Sat Feb 07, 2004 6:38 pm   Post subject: (No subject)

well I don't know how you coded it due to the EXEness of the file Eh
however, to reduce the frequency that the puck goes through the paddle you should make shorter delays and smaller xchange and ychange variables. also a max speed would be helpful Smile
I wonder.. I doubt it, but this would solve your problem. Find someway to make it so that the mouse speed of the user's comp is slowed down while the program is running Smile
Krabjuice




PostPosted: Sat Feb 07, 2004 6:41 pm   Post subject: (No subject)

Cervantes wrote:
well I don't know how you coded it due to the EXEness of the file Eh
however, to reduce the frequency that the puck goes through the paddle you should make shorter delays and smaller xchange and ychange variables. also a max speed would be helpful Smile
I wonder.. I doubt it, but this would solve your problem. Find someway to make it so that the mouse speed of the user's comp is slowed down while the program is running Smile


Actually, there is a max speed variable for the puck, one for each player. Its normally 5 pix/frame, but when a powerup is activated, it boosts to 20.
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Sat Feb 07, 2004 7:18 pm   Post subject: (No subject)

hmm thats interesting.. must be a newer version Smile

and actually by speed limit I ment the speed of the puck :/
Maverick




PostPosted: Sun Feb 08, 2004 1:34 pm   Post subject: (No subject)

Pretty good game, its just the puck kinda goes thru ur paddle.
the_short1




PostPosted: Sun Feb 08, 2004 6:18 pm   Post subject: (No subject)

Great job... BETA is pretty good... i working on my 3rd beta of pacman right now..(Implementing Super Eating DOTS)......cant wait for Air Hockey to be final Version.......

PS>>>> a good suggestion.,.. REMOVE ur signature from all your posts except your first one so this doesn;t become a 5 page Topic...
especialy if u have a big pic like me HEHE!!!
the_short1




PostPosted: Sun Feb 08, 2004 7:41 pm   Post subject: (No subject)

Try this out..... it would be cool if your program could customize the color of each Paddle, table Etc.... This program is from Microsofts Best Of Entertainment Pack3, If you want all the games just pm me and i give you the link...(Like Tetris,Chips Challenge,Ski Free,jezz ball)..if you right click on something it will enable you to change the color of that object..... i was thinking you could put a menu item for Color Options...at start

either way your program will rock after your done...


YAY!!!!! i think Hacker Dan fixed my uploading problem...!!!!! GJ DAN
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 27 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: