problem with anchox & anchory

Discuss any general programming issues here
Post Reply
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

problem with anchox & anchory

Post 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
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: problem with anchox & anchory

Post 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})
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: problem with anchox & anchory

Post 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
Post Reply