realbasic-games
[Top] [All Lists]

SpriteSurface.graphics

To: realbasic-games at lists dot realsoftware dot com
Subject: SpriteSurface.graphics
From: ClassOneSW at aol dot com
Date: Sun, 28 Nov 2004 11:45:41 EST
Delivered-to: realbasic-games at lists dot realsoftware 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?

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>