realbasic-games
[Top] [All Lists]

Re: Picture Fonts

To: "REALbasic Games" <REALbasic-Games at lists dot realsoftware dot com>
Subject: Re: Picture Fonts
From: Seth Willits <seth at freaksw dot com>
Date: Sun, 26 Oct 2003 08:59:14 -0800
On Sunday, October 26, 2003, at 07:12 AM, Joseph J. Strout wrote:

Well I did some tests of drawstring with
putting some info on screen and if the screen isn't
scolling the text will just over lap its self.  It gets
messy.

Are you drawing directly to the spritesurface (or window) graphics? Don't do that. You're fighting the sprite system in that case. Instead, you should make a Sprite that contains the text you want to display.

Wait, I always thought that using the window's graphics context was what we were supposed to be using in place of spritesurface.graphics. In response to asking how to draw a score in a box on top of the surface, you stated in a message last January:

"Much better would be to use sprites for these things. But if you want to do it this way, just draw to self.graphics (i.e. the Window's graphics)."


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

Friendship is a beautiful thing. "The best and most beautiful things in the world cannot be seen or even touched - they must be felt with the heart."
    -- Hellen Keller
------------------------------------------------------------------------ ---


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

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

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