Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Newbie text Question

Author
Message
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 14th Nov 2003 02:31
I'm probably the only one who has ever asked how to write text
but, i'm using the 'text' command

how would i make the "text$" ro string part of it, be like a number that i can just do like text$ = text$ + text$ but i dont think that'd work with strings. how would i make it so i can do that?
(i use DBC)

You did what? For who?! For how many jellybeans?!?

X_MEN
21
Years of Service
User Offline
Joined: 14th Sep 2003
Location:
Posted: 14th Nov 2003 03:18
TRY THIS



text$="GRRRR"
text 100,100,text$

text 190,100,"Ahhhhh "+text$

You cant do it if you try
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 14th Nov 2003 03:27
is there anyway to do like this code?

what i really need is like a scoring system that prints it or something on the screen where i want it to.

You did what? For who?! For how many jellybeans?!?

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 05:04
set cursor x,y
print "SCORE: " ; dwoScore


x,y being screen coordinate
dwoScore being your score variable (mine would be as DWORD)

-RUST-
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 14th Nov 2003 05:10
thanks alot, that worked fine

You did what? For who?! For how many jellybeans?!?

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 05:22
cool, just remember the screen x/y for text is based on the text size. It has no relation to other objects like sprites or 3d objects.

-RUST-

Login to post a reply

Server time is: 2024-09-21 09:40:37
Your offset time is: 2024-09-21 09:40:37