I am trying to create a chess clock timer

73 views
Skip to first unread message
Assigned to scottfr...@gmail.com by me

John Lawson

unread,
May 7, 2014, 3:47:11 AM5/7/14
to mitappinv...@googlegroups.com
I can't for the life of me figure out a way to flip the label with the timer so that one is facing me and the other timer is facing my opponent. 

Scott Ferguson

unread,
May 7, 2014, 7:48:39 AM5/7/14
to
You can use two additional small canvases just to display the text- one on each side of the game board.
If play is left<->right then left canvas uses DrawTextAtAngle (text,x,y,270), right canvas uses DrawTextAtAngle (text,x,y,90)
If play is up<->down then top canvas uses DrawTextAtAngle (text,x,y,180), bottom canvas uses DrawText (text,x,y) or DrawTextAtAngle(text,x,y,0)
---


Reply all
Reply to author
Forward
0 new messages