realbasic-games
[Top] [All Lists]

Re: Card Game (clicking and sound),

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Card Game (clicking and sound),
From: Toon Van Acker <toon dot van dot acker at mac dot com>
Date: Sat, 11 Dec 2004 12:14:45 +0100
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20041210 dot 181027 dot 28131 dot 208559 at webmail13 dot lax dot untd dot com>
There are answers to these questions, but I think the questions themselves are based on a false premise. It sounds like you have a separate canvas for each card. That's not a good approach; instead, you should have one giant canvas covering the whole window (or close to it), which draws all your cards.

Why would using an array of canvasses for cards not be a good idea? If your cards are always going to be in the same position, this is seems like a good solution to me. If I remember correctly, there was a card game on the REALbasic 1 or 2 CD that used the technique. Unless you want to move them around with smooth animation, I don't see why you wouldn't use canvasses. Is there something I'm missing?

---
Toon Van Acker

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