PDA

View Full Version : Different sized bitmaps in a big bitmap



Nightmare_82
22-12-2003, 12:56 PM
Hi!
I'm programming a roleplay game and I want to store many objects(houses, fire...) in a big bitmap. All these objects have a size dividable by 16 but the size should be different(32x32, 64x32 and so on)
What is the fastest way to draw an object when I use a Pattern-Width and -Height of 16? I want to rotate and scale the objects so is there a way to do this?

LP
30-12-2003, 01:11 AM
You'd use usual rendering routines, since everything is based on pattern sizes. In PowerDraw3, there're methods such as pRotate4, etc (check the manual).

Hope this helps,
Lifepower