forums

TNT Basic Forums > Programming Q&A
Draw Text Problem
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-15-2005 17:36

Posted by:
Stephen Lund

Location:
Michigan USA

Click Here to Email Stephen Lund   Find more posts by Stephen Lund

Hi, everyone,

I'm working on a card game, And I want to have a number next to your deck that tells you how many cards you have, And I want it to be a draw text, and i'm running in to some problems, because i think it has got to be a intager, and you can not just write:

Draw Text 320,240,x

so can anyone please tell me how to do it or is there a way to do it,

Thanks,
Stephen

02-16-2005 00:23

Posted by:
greg3551

Location:
Milwaukee Wisconsin

Click Here to Email greg3551   Find more posts by greg3551

you have to have

text font ?

text size ?

set pen colour make colour(?,?,?)

before it prints

02-16-2005 02:31

Posted by:
isthaq

Location:
Kansas City

Click Here to Email isthaq   Find more posts by isthaq

Drawing an integer as text requires an "as string" thingee.

draw text 320,240,as string(x)

02-16-2005 03:12

Posted by:
Stephen Lund

Location:
Michigan USA

Click Here to Email Stephen Lund   Find more posts by Stephen Lund

Thanks,

Thank you so much, it helped me alot,

Stephen

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.