improvement of some existing sprite functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

improvement of some existing sprite functions

Post by Dr. Dri »

Code: Select all

PreviousBuffer = UseBuffer(NewBuffer)
UseBuffer seems to return a IDirectDrawSurface pointer
It would be more useful get the sprite number (or -1 for the screen)

for example:

Code: Select all

buffer = UseBuffer(mysprite)
;draw some sprites
UseBuffer(buffer)

Code: Select all

SpriteWidth SpriteHeight SpriteDepth SpriteOutput SaveSprite...
I wish i could use thoses functions with the screen, by giving '-1' for the sprite number

Last request:
Why can't the Sprite3D display on the current buffer ?
It's a bit limited this way, isn't it ?

Dri :)