Computer Science Canada Text Position Help!! |
Author: | mike200015 [ Sun Feb 20, 2005 5:43 pm ] | ||
Post subject: | Text Position Help!! | ||
in a program i made, there are 2 players that enter their name, which appear at the top of the screen at the right and left corner. Beside the name it shows their score, but how would i make it so that the score will go about 3 spaces after their name depending on the length of the name. Also on the right side (player 1 name), if the name is 2 long then it goes off the screen.. heres the code for it:
|
Author: | person [ Sun Feb 20, 2005 6:59 pm ] |
Post subject: | |
cant u just limit the name of the players? |
Author: | mike200015 [ Sun Feb 20, 2005 7:03 pm ] |
Post subject: | |
i guess i could, but still if i do that then if they enter just like 2 letters or something, or a longer name i still want the space between the end of the name and the score to always be the same |
Author: | ssr [ Sun Feb 20, 2005 9:19 pm ] | ||
Post subject: | |||
lol why not just do somethign like this
![]() ![]() |
Author: | ssr [ Sun Feb 20, 2005 9:24 pm ] |
Post subject: | |
ohhhh font draw anyway u can still do that add spaces |