Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
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 Your Projects 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. Final Fantasy => Your Projects
Author Message
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 13 May 2005 08:00:14 pm    Post subject:

code update!

old graphics engine

Code:
While Z1000
getKeyK
If K=21
Then
If A=23 and (B=56 or B=53)
Goto AS

End
If (K=24 and B-30)
Then
pxl-Test(A,B-3C
If C=0 and B-393
Then
Pxl-Off(A,B
Pxl-Off(A+1,B
Pxl-Off(A+2,B-1
Pxl-Off(A+2,B+1
Pxl-Off(A-2,B
Pxl-Off(A,B-1
Pxl-Off(A,B+1
B-3B
End
End


If K=26 and B+394
Then

pxl-Test(A,B+3C
If C=0 and B+392
Then
Pxl-Off(A,B
Pxl-Off(A+1,B
Pxl-Off(A+2,B-1
Pxl-Off(A+2,B+1
Pxl-Off(A-2,B
Pxl-Off(A,B-1
Pxl-Off(A,B+1
B+3B
End
End


If K=25 and A-31
Then
pxl-Test(A-3,BC
If C=0 and A63
Then
Pxl-Off(A,B
Pxl-Off(A+1,B
Pxl-Off(A+2,B-1
Pxl-Off(A+2,B+1
Pxl-Off(A-2,B
Pxl-Off(A,B-1
Pxl-Off(A,B+1
A-3A
End
End

Text(1,1,A
Text(8,1,B
If K=34 and A+360
Then
pxl-Test(A+3,BC
If C=0
Then
Pxl-Off(A,B
Pxl-Off(A+1,B
Pxl-Off(A+2,B-1
Pxl-Off(A+2,B+1
Pxl-Off(A-2,B
Pxl-Off(A,B-1
Pxl-Off(A,B+1
A+3A
End
End


If R0
Then
Pxl-On(A,B
Pxl-On(A+1,B

Pxl-On(A+2,B-1

Pxl-On(A+2,B+1
Pxl-On(A-2,B

Pxl-On(A,B+1
Pxl-On(A,B-1
End


new code

Code:
For(Z,5,9
While Z

If K0
Then
Pxl-Off(A,B
Pxl-Off(A+1,B
Pxl-Off(A+2,B-1
Pxl-Off(A+2,B+1
Pxl-Off(A-2,B
Pxl-Off(A,B-1
Pxl-Off(A,B+1
End







If K=24 and (pxl-Test(A,B-3)=0 and B5
B-3B

If K=26 and (pxl-Test(A,B+3)=0 and B89
B+3B

If K=34 and (pxl-Test(A+3,B)=0 and A59
A+3A
If K=25 and (pxl-Test(A-3,B)=0 and A5
A-3A
getKeyK

Pxl-On(A,B
Pxl-On(A+1,B
Pxl-On(A+2,B-1
Pxl-On(A+2,B+1
Pxl-On(A-2,B
Pxl-On(A,B-1
Pxl-On(A,B+1


NOTE- this is why the game is taking so long, i keep finding better ways to do stuff
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 13 May 2005 08:46:02 pm    Post subject:


Code:
   A+3((K=34)-(K=25->C
   B+3((K=26)-(K=24->D

   If not(pxlTest(C,D)) and C5 and C59 and D5 and D89
   Then
   C->A:D->B
   End
Back to top
alexrudd
pm me if you read this


Bandwidth Hog


Joined: 06 Oct 2004
Posts: 2335

Posted: 13 May 2005 09:29:53 pm    Post subject:

Move that not((pxltest)) to the end and you can take off 2 parenthesis.
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 13 May 2005 09:39:56 pm    Post subject:

[font="courier new"]If X≠0 can always become [font="courier new"]If X.
Similarly, [font="courier new"]If X=0 can always become [font="courier new"]If not(X.
These two rules become useful when applied to [font="courier new"]pxl-Test(.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 14 May 2005 09:22:45 am    Post subject:

Oh, so that's what that was!! I was trying to optimize without ever needing to know what it was, but...
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 14 May 2005 01:06:37 pm    Post subject:

There are two ways to interpret the symbols, and both provide that you have either TI-Graph Link or its associating fonts installed. The first says you go open up TI-Graph Link and paste the code there. The second, use any text editor to view the code with the proper font enabled.

A comparison of Courier New to Ti83Pluspc





Last edited by Guest on 25 Sep 2006 06:47:17 pm; edited 1 time in total
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 14 May 2005 04:16:25 pm    Post subject:

The third way requires about 10 seconds of work from the poster and involves using the find and replace feature.
Back to top
MissingIntellect


Member


Joined: 01 Jun 2004
Posts: 227

Posted: 16 May 2005 03:06:01 pm    Post subject:

Yep, the TIs have almost an exact ASCII character set, only a few characters are different (mainly the useless control characters)
Back to top
aforsy
the leaping penguin


Active Member


Joined: 13 Jul 2004
Posts: 653

Posted: 17 May 2005 02:59:49 pm    Post subject:

what's the difference in Ti83Pluspc between the two 's? [thank you for your signature, supergoose!] one is shifted to the right and one to the left, but what is the difference in function?

Last edited by Guest on 17 May 2005 03:01:06 pm; edited 1 time in total
Back to top
MissingIntellect


Member


Joined: 01 Jun 2004
Posts: 227

Posted: 17 May 2005 03:27:00 pm    Post subject:

aforsy wrote:
what's the difference in Ti83Pluspc between the two 's? [thank you for your signature, supergoose!] one is shifted to the right and one to the left, but what is the difference in function?
[post="50554"]<{POST_SNAPBACK}>[/post]

I belive on is the cubed and the other is the sort of superscript 3.
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 17 May 2005 03:32:02 pm    Post subject:

Quote:
thank you for your signature, supergoose!
No problem. :D

Check out the difference between [MATH] [3] and [MATH] [4].

[EDIT]

Wait, that doesn't explain the third superscript 3. :|

[EDIT]

Okay, the Ti83Pluspc font diverges from the calculator's internal fontset in a number of ways. In computers, the position of one of the 3's is standard; the other two match more closely the placements in the calculator fonts.


Last edited by Guest on 17 May 2005 03:44:45 pm; edited 1 time in total
Back to top
aforsy
the leaping penguin


Active Member


Joined: 13 Jul 2004
Posts: 653

Posted: 21 May 2005 03:27:18 pm    Post subject:

same for the two superscript two's, i assume.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 21 May 2005 04:47:49 pm    Post subject:

The 83+ fontset is messed up in a variety of ways. For example, on accented capital E's, the accent switches direction in the small font; what should have been [ is theta; and the token for one of the accented i's is randomly out of place.
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 GMT - 5 Hours

 

Advertisement