|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Borland Turbo C BGI Graphics Library
>To draw a simple sprite this is what I do.
//I'll just draw a circle
void DrawSprite1()
{
setcolor(color);
circle(x,y,radius);
void *sprite1;
}//endfn DrawSprite1
//Then get it.
void GetSprite(void *Name)
{
getimage(left,top,right,bottom,SpriteName);/could be getimage(x,y,*Name)
}//endfn CopySprite
//Then put it.
void PasteSprite(void *Name)
{
putimage(x,y,Name);
}//endfn PasteSprite
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|