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