Game Programming and Development Tools

Rotating Handle – Mene-Mene

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
I'm sure there is a really easy solution to this, but I am having trouble finding it. For my AI testing game, I've written a script which takes an image, rotates it ten degrees, saves it, and then I'll take all these files and input them all into one big file, but anyway. I'm want to rotate it from its middle, which thats what I thought AutoMidHandle did, but apparently it instead puts the top in the middle instead of drawing it like normal, then rotating it from the middle, can you guys help? (Or Girls)

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
I think you're supposed to use MidHandle() instead.
Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Does the same thing. The difference is AutoMidHandle() sets all the images, and MidHandle sets 1 image.

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
You could try manually setting the location of the image's handle using HandleImage()
Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Ah! I knew it was a stupid mistake, I simply didn't take into account its size, and drew it at 0,0

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto