A89: Re: Re: put_sprite_mask


[Prev][Next][Index][Thread]

A89: Re: Re: put_sprite_mask




Not necessarily, I had a BIG problem getting my sprite to display correctly
with a background.  Although, I might have just messed up my sprite but, I
dont' know.  If you want to know how to use it, it's like this:
put_sprite
    move.w    x,d0                                ;put the x coordinate into
d0
    move.w    y,d1                                ;put the y coordinate into
into d1
    move.w    #%11111111,d3          ;put the constant mask into d3
    move.l      graphlib::plane0,a1
    lea            sprite1(PC),a0
    jsr             graphlib::put_sprite_mask

    move.l    graphlib::plane1,a1
    lea          sprite2(PC),a0
    jsr           graphlib::put_sprite_mask
-----Original Message-----
From: Miles Raymond <m_rayman@bigfoot.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Thursday, October 21, 1999 1:33 PM
Subject: A89: Re: put_sprite_mask


>
>Just use the put_sprite function without making a mask.  If there is no
>mask, it is assumed as all '1's.
>
>-Miles Raymond      EML: m_rayman@bigfoot.com
>ICQ: 13217756       IRC: Killer2        AIM: KilIer2 (kilier2)
>http://www.bigfoot.com/~m_rayman/
>
>----- Original Message -----
>From: <TurboSoft@aol.com>
>To: <assembly-89@lists.ticalc.org>; <assembly-92@lists.ticalc.org>
>Sent: Thursday, October 21, 1999 2:23 PM
>Subject: A89: put_sprite_mask
>
>
>> Can someone send me an example of using the put_sprite_mask function?
>(from
>> graphlib.h).  l have tried it myself, and looked around for code for it,
>but
>> l can't find any code using it.  l've got a HUGE sprite with a mask of
all
>> 11111111, and l am trying to save space.
>>
>> --TurboSoft
>>
>> Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs
>created
>> by TurboSoft for the 89, and the most 89 web links.
>> <A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>
>
>
>