realbasic-games
[Top] [All Lists]

Re: Beach ball and mouse-cursor

To: "REALbasic Games" <REALbasic-Games at lists dot realsoftware dot com>
Subject: Re: Beach ball and mouse-cursor
From: Seth Willits <seth at freaksw dot com>
Date: Sat, 27 Sep 2003 10:31:27 -0700
On Saturday, September 27, 2003, at 07:43 AM, Nils Raschke wrote:

I think I need a tight loop in my game. Is there a way to prevent the beach
ball? The best thing would be if the cursor would be hidden somehow.

I use

  #pragma disableBackgroundTasks
  #pragma disableAutoWaitCursor

but the beach ball wont go away...

The beach ball is a system thing - it displays because the application isn't displaying one. You can hide the cursor altogether though. I have a module in the Space Spuds source code which handles all of that. It's not just a simple matter of hiding and showing because if you hide it twice, you have to show it twice before it's actually visible, so my module handles that.


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"It's okay. We can't all have three digit IQ levels."
    -- Seth Willits
------------------------------------------------------------------------ ---


---
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

<Prev in Thread] Current Thread [Next in Thread>