Restored from previous forum. Originally posted by MrVainSCL.
Add Features and Description:
"HandleImage (image,x,y)"
Set a new handle location on an existing image.
"MidHandle (image)"
Sets the image handle of the specified image to the middle of the image.
"ResizeImage (image,width#,height#,mode)"
Resizes an image to a new size using pixel values. mode=normal/antialiased
"ScaleImage image,xscale#,yscale#)"
Scales an image to a new size using percentages.
"RotateImage (image,value#)"
Rotates the image counter-clockwise a specific angle.
greetz
MrVainSCL!
Idea for ImageLib / SpriteLib
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by MrVainSCL.
Hi @ all
Its an very old posting, but i think those commands for IMAGEs and SPIRTEs could be very usefull for game coding i.e.!
What do you think?
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
Hi @ all
Its an very old posting, but i think those commands for IMAGEs and SPIRTEs could be very usefull for game coding i.e.!
What do you think?
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by MrVainSCL.
Mhhhhhh.. nobody here who is coding or want to code a game i.e. and need such Handle() commands for Images nor Sprites????
IF someone of you think this would be usefull commands for game developing (i think so), then please reply... thx
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
Mhhhhhh.. nobody here who is coding or want to code a game i.e. and need such Handle() commands for Images nor Sprites????
IF someone of you think this would be usefull commands for game developing (i think so), then please reply... thx
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> Mhhhhhh.. nobody here who is coding or want to code a game i.e. and
> need such Handle() commands for Images nor Sprites????
Well, the ResizeImage command already exists, so you can use that to
resize both to a new pixel size and by percentage... so that's 2 of
your 5 requests completed for you.
> Mhhhhhh.. nobody here who is coding or want to code a game i.e. and
> need such Handle() commands for Images nor Sprites????
Well, the ResizeImage command already exists, so you can use that to
resize both to a new pixel size and by percentage... so that's 2 of
your 5 requests completed for you.

-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by MrVainSCL.

I requested those commands for Image and for SPRITE (!) Lib...
A very important and very usefull stuff would be the Handle() stuff for both (Images and Sprites) !!!
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten

I requested those commands for Image and for SPRITE (!) Lib...
A very important and very usefull stuff would be the Handle() stuff for both (Images and Sprites) !!!
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...
greetz
MrVainSCL! aka Thorsten
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
should be added for normal sprites then aswell.
a Sprite3D is no simple Sprite
the RotateSprite3D is just a texture-function of the grafix card,
the result can only be displayed but not handeled like a 2D sprite,
thus, the comparison is not fitting.
a RotateImage is a completely different thing,
like a RotateSprite2D would be.
...there is a code by S.M. somewhere, he wrote an ASM-tuned routine for 2Dsprites and Images.
a Sprite3D is no simple Sprite
the RotateSprite3D is just a texture-function of the grafix card,
the result can only be displayed but not handeled like a 2D sprite,
thus, the comparison is not fitting.
a RotateImage is a completely different thing,
like a RotateSprite2D would be.
...there is a code by S.M. somewhere, he wrote an ASM-tuned routine for 2Dsprites and Images.
oh... and have a nice day.