realbasic-games
[Top] [All Lists]

Re: SpriteSurface.graphics

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: SpriteSurface.graphics
From: Rasmus Lindén <rasmuslinden at gmail dot com>
Date: Sun, 28 Nov 2004 18:05:13 +0100
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mGViKgxtNMuK6Gh8CGcStZqnNS1WZz72t/eq1cYJLhZAAAL0iJNFq2jgrxORoIpuN8oVlPW3l5T/Z09NdmJBjA+IK0g64OEHfzDKB74zpgitYwiIBglSXBQgUURv5Tj6CkI400jKCUdmkFQJvaiiLX6Cq8wdhO3kgZWu9hLdRFI=
References: <2b dot 67321b7e dot 2edb5ab5 at aol dot com>
> RB vet, but game desgin newbie
> 
> Trying to improve my understanding of spritesurfaces.
> The LR lists .graphics as a property of a spritesurface and I have seen
> Matt's pacmac example where he uses .graphics.drawstring to draw to the window
> outside the bounds of the sprite surface. But when I try
> 
> mySS.graphics.drawstring theStr, 500, 500
> 
> where mySS is a spritesurface in my window, the compiler complains that
> .graphics doesn't exist as a property.
> 
> what am I doing wrong?

Haven't used the SpriteSurface for a long time, but I thought they
took out the .graphics property(or changed it so that you couldn't use
it as much as all) out of the SS somewhere in RB 3 or 4 or so.
Have they changed it back??

> 
> TIA
> Roger Clary
> Class One Software
> Educational Software for Macs and PC's
> www.classonesoftware.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

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