If you ever used Winamp or some other media player that scrolls the title around as it cannot fully fit in the area drawn, you'll understand what I mean here.
I know there's functions to return a certain amount of characters from the left or right of the string as well as the middle, is this enough functionality to beable to perform what I want to do here?
For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
Is it possible to marquee like scroll text that is too large in width to fit a area?
- スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Is it possible to marquee like scroll text that is too large in width to fit a area?
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
- BobIsUnreal
- OldUnreal Member
- Posts: 805
- Joined: Mon Apr 12, 2010 12:34 am
Re: Is it possible to marquee like scroll text that is too large in width to fit a area?
begin:
title = " NOW PLAYING - \"HAPPY GROOVE\" - BY SOFTWARE -";
timer:
myChar = String.Left(title, 1);
title = String.Right(title, (String.Length(title)-1));
title = title..myChar;
titleText = String.Left(title, 20);
title = titleText;
need to play with this slightly , its not in uscript
title = " NOW PLAYING - \"HAPPY GROOVE\" - BY SOFTWARE -";
timer:
myChar = String.Left(title, 1);
title = String.Right(title, (String.Length(title)-1));
title = title..myChar;
titleText = String.Left(title, 20);
title = titleText;
need to play with this slightly , its not in uscript
- スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Re: Is it possible to marquee like scroll text that is too large in width to fit a area?
I think I understand this now, thanks.
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
- han
- Global Moderator
- Posts: 686
- Joined: Wed Dec 10, 2014 12:38 am
Re: Is it possible to marquee like scroll text that is too large in width to fit a area?
Setting OrgX/OrgY/ClipX/ClipY on Canvas and drawing the string twice with DrawTextClipped should also work.
- スマイル・ドラゴン
- OldUnreal Member
- Posts: 1263
- Joined: Sun Feb 10, 2008 9:07 pm
Re: Is it possible to marquee like scroll text that is too large in width to fit a area?
Canvas Clipping sounds like a interesting method too, isn't that how the Translator text is contained?
I am the dragon without a name.
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil
Ðàrk-_¦_-Ñïght.: / κυνικός Δράκων / スマイル・ドラゴン / Draco Nihil