Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: tifreak on December 09, 2006, 04:28:00 am

Title: Text( scrolling
Post by: tifreak on December 09, 2006, 04:28:00 am
Well, I am going to attempt to create a program that will allow a person to scroll up and down to up to 200 items or so. Well, it will be dynamic enough to go to whatever, but that is besides the point. :Ptongue.gif

My idea is to have it set a variable for the length of each word in a string, and start out at the top, of course, and watch where the cursor itself goes. It will then have to make sure it starts scrolling the text itself when it reaches the bottom/top.

I have a rough idea on how I want to do this, and I think I have all the checking systems thought out in my head... Does this seem like a good idea for any of you, and would you like to see this done?

If it works well enough, I would like to use it for the pokedex system for pokemon purple...
Title: Text( scrolling
Post by: bfr on December 09, 2006, 05:15:00 am
Try to make it so that users can scroll down the the bottom of the list automatically and/or scroll 10 items at a time to make it so that scrolling through 200 items isn't too slow.  :)smile.gif

You can base your code off of the vertical scrollbar program from http://www.ticalc.org/archives/files/fileinfo/391/39190.html, if you want (this actually isn't the latest version of Text Tools, but www.ticalc.org still hasn't added the newer version to the archives...after about three weeks).

Here's a screenshot of the scrollbar program, so you can see if you are, or aren't, looking for something like this:

user posted image
Title: Text( scrolling
Post by: DJ Omnimaga on December 09, 2006, 05:23:00 am
will this be like rivereye's magic menu?
Title: Text( scrolling
Post by: tifreak on December 09, 2006, 05:25:00 am
Well, this is on the graphscreen, so I dont think that will help me in any way.

I have it set up displaying wise, I just have to program in the getkey routines.
Title: Text( scrolling
Post by: DJ Omnimaga on December 09, 2006, 05:26:00 am
I wonder how fast this will run. maybe you could make it scroll 7 items when it reach the bottom/top or something like this?
Title: Text( scrolling
Post by: tifreak on December 09, 2006, 05:32:00 am
I am going to try it line by line first, and then maybe 9 items at a time.
Title: Text( scrolling
Post by: rivereye on December 09, 2006, 08:08:00 am
Um, tifreak8x, my Magic Menu is on the graphscreen.
Title: Text( scrolling
Post by: tifreak on December 09, 2006, 09:00:00 am
user posted image

I got mine to work, though it needs the ability to clear the lines as it scrolls...

Quite the accomplishment, if I do say so myself... :Dbiggrin.gif
Title: Text( scrolling
Post by: DJ Omnimaga on December 09, 2006, 09:29:00 am
wow nice, i thought it would be slower, but there seems to be a lil glitch x.x
Title: Text( scrolling
Post by: Halifax on December 09, 2006, 09:50:00 am
to clear lines idk if this is possible but when displaying the text display some spaces after it. But like I said I don't know if that is possible with however your programming it
Title: Text( scrolling
Post by: DJ Omnimaga on December 09, 2006, 11:01:00 am
hmm from what i hear don irc he is fixing it atm, apparently it run wicked sweet on ti 83+SE
Title: Text( scrolling
Post by: rivereye on December 09, 2006, 11:42:00 am
hmm, I might implement this for my RPG.
Title: Text( scrolling
Post by: tifreak on December 09, 2006, 03:28:00 pm
user posted image

Got it to not have the garbage on the screen anymore... The only downside to doing it this way is that nothing can be to the side of the options, it has to all be under or above it...
Title: Text( scrolling
Post by: elfprince13 on December 09, 2006, 04:32:00 pm
yay looking pwnsome
Title: Text( scrolling
Post by: bfr on December 09, 2006, 04:33:00 pm
Nice work!
Title: Text( scrolling
Post by: DJ Omnimaga on December 09, 2006, 04:48:00 pm
i see now, at least it look nice
Title: Text( scrolling
Post by: tr1p1ea on December 10, 2006, 02:24:00 am
Yay you showed me the screenie on IRC, but i didnt get a chance to see the one with the clearing. Its very nice! :Dbiggrin.gif.
Title: Text( scrolling
Post by: tifreak on December 10, 2006, 10:43:00 am
Thank you tr1p. ^_^

Here are two more screenies, with a small addition to them ;)wink.gif

user posted imageuser posted image

I still need to do page scrolling, and then I think it will be pretty much done. :)smile.gif
Title: Text( scrolling
Post by: DJ Omnimaga on December 10, 2006, 10:50:00 am
wow i like it, i prefer second one
Title: Text( scrolling
Post by: tifreak on December 10, 2006, 04:48:00 pm
wow, lol, you are the first one to say the fat arrows, everyone else so far has said the skinny ones. :)smile.gif

I will release it with both though, so a person can choose what they want...
Title: Text( scrolling
Post by: DJ Omnimaga on December 11, 2006, 02:13:00 am
hah lol I would be surprised if people has most opinions similar to me x.x
Title: Text( scrolling
Post by: tifreak on December 11, 2006, 05:44:00 am
Well, Kerm likes the fat one as well, so you aren't alone. ;)wink.gif

Anyways, I will attempt to make the selection system work today. This ought to be fun... <.<
Title: Text( scrolling
Post by: DJ Omnimaga on December 11, 2006, 06:07:00 am
aah ok :)smile.gif
Title: Text( scrolling
Post by: tifreak on December 12, 2006, 03:13:00 am
Topic moved to the misc projects forum, as this will be released here shortly with a readme, once I get my laptop started up...
Title: Text( scrolling
Post by: tifreak on December 12, 2006, 05:38:00 pm
little bit of an update:

I have gotten the program ready for the ability to select and option, I just have to decide how I want that part to work for pokemon. :)smile.gif

I am getting ready to work on page by page scrolling, and will also add the arrows that go from side to side. I will hopefully have a new screenshot up by Thursday.
Title: Text( scrolling
Post by: DJ Omnimaga on December 13, 2006, 03:11:00 am
oh nice, feel free to post it in the TI programming tool section of Staff programs and upload it with ftp when finished :)smile.gif
Title: Text( scrolling
Post by: tifreak on December 14, 2006, 03:20:00 am
Well, I got page by page scrolling working, screenshot coming in approx 3 hours (basically, my lunch time, when I can go home, get my computer started, and load the stuff.)

Also, I thought you would like to know, the program is *still* under 1k (533 bytes to be exact) :)smile.gif
Title: Text( scrolling
Post by: DJ Omnimaga on December 14, 2006, 03:50:00 am
wow nice :)smile.gif
Title: Text( scrolling
Post by: tifreak on December 14, 2006, 08:41:00 am
user posted image

0wn3d! :Ptongue.gif
Title: Text( scrolling
Post by: DJ Omnimaga on December 14, 2006, 02:14:00 pm
wow nice, you got page by page scrolling now!