On Mar 05, 2007, at 21:55 UTC, VÃctor_Fernández_Fernández wrote: > the problem is that when i push the button, the sprite surface going > slooooowwwwwwwwww, and sometimes hang the system. The mouse pointer > changes to wait mode.
The mouse pointer changing to wait mode is normal if you use SpriteSurface.Run. It shouldn't actually hang the system, though (i.e., once your sprite surface is done running, everything should be back to normal). Note that I don't suggest actually using .Run for anything but quick tests, though. Instead, drive the animation yourself by calling SpriteSurface.Update from a Timer, or a loop in a thread. Then you're not typing up the main thread, and you won't get the spinning wait-cursor. As for the speed, consider moving your sprite more than one pixel at a time. > is my code the guilty or my rb version (5.5.2) is older for ? my > system: iMac G5 2.1 1GB RAM, Mac OS X 10.4.8 Well, that is a really old version of RB. But check some of the examples that came on the CD. There should be a "Blasteroids" one, for example, which should run quite zippily. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
