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 / dbp-scrolling text?

Author
Message
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 31st Mar 2008 18:49
im trying to do a credit style scrolling text.

Can anybody help me with this, the text does not need to fade, or change colour, just go from the top, to the bottom and off the page.


I think we should me a whole thread called 'help dan'...i need it

im just going to read through some tutorials to see if anything can help me

thanks in advance
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 31st Mar 2008 19:50 Edited at: 1st Apr 2008 11:31
I've not tested this as im at work, (Nothing to do), but i think it should work



Everyone Be Cool, You, Be Cool.
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 31st Mar 2008 20:18
declaration name 'width()/2' is not valid at line 1

...what ever that means
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 31st Mar 2008 23:37
Just replace the first two lines with it's equivalent expanded-out version:


Then press the space bar to see the scrolling message. It's a bit fast, but I'm sure you can fix it

dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 31st Mar 2008 23:41
ah, thanks both of you, thats exactly what im looking for, i edited it so you dont have to press spacebar
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 1st Apr 2008 11:11 Edited at: 1st Apr 2008 11:33
Ian - Thanks, I dont have DarkBasic installed here at work to test it, but i should have noticed that, I've corrected the code above now

dan958 - This is a very basic version, But with practice you should be able to expand on it to suit your purpose more

Everyone Be Cool, You, Be Cool.
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 1st Apr 2008 17:31
thanks MSon and ian, i have already changed the code so i dont have to press space bar, and im changing the speed now.
thanks alot
dan958
16
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 1st Apr 2008 20:21
cant change the speed any lower :S,

the bit i am changing i can only make go faster

when i put -1 or 0.90, nothing shows.

Login to post a reply

Server time is: 2024-11-25 06:54:55
Your offset time is: 2024-11-25 06:54:55