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 |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Cervantes

|
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. |
|
|
|
|
 |
|
|