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 / Could anyone please help, with scrolling text !

Author
Message
Ant
20
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 8th Jan 2006 21:28
Hi all

Just wondering if you guys would be able to shed some light on scrolling text. At the moment I've only managed to figure out the very basics, and that was with previous help.

What I would like to do, is spice it up a bit, like the old Amiga demo days : ) I would like it wavy, maybe stop on specific words, and possibly use bitmap fonts, any advice would be greatly apprieciated, but I must stress I am still new to this and would need everything broken down and explained.

Thanks Ant
Ant
20
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 8th Jan 2006 21:37
Zedane
20
Years of Service
User Offline
Joined: 3rd Nov 2004
Location: Milky Way, Earth
Posted: 8th Jan 2006 21:40
There is an awesome example, at the start wars trench runner remake. find it here :http://forum.thegamecreators.com/?m=forum_view&t=64911&b=5. No source so it should be a copy and learn kinda thing .


around here.. normal's just a setting on a hair dryer
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 8th Jan 2006 21:52
You could use two things :

1)text command , place it`s x or y into a string , and make string to increase itselve constantly

2)the same only using print command and set cursor instead text.


Bob Joe Sam Tom
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location:
Posted: 8th Jan 2006 22:11
If you used bitmap fonts, wouldn't you have to load a pic for your letters, and divide them into sprites?

Somehow, I think it would be easier to just use the text commands.

I am the Placebo
www.placebosw.com
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 8th Jan 2006 22:31
or (a silly way) make the whole text in one bmp , make it sprite , move it..

or sentances..


BillR
22
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 9th Jan 2006 22:51
Hi Ant,

I am working on a scrolling text routine for you, should be finished later tonight.

A little complex, but really cool.

Here is a version that works, but not finished yet.



Still left to do:
1) Snaking text
2) more than 1 type of animation per word
3) preserving spaces (gaps) in sentences
4) anything else I can think of today, time permitting

Hope you like it so far
Bill
BillR
22
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 9th Jan 2006 23:16 Edited at: 10th Jan 2006 03:26
Here is a new version with Snaking, wavy text working.

HowDo
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 10th Jan 2006 12:17
BillR, great and code looks easy when youn know what your doing.

Hope you put in code base so if we search scrolling text we find this one.

I'm not getting you down am I, Ho Look! another fancy Door?
Flashing Blade
22
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 10th Jan 2006 14:11
The menu on my game 'Ant Academy' has a tetro scroller using a bitmap font
Try it:
http://www.btinternet.com/~mikenmaz/antacademy.zip

If you like it,let me know and I'll give you the source.


The word "Gullible" cannot be found in any English Dictionary.
Agent Dink
21
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 11th Jan 2006 07:06
Hey, Flashing Blade... were you ever at the 3drad forums? Your Flashing Blade Software logo looks really familiar...

www.badpicsofmatt.tk
www.silver-dawn.net
Flashing Blade
22
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 11th Jan 2006 10:44
Quote: "Hey, Flashing Blade... were you ever at the 3drad forums? Your Flashing Blade Software logo looks really familiar..."


Never been to 3Drad forums.

As for the logo, the badge thing in it which is also my avator you probably seen if you ever watched the best football team ever:

http://www.port-vale.co.uk


The word "Gullible" cannot be found in any English Dictionary.
Ant
20
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 11th Jan 2006 19:54
Well what can I say, apart from a big thank you to BillR, You have certainly given me something to think about, I'm still new to this, so your code looks a little bewildering, but I will study it, and I'm sure I will learn alot from it. Thanks !

Flashing Blade, I tried your game, and wow its fantastic, the scrolling text looks good, and yes I would appreciate the source code. A big thank you to everyone who submitted a suggestion, keep them coming, I would apprecite all the code I can get.

Login to post a reply

Server time is: 2025-06-12 11:01:22
Your offset time is: 2025-06-12 11:01:22