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 Professional Discussion / Amiga style text scroller

Author
Message
Luca91
11
Years of Service
User Offline
Joined: 1st Sep 2012
Location: Italy
Posted: 25th Jan 2013 22:43 Edited at: 25th Jan 2013 23:35
Hello mates,
I'm sure that some months ago I saw a tutorial on how to create an Amiga style text scroller (sinus), but I can't find it anymore.

Can anybody remember the function to do this text scroller ?

Thanks
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jan 2013 07:46 Edited at: 26th Jan 2013 07:55
Can you find a video clip on youtube of what you mean?

I'll take a guess and say something like this?



"You're not going crazy. You're going sane in a crazy world!" ~Tick
Luca91
11
Years of Service
User Offline
Joined: 1st Sep 2012
Location: Italy
Posted: 26th Jan 2013 07:59
This is exactly what I was looking for Thank you very much
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jan 2013 08:27 Edited at: 26th Jan 2013 08:50
Oh I'm not done yet, I have one with fading colors Just gimme another minute.


Also attempted to make the text wrap around the screen edges. It's not perfect, I'm trying to figure out why there's a small stutter in it when it finishes wrapping.



"You're not going crazy. You're going sane in a crazy world!" ~Tick
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Jan 2013 20:30 Edited at: 26th Jan 2013 20:34
Found it!


I added a wrap() function as I don't have that command.

Meanwhile...
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jan 2013 22:47
I see what you corrected. But oddly, your wrap function I think is technically incorrect.

If my boundaries are 10 and 200, and I input 250, your function would return 10. But shouldn't it be 60? (although I just tested it and the Matrix1Util wrap function returns 59)

"You're not going crazy. You're going sane in a crazy world!" ~Tick
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Jan 2013 08:06 Edited at: 27th Jan 2013 08:07
[oops]

Meanwhile...
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Jan 2013 08:07
Yes you are right, that didn't occur to me at the time. I was too busy trying to beat you to it.

Meanwhile...

Login to post a reply

Server time is: 2024-04-24 03:31:10
Your offset time is: 2024-04-24 03:31:10