Page 1 of 1

problem with anchox & anchory

Posted: Tue Mar 21, 2017 7:55 pm
by xabierpayet
is not working anchorx & anchory with text objects? or i need change my old code?

textout(320,240,"session time left: "..minuts2..":"..segons2,{anchorx=0.5,anchory=0.5})

this code donĀ“t is affected by the anchor parameter

Re: problem with anchox & anchory

Posted: Tue Mar 21, 2017 11:30 pm
by airsoftsoftwair
Hmm, right, looks like a bug. You can use this as a workaround:

Code: Select all

textout(320,240,"session time left: "..minuts2..":"..segons2,{anchorx=0.5,anchory=0.5,align=#CENTER})

Re: problem with anchox & anchory

Posted: Sun Aug 20, 2017 7:51 pm
by airsoftsoftwair

Code: Select all

- Fix: When using TextOut() with left alignment and Hollywood deemed the text appropriate for its
  internal fast draw optimization, the AnchorX and AnchorY values weren't applied to the positioning