Integers in Text.
Author |
Message |
xevious
|
Posted: Sat Nov 19, 2005 11:20 am Post subject: Integers in Text. |
|
|
I want my game to count wins, and I have the process figured out, but I can't get it to output the integers using Text.Draw. Is there another command that I can use to place the integers at a specific area on the screen without effecting other parts of the image?
I'd put code...but I don't think it's really necessairy |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Cervantes
![](http://compsci.ca/v3/uploads/user_avatars/1023105758475ab2e040bde.jpg)
|
Posted: Sat Nov 19, 2005 11:25 am Post subject: (No subject) |
|
|
You'll need to convert the integer to a string when you draw it. This is done using the intstr() function. Check out the String Manipulation tutorial. A link can be found in the Turing Walkthrough. |
|
|
|
|
![](images/spacer.gif) |
|
|