- Joined
- Dec 29, 2015
- Messages
- 4
- Reaction score
- 0
- First Language
- English
Hi all,
I have a problem with an animation I'm working on for my mv project.
I use this code:
this.rotation = angle * Math.PI / 180;
But my image rotates following the top left corner.
I need my image to rotate at it's center.
My image is a bitmap
I need something like
this.translate( canvasRotationCenterX, canvasRotationCenterY );
Does rpgmaker have something similar to this?
Can anyone point me to the right direction?
Thank you.
All the best,
Mycael
I have a problem with an animation I'm working on for my mv project.
I use this code:
this.rotation = angle * Math.PI / 180;
But my image rotates following the top left corner.
I need my image to rotate at it's center.
My image is a bitmap
I need something like
this.translate( canvasRotationCenterX, canvasRotationCenterY );
Does rpgmaker have something similar to this?
Can anyone point me to the right direction?
Thank you.
All the best,
Mycael

