Page 1 of 1

OS4 and text rotation

Posted: Wed Aug 03, 2011 9:58 pm
by pecaN
Hi people... I've just released TeXtimnator but only for MorphOS... it's because of rotation..my betatesters say that TeXtminator freezes while trying to rotate so please could anyone with OS4 test this short code ? thx in advance :

SetFont(select some your font here, please try bitmap, vector and truetype)
SetFontSize(type in some size according to selected font)
CreateTextObject(1, "TeXtminator")
RotateTextObject(1,45) /* please try also some other angles */
CreateSprite(1, #textobject, 1)
DisplaySprite(1,#center,#center)
WaitLeftMouse

Re: OS4 and text rotation

Posted: Wed Aug 03, 2011 11:22 pm
by airsoftsoftwair
Tested it. Result: Crashes with Hollywood 4.7, works fine with Hollywood 4.8.... please upgrade :)

Re: OS4 and text rotation

Posted: Thu Aug 04, 2011 9:00 am
by pecaN
Firts, sorry for bad code :-) I was writing it from my head and there was a remnant from another programming language :-) So the SetFontSize command doesn't exist and the right code is :

SetFont(font,size)

sorry once more

Andreas : thx for your test seems that I will really have to update but I am afraid I am going to wait for another version with more new features :-)