[A83] Re: Sprites with clipping


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

[A83] Re: Sprites with clipping




If you want the sprites to scroll vertically, I'm guessing you don't want
the sprites to disapear once parts of them go offscreen, yes?  Of course,
since you're asking for a clipping routine.  But you might also consider
making a 80x12 byte buffer and writing a modified version of fastcopy to
only display the middle of the buffer and leave the top and bottom 8x12
bytes alone.  These parts would be where the excess 8x8 sprites scroll into
then dissapear.  The only problem would be the buffer would take up  960
bytes, but if you're going for speed I would say go with that.  

----------------------------------------------
Original Message
From: "Guillaume Hoffmann"<crono@ifrance.com>
Subject: [A83] Sprites with clipping
Date: Mon, 23 Jul 2001 13:40:06 +0200

>
>Does anyone know if there is a routine that can draw sprites even if they 
>are out of the window coordinates ? (in example : (80,-5) )
>
>I need it to draw 8*8 sprites that scroll vertically.
>
>
> 
>___________________________________________________________________________
___
>ifrance.com, l'email gratuit le plus complet de l'Internet !
>vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
>http://www.ifrance.com/_reloc/email.emailif
>
>
>
>
>

_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com




Follow-Ups: