realbasic-games
[Top] [All Lists]

Re: extra sprite?

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: extra sprite?
From: John Balestrieri <mrjohn at tinrocket dot com>
Date: Tue, 29 Jun 2004 14:59:39 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
List-help: <mailto:realbasic-games-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Games <realbasic-games.lists.realsoftware.com>
List-post: <mailto:realbasic-games@lists.realsoftware.com>
References: <a06100500bcff0a031c3b at [66 dot 52 dot 106 dot 63]>
My SuperSpriteSurface:

        http://www.tinrocket.com/content/superspritesurface/index.html

supports these types of collisions. With SSS, you would have one sprite, but multiple collision masks (for your charcter, for the swords, etc.)

In fact, one of the demos is of knights/swords/shield collision. ;)

John


On Jun 23, 2004, at 6:28 AM, Joe Raffanti wrote:

Hi, I'm working on a simple game, and I want the main character (a sprite) to attack with a sword when the user presses a button. Any enemies touching the sword should do a method (getting damaged or something), but any enemy touching the character and not the sword should not do this method. One way to solve this problem would be to simply make an extra sprite, so the character would be one sprite, and the sword would be a separate one. Is there any easier way of doing this?

Thanks,
Joe Raffanti
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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