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 - meishe91

Pages: 1 ... 16 17 [18] 19 20 ... 207
256
TI Z80 / Re: The 4th Dimension
« on: January 11, 2011, 02:07:21 pm »
What language will this be written in?

257
TI-BASIC / Re: Word Encoding/Decoding
« on: January 11, 2011, 01:51:38 pm »
@Holmes
Did this help at all?

258
TI-BASIC / Re: Word Encoding/Decoding
« on: January 07, 2011, 08:58:52 pm »
Ya, that seems like a pretty easy task actually. To go from letter to number you something like Graphmastur said:

Code: [Select]
{4,4→dim([A] \\Using your matrix idea as a basis. I don't know how you have things set up though.
1→B
1→C
For(A,1,length("ABCDFGHIJKLMNOPQ
inString("ABCDEFGHIJKLMNOPQRSTUVWXYZ",sub(Str1,A,1→[A](B,C
B+1-4(B=4→B
C+(B=1→C
End

And to go from number to letter:

Code: [Select]
"_ \\The underscore symbolizes a space.
For(A,1,4
For(B,1,4
Ans+sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ",[A](A,B),1
End
End
sub(Ans,2,length(Ans)-1→Str1

Those both should work, but I just made them on the spot and didn't test them. You might have to flip some things around but the principle remains the same.

259
TI-BASIC / Re: Word Encoding/Decoding
« on: January 07, 2011, 06:02:06 pm »
What do you mean?

260
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 06, 2011, 03:39:26 am »
You could have connected the collision detection routine to the moving routine, so when you move at more than one pixel at a time it adjusts the collision to detect the correct ones. At least in theory I think that would work.

261
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 06, 2011, 01:25:37 am »
Well wouldn't it still be the same plot sprite just a different graph type?

262
TI-BASIC / Re: Unique Pure BASIC Scrolling Tilemapper
« on: January 05, 2011, 09:52:03 am »
Well sub( is only usually slow if you're recalling a bit into a very long string. Otherwise I've always noticed it being pretty decently fast.

263
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 01:26:12 am »
Thanks :)

264
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 01:20:48 am »
Ya, that's why I have the If XY>999 line in mine. But I should change it to something else really haha.

Edit:
Code: [Select]
DelVar CPrompt X,Z
For(A,0,Z-1
For(B,0,X-1
If pxl-Test(B,A
Then
C+1→C
If C>999
Stop
-B→L2(C
A→L1(C
End
End
End

There, that should be better :P

Edit:
Shaved off a byte :P

265
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 01:01:19 am »
Ok, made one real fast to maybe help or something. It isn't a big program, just a program that converts something in the top left corner.

Note:
I just made this with zero stored to Xmin and Ymax, ninety-four stored to Xmax, and negative sixty-two stored to Ymin since that is what my calculator always has.

Code: (Picture to List) [Select]
Prompt X,Z
1→C
If XZ>999
Stop
For(A,0,Z-1
For(B,0,X-1
If pxl-Test(B,A
Then
-B→L2(C
A→L1(C
C+1→C
End
End
End

All it does is take a picture that starts at coordinates (0,0) and goes stores pixels to list one and list two. The input at the beginning for X and Z is the dimensions of the image, I use Z instead of Y to avoid bugs in the program.

If you want to use said image in a program but it isn't starting at (0,0) then just find out where you want it to start and do this on the homescreen:

Code: [Select]
X+L1→L1
Y+L2→L2

266
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 12:35:27 am »
Ah ok. Well it honestly probably wouldn't be to hard to create a simple program to do that. I'll try to make one real fast.

267
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 12:23:01 am »
Oh, sorry. I've never heard of a program that does that though I don't think it would be very hard to make, only thing is that the lists would get really big depending on what you're storing. I did make a Line Compression program for MRide a while ago (that I posted in it's own topic too) if you wanna look at that.

If I understand correctly you just want to take a image, run the program, and it converts the image into a list that contains the coordinates of each pixel?

268
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 12:15:31 am »
A utility for doing what?

And ah, just forgot the "Differences" part. Thanks.

269
TI-BASIC / Re: Ti-Basic Custom Graphics
« on: January 05, 2011, 12:07:38 am »
Well there is also Builder's Serenity, Portal, Shift (though that uses xLib I believe), Peggle, Six (I think that's what it's called), and Spider. Also Z has Exodus and has been making a game called Elmgon. There is Donut Quest II. I don't know if those are what you meant but it sounds like those fall into what you asked for.

270
TI-BASIC / Re: Unique Pure BASIC Scrolling Tilemapper
« on: January 03, 2011, 06:42:48 pm »
Looks cool. I'll check it out sometime soon hopefully. What do you mean though by it uses pictures as source?

Pages: 1 ... 16 17 [18] 19 20 ... 207