SpriteControl Users

Miscellaneous Forums/Blitz Showcase/SpriteControl Users

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

*EDIT - Just added MaskImage3D command.


SpriteControl Docs Pak:
=======================
There is now a Spritecontrol Docs Pak available.

By installing the Docs Pak you will have instant help for each of the SpriteControl functions.
Plus, all of the commands are recognised by Blitz3D ( highlighted/capitalised).
Also, the F1 help function works as well!

** Note 1: You need the latest version of Blitz3D with the userlibs feature for this to work.

To install the docs, extract the pak to Blitz3D's main folder. For example, into:

c:\program files\blitz3d\

After installation run Blitz3D. Go to the help page and click the 'Command Reference' link.
You should see the SpriteControl link which will give you a list of available commands/functions.
Alternatively, press F1 over any of the commands in the code examples for instant help.

** Note 2 : There is a modified command_list.htm file in the pak. This comes from version 1.83 of the Blitz docs.
If you choose not to overwrite your existing command_list.htm you'll only loose the SpriteControl command list.
The F1 help will still work :-)

Click here for online help.

Sprite Control - Commands & Functions
##########################################

spritecamera=CreateSpriteCamera(maincamera[,distance#])
spritecamera=CreateSpritePivot(maincamera[,distance#])
sprite=CreateImage3D([width][,height][,parent])
sprite=LoadImage3D(file$[,flags][,parent])
sprite=LoadAnimImage3D(file$,frames[,flags][,parent])
sprite=CopyImage3D(existingsprite)
sprite=GrabImage3D(x,y,w,h[,parent])
sprite=Text3D(x#,y#,text$[,flags][,parent])
ModifyText3D sprite,texture,x#,y#,text$[,flags]
DrawImage3D sprite,x#,y#
ResizeImage3D sprite,width,height
RotateImage3D sprite,angle#
FlipImage3D sprite[,horizontalflag][,verticalflag]
w=ImageWidth3D(sprite)
h=ImageHeight3D(sprite)
HandleImage3D sprite,xoffset#,yoffset#
hx#=ImageXHandle3D(sprite)
hy#=ImageYHandle3D(sprite)
MaskImage3D sprite,red,green,blue[,totalframes]