I'm interested in moving D3D text in my menu. (Example of what I mean will be given)
it's something similar to this:
HTML Marquee Code
I am interested in:
Continuous scrolling text
and
Text Scrolling Upwards (mostly this)
(two methods in the link above)
How do you make it so that if you navigate up your menu, a certain amount of text/features shows up in the box you draw?
ex in internet browsers:
if you scroll up or down, certain parts of the pages are covered, or hidden. That is similar to what I want to know. How do you do that in D3D?
(Let's say there's 15 features in this menu, the box is big enough to show 5 at a time.)
if I were to draw it as usual (the way I currently do), the text would overlap out the box.
Visual representation of what I wish to achieve:
-----------------
Hack1
Hack2
Hack3
Hack4
Hack5
-----------------
I press down to navigate now, Hack1 will be hidden from view and Hack6 will be shown along with 2-5.
-----------------
Hack2
Hack3
Hack4
Hack5
Hack6
-----------------
I press down again, Hack2 will be hidden from view, and Hack7 will be shown along with 3-6.
-----------------
Hack3
Hack4
Hack5
Hack6
Hack7
-----------------
How do you do this?
(Sorry if this is so redundant, I didn't have a clear way to explain this :/ )