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.

DarkBASIC Discussion / Dumb? Who, me?

Author
Message
bunghole
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Finland
Posted: 17th Mar 2004 10:29
When I usually want text to my games, I make pictures of every font and so on...
But when I now at the first time try to use normal text in 3D, it doesn't show anything..
Why?
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Mar 2004 11:05
Probably because your either using PRINT, or the other graphics are overwriting the text.
You shouldn't be using text for text though - use sprites.


The place for all great plug-ins.
XP3000+,1Gb RAM,FX5600,1Mb ADSL,Router,.Net 2003 Pro & me
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 17th Mar 2004 16:51
bunghole, are you using sync? because if you are'nt then putting sync in your program will help you a lot. if you are, switch you print statement to text or vice versa. and tell me if you have any other problems .


Make games!
bunghole
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Finland
Posted: 18th Mar 2004 15:27
I'm in school now, but if I remember right, I have remembered to put the sync.
But I'll try that. I wanna see the normal text, so I can check the coordinates and stuff.
bunghole
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Finland
Posted: 22nd Mar 2004 11:55
I doesn't work either way. When I do a sprite of a bitmap then the text disappears. Even if the sprite is hidden, the text won't show.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Mar 2004 12:09
place these lines prior to your loop

set text font "arial"
set text size 14
ink rgb(255,255,255),1
score = 56



place this line at the end of your main loop just before your sync

text 10,10,"my score is :"+STR$(score)




and you should see text in the top left hand corner to get you started


LReM8888
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: The Land of the Fairies
Posted: 22nd Mar 2004 22:03
i personally actually only managed to make PRINT work for me

TEXT didn't work for me

but you always *MUST* put the writing just before the SYNC

and make sure the DRAW TO FRONT statement is in place
bunghole
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Finland
Posted: 24th Mar 2004 10:18
Dammit! It still doesn't work!
I mean it shows the text in front of 3D's, but doesn't in front of sprites. I don't get it...

Login to post a reply

Server time is: 2025-06-02 06:24:53
Your offset time is: 2025-06-02 06:24:53