Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Sprite Masks

I am having so much trouble using sprite masks. Say I have a back ground image calle Tile, a sprite call Character, and a sprite mask for it called Mask. I try to PUT them on the screen using this:

PUT (0,0), Tile, PSET
PUT (0,0), Mask, AND
PUT (0,0), Character, XOR

and I get an error when I try to PUT the mask on screen. Help!
I can't get this vital thing to work!




Comments

  • : I am having so much trouble using sprite masks. Say I have a back ground image calle Tile, a sprite call Character, and a sprite mask for it called Mask. I try to PUT them on the screen using this:
    :
    : PUT (0,0), Tile, PSET
    : PUT (0,0), Mask, AND
    : PUT (0,0), Character, XOR
    :
    : and I get an error when I try to PUT the mask on screen. Help!
    : I can't get this vital thing to work!
    :
    :
    :
    :
    Try this
    Put(1,1)...

Sign In or Register to comment.