realbasic-nug
[Top] [All Lists]

Re: Sprites on Windows

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Sprites on Windows
From: Will Leshner <leshner at ljug dot com>
Date: Tue, 30 Jul 2002 22:43:02 -0700
I've got it. My SpriteSurface Depth was set to 0. When I set it to 8 it works fine (though the colors are a little different). The problem was that my SpriteSurface pretty much fills the window and the window's background was set to black. So I thought I was seeing the spritesurface in my window. But when I shrunk the spritesurface down and turned off my window's background I found out that the whole spritesurface was invisible. I then put another sprite surface in the same window and it showed up fine. But I couldn't quite figure out what was the difference between the two. So I dumped out the project in XML and lo-and-behold, the depth of the invisible one was 0 and the depth of the visible one was 8. Wow.

Is this a bug?

On Tuesday, July 30, 2002, at 09:13  PM, Joseph J. Strout wrote:

It's certainly worth trying a hard-coded 16 or 32 instead, which it what I generally use. I don't know what the problem might be -- Win98 and VPC is what I use too, and sprites show up for me. Can you reproduce it in a simple app? Please try, and report it with REALbugs, and we'll see what we can do.



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