realbasic-games
[Top] [All Lists]

Re: Subclass & Instance..tiles and Sprite Surface

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Subclass & Instance..tiles and Sprite Surface
From: Seth Willits <seth at freaksw dot com>
Date: Mon, 28 Jul 2003 12:11:06 -0700
On Monday, July 28, 2003, at 11:20  AM, Eric wrote:

Ok so I make a class called Game_Surface and then make its
super Sprite Surface?

Now this may be a dumb question but umm..how do make
and instance of it?

One of three ways:
1) Drag the class from the project window to the game window
2) Drag a spritesurface to the game window and set its super to Game_Surface
3) Control/Right-Click on the game window and "Add"-->"Game_Surface"


I haven't really made a subclass and instance..

You should start learning now. Taking on a project like this without using classes would be monumental. Using classes you can get more done in less time, and then its easy to take the same code to the next project and begin adding on specifics.

You should check out RBSpriteWorld. I told the list about it months if not over a year ago but no one seemed to interested.
http://www.freaksw.com/RBSpriteWorld.sit


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

"Time goes by so fast, people go in and out of your life. You must never
 miss the opportunity to tell these people how much they mean to you."
    -- "Cheers"
------------------------------------------------------------------------ ---


---
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>