[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] drawing a mouse cursor



Its a bit lagged on my machine

Slackware linux 2.6 kernel 32 meg vid card.

Also add the www in your downloads.. i was getting a connection refused.
I had to grab them adding a www in there

Mike

On Wed, 2004-02-11 at 16:07, Michael wrote:
> Hrm. It works okay for me now but other people have told me it seems 
> really slow for them. Could some of you try and see if it works decently 
> for you?
> 
> http://kavlon.org/index.php/cb should have the source.
> 
> >> pygame does support changing the system cursor. you still are stuck 
> >> with a 'boring' black and white cursor, but it will be controlled by 
> >> the system.
> >>
> >> you can also pretty easily blit your own cursor image when you draw 
> >> the screen. it sounds like this is what you are doing. if the cursor 
> >> motion is jumpy i suspect it is because your framerate is low.
> >>
> >> getting the framerate up could be hard if you've already done your 
> >> optimizing stuff. if your time is spent rendering it will be tough. 
> >> if there are many computations being done you could break them up 
> >> into batches. perhaps checking every number of computations for more 
> >> mouse input. clearing and redrawing just that area should be pretty 
> >> fast and keep the mouse much smoother.
> >
> >
> >
>