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 / wont write on the screen...

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 26th Jun 2006 22:54
ok well my small rpg that im working on is going well.. and i have it to when you press t the person talks...first i used the print command to show the words but for someone reason it wouldnt show.. i did it out of the loop in the loop and in the if statement...so after i tried that i used the text command... same thing you couldnt see it... can someone please help me with this problem.. thanks.

<img src="http://www.boomspeed.com/egraphics/75as4.gif" border="0" title="Adopt_one_today_from_pickle-green.com/egraphics!">
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 26th Jun 2006 23:01 Edited at: 26th Jun 2006 23:01
After you display text, you probably overwrite it with a 2D command.

Background:
If you have a background (like a text balloon, chat window, etc.) then make sure your text commands are AFTER these commands (usually paste image).

Sprites:
It is not advisable to use sprites. Because sprites always appear on top (except you use the command draw sprites first). It would be better to use plain images in this case, or plains locked to the screen.

sync:
The sync command has to come AFTER the text commands, preferably just before loop. Normally, this shouldn't give too many problems, but if you're working with cls, and the other items listed above, I think you will have less problems.understanding your code later.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 27th Jun 2006 13:48 Edited at: 27th Jun 2006 13:48
If you want to print it on the sceen whilst you loaded a 3d objet then this will work, just paste in the main loop


Don't look at my sig!
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 27th Jun 2006 16:40
Quote: "first i used the print command to show the words but for someone reason it wouldnt show.. i did it out of the loop in the loop and in the if statement...so after i tried that i used the text command... "




It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 28th Jun 2006 20:51
thank you guys i will trie it today.

<img src="http://www.boomspeed.com/egraphics/75as4.gif" border="0" title="Adopt_one_today_from_pickle-green.com/egraphics!">

Login to post a reply

Server time is: 2025-05-25 06:16:16
Your offset time is: 2025-05-25 06:16:16