sprite - handle of existing sprite x - horizontal position in display (pixels) y - vertical position in display (pixels) frame (optional) - which animation frame to show z (option) - z-position of sprite |
Positions the sprite on screen at x/y location. Unlike the Blitz 2D DrawImage command, this only needs to be called when you wish to re-position the sprite. By
default the axis/handle of the sprite is top/left like
the 2D DrawImage command. You can supply a frame number if the image was loaded with LoadAnimImage3D() A note about using the optional z parameter: See Also: FreeImage3D |
Include "Sprite Control.bb" SpriteGraphics3D 640,480 mysprite=LoadImage3D("myimage.bmp") RenderWorld |