realbasic-games
[Top] [All Lists]

Re: fast, smooth updates

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: fast, smooth updates
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 23 Jul 2003 12:04:52 -0700
At 1:52 PM -0400 7/23/03, Frank C wrote:

Well, no, we've discussed how you can choose when to yield to background tasks. You're just not satisfied with the result, because when you do yield, it (not surprisingly) causes a glitch in the framerate.

That's my point! You're yielding on RB's terms.

I'm not sure what that means. You're choosing when to yield. What more do you want?

 I can write a loop in C that yields just fine, without that hiccup.

That'd be because your C program isn't doing all the stuff that RB is doing (checking to see if timers need firing, servicing other threads, checking whether command-period has been pressed, etc.).

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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