Mischa's Rotate User Lib in PB 4?

Advanced game related topics
DevilDog
Enthusiast
Enthusiast
Posts: 210
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

Mischa's Rotate User Lib in PB 4?

Post by DevilDog »

Hi,
Does anyone know if the image Rotate user lib written by Mischa has been ported to PB 4?

The version on purearea.net does not compile with pb 4, it gives some POLINK errors.

thanks
When all is said and done, more is said than done.
DevilDog
Enthusiast
Enthusiast
Posts: 210
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

Post by DevilDog »

OK then.

Can anybody help me with the following:

I have a sprite loaded and I simply want to rotate it x degrees. It could be anywhere from 1 to 359 or in any direction.

There should be a simple way to do this that is not too intensive.

Mischa's lib seemed to be perfect:

RotateImage(#image, angle, transparentcolor)

But like I said, it doesn't compile in PB 4.

Anything like this out there?
When all is said and done, more is said than done.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Do you need any type of pixel interpolation on the new calculated image?, Furthermore, do you work with an embedded alpha channel or are you masking by color key?.
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
DevilDog
Enthusiast
Enthusiast
Posts: 210
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

Post by DevilDog »

Dagcrack,
Pixel interpolation would be nice and I'm using a color key for masking.
When all is said and done, more is said than done.
Post Reply