Author Topic: Text( scrolling  (Read 6084 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Text( scrolling
« 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...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
Text( scrolling
« Reply #1 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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Text( scrolling
« Reply #2 on: December 09, 2006, 05:23:00 am »
will this be like rivereye's magic menu?

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Text( scrolling
« Reply #3 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.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Text( scrolling
« Reply #4 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?

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Text( scrolling
« Reply #5 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.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline rivereye

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 996
  • Rating: +0/-0
    • View Profile
Text( scrolling
« Reply #6 on: December 09, 2006, 08:08:00 am »
Um, tifreak8x, my Magic Menu is on the graphscreen.
>(<')

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Text( scrolling
« Reply #7 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
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Text( scrolling
« Reply #8 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

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Text( scrolling
« Reply #9 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
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Text( scrolling
« Reply #10 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

Offline rivereye

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 996
  • Rating: +0/-0
    • View Profile
Text( scrolling
« Reply #11 on: December 09, 2006, 11:42:00 am »
hmm, I might implement this for my RPG.
>(<')

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Text( scrolling
« Reply #12 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...
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

elfprince13

  • Guest
Text( scrolling
« Reply #13 on: December 09, 2006, 04:32:00 pm »
yay looking pwnsome

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
Text( scrolling
« Reply #14 on: December 09, 2006, 04:33:00 pm »
Nice work!