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 / updating text?

Author
Message
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 22nd Feb 2006 01:58
yo yo yo. i have a text element in my program but whenever i try to update it it doesent work! this is my code:



if i try CLS it doesent work either. what im trying to do is to make it move the
text around with the mouse untell the user clicks, then it places the text where
the user last moved the mouse. please help

~Snowfall

Drew the G
User Banned
Posted: 22nd Feb 2006 02:33
sync

Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 22nd Feb 2006 02:39
Dude. omg, lol, thanks for trying but thats not gonna CLEAR the texts that had happend.

Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 22nd Feb 2006 02:43
cls or use the backdrop commands


Making better games everday!
Oh yeah and just so you know its Oh-nek-a not One-ka!
Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 22nd Feb 2006 03:57 Edited at: 22nd Feb 2006 04:02
try this:


It should work

Mysteries Surround You
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 23rd Feb 2006 00:41
Yes but if i CLS at the beginning of my paint program the persons sketch will be erased

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 23rd Feb 2006 19:53
Make your life easier and make the text a sprite.


Jedi Lord
20
Years of Service
User Offline
Joined: 11th Jun 2004
Location: Jedi Temple
Posted: 8th Mar 2006 01:39
Here how the pattern work:

you paint the screen...
Quote: "men are painting the wall..."

then cls is at the last thing in the loop
Quote: "monster just lick the paint off the wall"

and I hope you understand how it work.

good day to all of you.

Whoa... I like a shiny thing...
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 8th Mar 2006 05:30
Sigh, read above. CLS DOES NOT WORK!i am doing a paint program. *ding*

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 8th Mar 2006 06:14 Edited at: 8th Mar 2006 06:14
Here's an example of what I suggested:



If you want it to be able to move around at anytime... keep it a sprite until the user wants to save... then paste all the sprites on the screen and save the bitmap.


Login to post a reply

Server time is: 2024-11-27 04:56:46
Your offset time is: 2024-11-27 04:56:46