I have built a simple particle engine in Max2D which utilises LoadAnimImage to load a strip of different particle graphics.
I draw the image like this :-
The issue is that I can not get the images to rotate around the correct axis. I've tried AutoMidHandle and SetHandle and all manner of things but the results, whilst the look kinda cool, are not what I am after.
The AnimImage consists of 4 images of 128x128.
Please help.
I draw the image like this :-
Method Draw() SetBlend(LIGHTBLEND) SetAlpha(Self.Alpha) SetRotation(Self.angle) DrawImageRect(ParticleImage,self.x,self.y,self.size,self.size,self.frame) SetHandle(0,0) SetAlpha(1) End Method
The issue is that I can not get the images to rotate around the correct axis. I've tried AutoMidHandle and SetHandle and all manner of things but the results, whilst the look kinda cool, are not what I am after.
The AnimImage consists of 4 images of 128x128.
Please help.