You are not logged in.
Hi!
Yaaaawn! (I would back to sleep.. -_- )
I have an easy question:
Inside "kidspaint" (good application!), i found the GRRLib 4.0.0 "GX VERSION"...
What is the difference between the "normal" version and the "GX Version"?
The Original Problem:
I had troubles with the "rotation" variable, calling "GRRLIB_DrawImg" :
in the DEMO1 of GRRLIB i see the "png" texture (a kind of purple triangle), rotating...
in this case the rotation use the center of the texture. Wonderful.
So I'm trying to rotate something, but my texture rotation use the "0, 0" point, to rotate.
I'm using the GRRLib 4.0.0 "GX VERSION": my "rotation problem" is inside this library?
Thanks for all.
Jonesy -Leo-
Offline
Just a quick post, all version since 3.0 are "GX version".
If someone is using a different version it might be the one from subversion: http://code.google.com/p/grrlib/source/browse/
Offline
For the moment, thankyou for the precisation!
But what is the difference between the GRRlib distribuited at the link http://grrlib.santo.fr/release/GRRLib4.0.0.rar and those that you call "subversion", linked at Google Code?
there's some explication for the trouble of the rotation point?
I really don't understand where I mistake.
'night.
-J-
Offline
The files at http://code.google.com/p/grrlib/source/checkout are used for development. So they are the most recent one, but since it's development they might have errors, so it's to use at your own risk.
If you want to change the rotation point use GRRLIB_SetHandle:
* Set a texture's X and Y handles. e.g. for rotation. * @param tex The texture to set the handle on. * @param x The x-coordinate of the handle. * @param y The y-coordinate of the handle.
GRRLIB_SetMidHandle could be used to center a texture's handles.
Offline
Great Crayon!
Great!
Thank you so much.
-J-
Offline