Well now i got it so it stop on the screen for the second paddle
but for the first paddle when it goes up it stop good but when goes down it wont stop keeeps goin y?
Rem Pong by cameron hudson
Sync on
rem objects
Make object box 1,1,1,3
Make Object box 2,1,1,3
make object sphere 3,1
rem camera stuff
Do
Position Object 1,-5,0, Playerpos#
position Camera 0,-10,10
point Camera 0,0,0
position Object 2,5,0, Player2pos#
position camera 0,10,-10
point camera 0,0,0
Rem Player 1 Movement
if upkey()=1 and playerpos# < 5 then playerpos#=playerpos#+1
if downkey()= 1 and player#pos > -5 then playerpos#=playerpos#-1
Rem Player 2 Movement
if Keystate(17)=1 and Player2pos# < 5 then Player2pos#=Player2pos#+1
if Keystate(31)=1 and Player2pos# > -5 then Player2pos#=Player2pos#-1
Sync
Loop
Copyright (c) 2005 Cameron