Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Raylin

Pages: 1 ... 92 93 [94] 95 96 ... 98
1396
TI-BASIC / Re: The best list compression method?
« on: November 28, 2009, 06:47:35 pm »
Dedicated... addition... matrix...

FFFFFFFFFFF... IDEA.

EDIT: Okay. What if the HP for each army unit was stored in a 8*4 matrix?
Then, the ATK minus DEF of each corresponding unit was stored to another 8*4 matrix?
So, now you have 4 matrices.
If it's the enemy's turn, subtract matrix (A).
If it's your turn, subtract matrix (B).

Bulky, but implementable?

1397
TI Z80 / Re: Interesting...
« on: November 28, 2009, 06:44:15 pm »
Figured out the problem but the game's on hold.
At least until I get around to making the graphics.

1398
TI-BASIC / Re: The best list compression method?
« on: November 28, 2009, 10:09:52 am »
Found a pretty good compression trick.
(Remember, I'm trying to do this all in TI-BASIC. Don't want all my games to require external APPS.)

If you store your list as a string to one of the sequence variables, u, v, w, you can half the size of the entire thing.
Then, if you need to evaluate it, run 'u' and Ans(X where X is the list element.

The only issue with this is the lack of editability if that's a word.

1399
TI-BASIC / Re: The best list compression method?
« on: November 27, 2009, 09:41:21 pm »
I was playing around with some of the other variables.
A matrix (32*3) is exactly 875 bytes.
Now, is there a way to store complex numbers to said matrix?

1400
TI-BASIC / Re: The best list compression method?
« on: November 27, 2009, 07:36:26 pm »
Oooh.
You can double augment?
Cool.

BTW, too many augments.

1401
TI-BASIC / The best list compression method?
« on: November 27, 2009, 07:17:41 pm »
SO.
I have a list of exactly 384 elements.
Said list is ~3900 bytes.
Compressed into complex numbers is ~1950 bytes.

Is there any easily implementable way to make that smaller?

To get said 384 element list:
Code: [Select]
99binomcdf(127,0->L1
augment(L1,L1
augment(Ans,L1->L1
0

1402
TI-BASIC / Re: Text Effect Sequences
« on: November 27, 2009, 10:26:53 am »
Thanks much, DJ.
But, I rather know how to make my own than having a bunch of small used animations.
Any tips on that? :)

1403
TI-BASIC / Text Effect Sequences
« on: November 26, 2009, 10:58:58 am »
Most notably seen in the Illusiat series, I would like to know the sequence of characters needed to create such fluid TI-BASIC animations on the calculator. Just look at a couple screenshots to know what I'm talking about.

1404
TI-BASIC / Re: String to Number... ONE Number.
« on: November 09, 2009, 03:24:30 pm »
Off-hand, what is TLM?
I've seen in in your signature multiple times.

1405
TI-BASIC / Re: String to Number... ONE Number.
« on: November 08, 2009, 09:52:56 pm »
Mine's is a bit larger.
But, it keeps its accuracy after 10 characters and it can be as large as memory allows.
And it supports lower-case letters.

Hopefully, bug-free.
Might be slow.

Credit to me if you use please.

You may use the alternate name Raylin if you need to.

1406
TI-BASIC / Re: String to Number... ONE Number.
« on: November 07, 2009, 12:38:18 pm »
Double-post again. Sorry.

(DJ Omnimaga, if the post is getting marked new, then why is the topic not going up to the top? Why is the time not changing?)

1407
TI-BASIC / Re: String to Number... ONE Number.
« on: November 06, 2009, 10:35:14 pm »
Thanks, man. It's nice to know that I have a wingman on this project.
:)

EDIT: Finished! WOO!
Man, that thing was a beast to accomplish.

You guys want the code?

1408
TI-BASIC / Re: String to Number... ONE Number.
« on: November 06, 2009, 07:00:46 pm »
10^(2X)?

That seems like a bit much. Care to explain?

And, yes, it represents the little scientific E. :p

EDIT: Oh. Ha. I'm a retard. I get it.

EDIT 2: YES! Encoding finished! Working on decoding.

EDIT 3: Having issues with decoding.

Code: [Select]
"?->Str1
For(X,1,dim(L1
DelVar (theta)DelVar BL1(X->A
Repeat B
If not(int(10^((theta))(exponent -1)A
1->B
Pause (theta)
(theta)+1(not(B->(theta)
End
For(C,(theta)-2,0,-2
27+(C<0)int(10^(C)(exponent -1)A->D
Pause D
Str1+sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ_",D,1->Str1
fPart(10^((theta)-2)(exponent -1)A->A
End
End
"sub(Str1,2,length(Str1)-1
Pause Str1

Do you see what I'm trying to do here?
It refuses to work though.
What am I missing here?

1409
TI-BASIC / Re: String to Number... ONE Number.
« on: November 06, 2009, 06:16:19 pm »
Hmm...

expr(sub("E14E12E101E81E61E41E2",3X-2,3))inString("ABCDEFGHIJKLMNOPQRSTUVWXYZ",sub(Str1,X,1)) ?

1410
TI Z80 / Re: Interesting...
« on: November 06, 2009, 05:08:10 pm »
Why, thanks.
I have some progress on it now.
But, I need to figure out how to convert a string to a single number and back again in order to continue.

Pages: 1 ... 92 93 [94] 95 96 ... 98