On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote:
> I am in the process of making a pong game in python using the pygame library. 
>  My current problem is that when I move the mouse, it turns off as soon as 
> the mouse stops moving.  The way I am doing this is by making the default 
> cursor invisible and using .png files as replacements for the cursor.  
> Perhaps my code would best explain my problem.  I will take help in any way 
> that I can.  Here are the links that contain my code:
> 
> 
> 
> Main class:  http://pastebin.com/HSQzX6h2
> 
> Main file (where the problem lies):  http://pastebin.com/67p97RsJ
> 
> 
> 
> If the links yield nothing, please let me know (agardner...@gmail.com)

It's all working now with one exception.  I just want to arrange the paddle to 
the right side.  I managed to do just that, but it won't move freely 
vertically.  I am not fully aware of the arguments of pygame.Rect().  Here is 
what I am using:


bounds_rect = pygame.Rect(880,200,0,500)


Again, it all works minus the vertcal movement.  The full code (keep in mind it 
works fine now) is http://pastebin.com/xAAda30e

I thank you all (esp. Ian) for this help.  I broke down and remade the code and 
behold it works (with this exception).  Oh, Ian, this isn't a class assignment; 
it's a personal project to help me in the process of learning python.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to