sprite - sprite handle. Not to be confused with dxHandleSprite - ie. the handle used to position the sprite, rather than the sprite's actual handle |
Sets a sprite handle. Defaults to 0,0. A sprite extends from -1,-1 to +1,+1. See also: LoadSprite, dxCreateSprite. |
dxGraphics3D 640,480 cam = dxCreateCamera() dxMoveEntity cam,0,0,-5 sp = dxCreateSprite() handlepos# = 0.0 While Not dxKeyDown(1) dxRenderWorld dxColor 100,100,100 dxPlot 320,240 dxText 320,250,"Handle",True dxFlip dxHandleSprite sp,handlepos,handlepos handlepos = handlepos + 0.01 Wend End |