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 / Scrolling Text Box

Author
Message
Fneep
19
Years of Service
User Offline
Joined: 3rd Sep 2005
Location: In my house
Posted: 9th Sep 2006 00:28
Hi, does anyone know how to make a scrolling text box in DBPro?
Thanx.

When life gives you lemons, make orange juice. Then sit back, drink the orange juice, and wonder how the f**k you made orange juice out of lemons.
Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 9th Sep 2006 04:18
i'd be a bit hard.
you'd need to use a set cursor 0,y# command and set up differents if then statements. If no one posts back with a better answer, I'l try to make you some sample code.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Sep 2006 04:52
if you were in 2d
create an array of the text to scroll and write a for loop to scroll through the locations
with a buffer of 5 letters either side of the loop point.


If you were in 3d a quick hack would be
create a texture either with code or by image program
create a 3d plain facing the camera
texture the object and use the scroll object texture command.

Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 10th Sep 2006 19:06
I tried making it but I ran into some problems. I'd try making something else.
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 10th Sep 2006 23:50
I haven't made it into a function, but this is how I would do it.



Fneep
19
Years of Service
User Offline
Joined: 3rd Sep 2005
Location: In my house
Posted: 11th Sep 2006 12:39
Thanx heaps everyone

When life gives you lemons, make orange juice. Then sit back, drink the orange juice, and wonder how the f**k you made orange juice out of lemons.

Login to post a reply

Server time is: 2024-09-25 07:30:05
Your offset time is: 2024-09-25 07:30:05