Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

SpriteSurface VS RB3D in oS X.3 (Real Studio games Mailinglist archive)

Back to the thread list
Previous thread: extra pixels around edges of objects
Next thread: Getting the position of a object to match the x,y of the mouse.


Re: explosions   -   Jeff Quan
  SpriteSurface VS RB3D in oS X.3   -   KamaShin
   Re: SpriteSurface VS RB3D in oS X.3   -   Chris Dillman
   Re: SpriteSurface VS RB3D in oS X.3   -   Joseph J. Strout
   Re: SpriteSurface VS RB3D in oS X.3   -   Seth Willits
   Re: SpriteSurface VS RB3D in oS X.3   -   Joseph J. Strout
   Re: SpriteSurface VS RB3D in oS X.3   -   Seth Willits

SpriteSurface VS RB3D in oS X.3
Date: 24.01.04 20:22 (Sat, 24 Jan 2004 20:22:33 +0100)
From: KamaShin
Hi there,
I ve once begun making a 2D game on OS 9 using first SpriteSurface and
then an RB3D... even for 2D games, RB3D is better than SpriteSurface
because of its ability to smooth the pictures when they are scaled...
well, both methods were good on OS9 BUT... I m now starting this game
from scratch cause I want it to run well on OS X... and I m testing
SpriteSurface and RB3D controls... here is what I m seeing:
RB3D is SLOOOOOOOW (and yes I installed the last version of Quasa)...
SpriteSurface is a bit faster but still flickers a bit, the movements
are not very smooth... why is that? maybe I m doing something wrong, I
don t know... isn t there any faster way of having 2D animations? even
with the timer period set to 0 it s a bit slow... whereas it was plain
fast on OS 9... I have an iMac G3 500Mhz with 256 Mo ram and a poor ATI
RAGE Pro with 8 Mo of VRAM... any idea?

Re: SpriteSurface VS RB3D in oS X.3
Date: 24.01.04 20:44 (Sat, 24 Jan 2004 13:44:59 -0600)
From: Chris Dillman
>Hi there,
>I ve once begun making a 2D game on OS 9 using first SpriteSurface
>and then an RB3D... even for 2D games, RB3D is better than
>SpriteSurface because of its ability to smooth the pictures when
>they are scaled... well, both methods were good on OS9 BUT... I m
>now starting this game from scratch cause I want it to run well on
>OS X... and I m testing SpriteSurface and RB3D controls... here is
>what I m seeing:
>RB3D is SLOOOOOOOW (and yes I installed the last version of
>Quasa)... SpriteSurface is a bit faster but still flickers a bit,
>the movements are not very smooth... why is that? maybe I m doing
>something wrong, I don t know... isn t there any faster way of
>having 2D animations? even with the timer period set to 0 it s a bit
>slow... whereas it was plain fast on OS 9... I have an iMac G3
>500Mhz with 256 Mo ram and a poor ATI RAGE Pro with 8 Mo of VRAM...
>any idea?

Well do you have some FPS you can tell us?

You are calling update on the 3D canvas?

tell us about you game?
Like how many sprites etc.

Re: SpriteSurface VS RB3D in oS X.3
Date: 25.01.04 18:59 (Sun, 25 Jan 2004 11:59:52 -0600)
From: Joseph J. Strout
At 8:22 PM +0100 1/24/04, KamaShin wrote:

>I ve once begun making a 2D game on OS 9 using first SpriteSurface
>and then an RB3D... even for 2D games, RB3D is better than
>SpriteSurface because of its ability to smooth the pictures when
>they are scaled...

Yes, in general you'll get better performance with Rb3DSpace as well.

>RB3D is SLOOOOOOOW (and yes I installed the last version of Quasa)...

How slow? I find quite good performance with it, though you do need
to take steps to be efficient (particularly in culling stuff that's
not going to be visible anyway).

>SpriteSurface is a bit faster but still flickers a bit, the
>movements are not very smooth... why is that?

Because OS X is a preemptive multitasking system, so other parts of
the OS are stealing time from your app. You'll get smoother
animation if you don't attempt to run at maximum speed; go for 30
FPS, for example, and I find it's usually pretty smooth. Of course
it depends on what else your machine is doing, etc.

Cheers,
- Joe

P.S. Please don't post HTML to the lists. Plain text only. Thanks!

Re: SpriteSurface VS RB3D in oS X.3
Date: 25.01.04 19:35 (Sun, 25 Jan 2004 10:35:33 -0800)
From: Seth Willits
On Jan 25, 2004, at 9:59 AM, Joseph J. Strout wrote:

>> SpriteSurface is a bit faster but still flickers a bit, the movements
>> are not very smooth... why is that?
>
> Because OS X is a preemptive multitasking system, so other parts of
> the OS are stealing time from your app. You'll get smoother animation
> if you don't attempt to run at maximum speed; go for 30 FPS, for
> example, and I find it's usually pretty smooth. Of course it depends
> on what else your machine is doing, etc.

Run at maximum speed, just make the movement of your objects time based
instead of pixels-per-frame based. Always works well for me.



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

"Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
------------------------------------------------------------------------
---

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: SpriteSurface VS RB3D in oS X.3
Date: 25.01.04 22:28 (Sun, 25 Jan 2004 15:28:35 -0600)
From: Joseph J. Strout
At 10:35 AM -0800 1/25/04, Seth Willits wrote:

>Run at maximum speed, just make the movement of your objects time
>based instead of pixels-per-frame based. Always works well for me.

I always base animation on time, but still find it smoother to run at
30 FPS. Oh well, YMMV.

Cheers,
- Joe

Re: SpriteSurface VS RB3D in oS X.3
Date: 25.01.04 22:44 (Sun, 25 Jan 2004 13:44:29 -0800)
From: Seth Willits
On Jan 25, 2004, at 1:28 PM, Joseph J. Strout wrote:

>> Run at maximum speed, just make the movement of your objects time
>> based instead of pixels-per-frame based. Always works well for me.
>
> I always base animation on time, but still find it smoother to run at
> 30 FPS. Oh well, YMMV.

Hmm... That's interesting. I'll make a mental not to play with that
when I update SpaceSpuds for 5.5.

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

"100% Recycled Electrons"
-- Law of Thermal Dynamics
------------------------------------------------------------------------
---

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>