This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
Author Message
tweekers


Newbie


Joined: 26 Mar 2004
Posts: 47

Posted: 26 Apr 2004 07:43:32 am    Post subject:

ok there is a thing I call Text Animation...
Example:

Code:
ClrDraw
For(A,1,55)
For(B,1,25)
Text(B,A+B," *
End
End


Well how can I make it so that text comes from the top left, right bottom left, right and goes to the middle all at once? Neutral Wacko
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 26 Apr 2004 11:48:48 am    Post subject:

I don't think there is such a position as right bottom left, as the right and left kind of negate eachother.

However, this might help you:

Screen:

Code:
'___        ___
|              |
|0,0       95,0|
|              |
|0,63     95,63|
|___         __|


So, top left is 0,0; top right is 95,0; bottom left is 0,63; and bottom right is 95,63. Keep in mind we can't draw on horizontal line 63 or vertical line 95 without using assembly, and the Text( statement can't draw beyond vertical 57.

*X and Y are flipped in the Text( statement so top right is actually 0,95 for example.

For(X,0,47
int(X(31/47
Text(Ans,X,"*
Text(Ans,94-X,"*
Text(57-Ans,X,"*
Text(57-Ans,94-X,"*
End

The X is the horizontal offset, so it'll run from left to right, or right to left if it's 95-X.

The X(31/47 calculates the vertical offset, which should be somewhat less than the horizontal offset due to the screen not being a perfect square (far from it Smile ) and goes from top to bottom or, in the case of 57-Ans, bottom to top.


Last edited by Guest on 26 Apr 2004 11:55:19 am; edited 1 time in total
Back to top
tweekers


Newbie


Joined: 26 Mar 2004
Posts: 47

Posted: 27 Apr 2004 07:26:47 pm    Post subject:

awesome works great
thanks so much Laughing
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement