realbasic-games
[Top] [All Lists]

Re: Trouble with SubClass & SpriteSurface

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Trouble with SubClass & SpriteSurface
From: Seth Willits <seth at freaksw dot com>
Date: Tue, 29 Jul 2003 18:37:08 -0700
On Tuesday, July 29, 2003, at 05:19  PM, Eric wrote:

Now  when I went to put the following in
there was no place to put it. No paint tile
in the instance.

I forgot to mention this: When you use an event in a class, you have to create the event and then call it from the class for instance. IOW, open the ss subclass, and choose "New Event" from the menu, then create an event to match:

PaintTile g as graphics, xpos as integer, ypos as integer, row as integer, column as integer


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Read the book! Be patient! All success comes from acquiring knowledge and experience."
        -- Seth Willits
------------------------------------------------------------------------ ---


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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


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