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

Author
Message
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 6th Jun 2003 06:33 Edited at: 6th Jun 2003 06:36
I need some help with scrolling text.
I know how, but it is pretty klunky!
How would I fix this?
If anyone could provide help it would be greatly appreciated!!!

----Mattman
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 6th Jun 2003 06:39
This is how I am doing it if anyone wants to know:

----Mattman
Great Knight
21
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 6th Jun 2003 07:43


There you go

AMD Atherlon 2400+ XP, 380 DDr memeory, ATI Radeon 9000 64 DDR.

And a Katana.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 6th Jun 2003 11:19
here with no flickering


ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 6th Jun 2003 16:52
Thanks Guys!!!

----Mattman
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 6th Jun 2003 17:46 Edited at: 6th Jun 2003 17:46
New Problem :-s
How would I have multible lines of scrolling text(using ReD_eYe's strategy)?

)

Please help me!

----Mattman
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 6th Jun 2003 19:48
depends, do you want them all to be going at the same speed and in line with each other??? here's some examples


all that does is position the text in different places based on where the original piece is.



this one allows you to have greater control as you can change the speed for each one, but it uses alot of variables.



this uses an array, this would be the best way as theres less code but arrays are hard to understand if your new to programming
hope that helps

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
LoKiDeCaT
22
Years of Service
User Offline
Joined: 28th Aug 2002
Location: United States
Posted: 6th Jun 2003 20:44
Here's one that lets you write the story into a TXT file and then let it fade-in, fade-out on the screen.



Loki D'Cat - Modeller, Composer, Animator
Nerdsoft Creations
Machine Specs: Athlon XP1800+, ATi Radeon 8500 64mb, 1GB RAM, Windows 2000 AdvSvr
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 00:51
I want it to be two lines at a time, so like:
I'm
Scrolling

then when that goes away...

Hello
again

etc.

Get what I'm sayin' ?
btw LoKiDeCaT, I want it to scroll, not fade

----Mattman
LoKiDeCaT
22
Years of Service
User Offline
Joined: 28th Aug 2002
Location: United States
Posted: 7th Jun 2003 01:20
Ahh, well it scrolls up.. but it does the Star-Wars thing where at the bottom of the screen it's darker, gets lighter as it reaches the center o the screen.. then fades off as it scrolls off the top of it.

Hmm.. well Gl anyways.

Loki D'Cat - Modeller, Composer, Animator
Nerdsoft Creations
Machine Specs: Athlon XP1800+, ATi Radeon 8500 64mb, 1GB RAM, Windows 2000 AdvSvr
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 01:28 Edited at: 7th Jun 2003 01:45
Ahh...I see!

Thanks anyways
Mattman

Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
---Andy Rooney
LoKiDeCaT
22
Years of Service
User Offline
Joined: 28th Aug 2002
Location: United States
Posted: 7th Jun 2003 01:44
GL=good luck

Loki D'Cat - Modeller, Composer, Animator
Nerdsoft Creations
Machine Specs: Athlon XP1800+, ATi Radeon 8500 64mb, 1GB RAM, Windows 2000 AdvSvr
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 01:47 Edited at: 7th Jun 2003 06:46
thx all

Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
---Andy Rooney
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 06:19
Hey LoKiDeCaT,
I'm usin' your way now (seems cool) but when i get to the colorfind function, it says "ran into function decleration"
what does that mean?
plz help LoKiDeCaT or anyone else!

Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
---Andy Rooney
LoKiDeCaT
22
Years of Service
User Offline
Joined: 28th Aug 2002
Location: United States
Posted: 7th Jun 2003 07:03
Hmm.. Unsure. I'll have Kensu look at it.

If your text is longer than 120, you have to DIM Story$ larger (but I doubt it is.. )

erhm..

Loki D'Cat - Modeller, Composer, Animator
Nerdsoft Creations
Machine Specs: Athlon XP1800+, ATi Radeon 8500 64mb, 1GB RAM, Windows 2000 AdvSvr
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 7th Jun 2003 15:37
that means that the program has exited the main while endwhile loop and found the function colorfind part of code, it doesn't like this so it errors out.just put a do loop after the endwile and it will stay in the program

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 7th Jun 2003 16:01
I'll try
thx!!!

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Jun 2003 03:28
k LoKiDeCaT I'm now usin' your way, fixed the previous error, but now, how would I exit it? I want to goto the menu from this, but when i got it to go there, my menu flickers How can i fix this?

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Jun 2003 13:08
what code are you using for your menu??? you might just need a sync command or something??

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Jun 2003 17:57
It's 2 long 2 post, but it is an edited version of the menu in the new binarymoon tutorials

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Jun 2003 19:44
no i don't think that particular error is caused by using variables, it means that while reading the code it found a function which it shouldn't do. what binary moon tutorial???

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Jun 2003 19:46
The one here:
[href]http://www.darkbasic.com/create/bm_tutorials/
[/href]

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 8th Jun 2003 19:54
cool new tutorials, if its an edited version of it then thats probably your problem try using all of the code then taking away what you don't need until you get it, although while working on a game with someone else, he'd done a menu and sent it too me and it flickered alot, but it worked fine on his, we were both using classic and couldn't find the problem, but it did work for me if i compiled it into an .exe

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 8th Jun 2003 20:13
By edited, I mean I changed the goto commands and the options, 'cause I have 5, not 4

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney

Login to post a reply

Server time is: 2024-11-24 16:43:38
Your offset time is: 2024-11-24 16:43:38