Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-04-2006, 09:06 PM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Pong game AI

Ok, so I am making a mini pong arcade game. Currently the ball bounces off walls and players and restarts when it goes behind the player- basic pong concept; but the enemy AI is too simple,
if the ball's y is less than its, it moves down and well, you know.

How would I make the enemy predict and possibly be wrong where the ball will be?

by the way, the ball doesnt use a direction to move, I have numbers being added or subtracted from the x and y of the ball.
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.