Omnimaga

Calculator Community => Discontinued => Major Community Projects => Correlation => Topic started by: Hot_Dog on November 13, 2010, 01:08:24 pm

Title: Correlation Screenshots
Post by: Hot_Dog on November 13, 2010, 01:08:24 pm
This screenshot shows how Correlation helps you to find errors in your Ti-Basic program.  I started writing the code to let the user select what font to use.  In the case of this screenshot, the font is pgrmP.  However, pgrmP does not exist.
Title: Re: Correlation Screenshots
Post by: Munchor on November 13, 2010, 01:13:10 pm
[a bit offtopic]


(http://www.omnimaga.org/index.php?action=dlattach;topic=5303.0;attach=4444;image)

Finally, someone working on fonts for calculators, I'd like to see this in KnighOS or maybe in TIos already.


[/a bit offtopic]
Title: Re: Correlation Screenshots
Post by: squidgetx on November 13, 2010, 01:14:48 pm
Woah, nice safety mechanism, Hot_Dog. It's very intuitive ;)
Title: Re: Correlation Screenshots
Post by: ztrumpet on November 13, 2010, 01:25:45 pm
Nice!  Great job! ;D
Title: Re: Correlation Screenshots
Post by: Deep Toaster on November 13, 2010, 01:27:52 pm
This screenshot shows how Correlation helps you to find errors in your Ti-Basic program.  I started writing the code to let the user select what font to use.  In the case of this screenshot, the font is pgrmP.  However, pgrmP does not exist.

Nice! And as a side question, how are the fonts stored? Will they be compatible with the Omnicalc fonts?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 13, 2010, 01:28:54 pm

Nice! And as a side question, how are the fonts stored? Will they be compatible with the Omnicalc fonts?

They are stored as programs and will not be compatible.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on November 13, 2010, 01:36:03 pm
Nice Hot Dog! By the way can the fonts be archived?
Title: Re: Correlation Screenshots
Post by: FinaleTI on November 13, 2010, 01:37:34 pm
Nice Hot Dog! By the way can the fonts be archived?
^++ This.

That was the major problem I had with Omnicalc's fonts. They had to be in the RAM.
Title: Re: Correlation Screenshots
Post by: Deep Toaster on November 13, 2010, 01:44:05 pm
Nice Hot Dog! By the way can the fonts be archived?
^++ This.

That was the major problem I had with Omnicalc's fonts. They had to be in the RAM.

^++^++ This. This.

Yeah, that was the annoying thing about them. And another question: Will this slow down BASIC programs?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 13, 2010, 01:44:40 pm
Yes!  Fonts can be archived!  

However, the program will run slightly slower when a font is archived, say 1/60000th of a second every time you use Output() or Text().   8) Lol
Title: Re: Correlation Screenshots
Post by: aeTIos on November 13, 2010, 01:45:59 pm
ooh that way too much ;D ;D
Title: Re: Correlation Screenshots
Post by: Deep Toaster on November 13, 2010, 01:46:50 pm
Yes!  Fonts can be archived! 

However, the program will run slightly slower when a font is archived, say 1/60000th of a second every time you use Output() or Text().   8) Lol

You mean Text( can use fonts too? :o That would be awesome!
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 13, 2010, 01:47:11 pm
Nice Hot Dog! By the way can the fonts be archived?
^++ This.

That was the major problem I had with Omnicalc's fonts. They had to be in the RAM.

^++^++ This. This.

Yeah, that was the annoying thing about them. And another question: Will this slow down BASIC programs?

All parser hooks slow down BASIC programs ever so slightly.  I am doing everything I can to make sure that Correlation will slow down a Ti-Basic program as little as possible when not in use.
Title: Re: Correlation Screenshots
Post by: aeTIos on November 13, 2010, 01:48:05 pm
ok, maybe i'll start to learn basic, too...
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on November 13, 2010, 01:49:08 pm
Yes!  Fonts can be archived!  

However, the program will run slightly slower when a font is archived, say 1/60000th of a second every time you use Output() or Text().   8) Lol
Cool to hear! I don't mind the slowdown much because from what I saw with xLIB, there is generally not much of a difference. Just tilemapping tends to be slower, but by about 1/5 FPS.
Title: Re: Correlation Screenshots
Post by: Munchor on November 13, 2010, 01:50:58 pm
ok, maybe i'll start to learn basic, too...


Basic is important, DON'T underestimate its capabilities. Even though it can't crash a calculator, it can be quite useful
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 13, 2010, 01:52:06 pm
ok, maybe i'll start to learn basic, too...


Basic is important, DON'T underestimate its capabilities. Even though it can't crash a calculator, it can be quite useful

Agreed and seconded
Title: Re: Correlation Screenshots
Post by: squidgetx on November 13, 2010, 01:53:09 pm
Even though it can't crash a calculator....

I beg to differ ;) (at least on some older OS's)
Title: Re: Correlation Screenshots
Post by: ztrumpet on November 13, 2010, 08:11:42 pm
Nice Hot Dog! By the way can the fonts be archived?
^++ This.

That was the major problem I had with Omnicalc's fonts. They had to be in the RAM.
If you want to use Omnicalc like fonts from archive, check out zstart by thepenguin77. :)
http://www.ticalc.org/archives/files/fileinfo/429/42907.html
Title: Re: Correlation Screenshots
Post by: meishe91 on November 13, 2010, 08:21:52 pm
[a bit offtopic]


(http://www.omnimaga.org/index.php?action=dlattach;topic=5303.0;attach=4444;image)

Finally, someone working on fonts for calculators, I'd like to see this in KnighOS or maybe in TIos already.


[/a bit offtopic]

There are already programs/apps that support other fonts. The most notable one being Omnicalc.
Title: Re: Correlation Screenshots
Post by: MRide on November 13, 2010, 08:59:21 pm
Yeah, but this....this is much better and so awesome! :D
Title: Re: Correlation Screenshots
Post by: yunhua98 on November 13, 2010, 09:02:18 pm
Even though it can't crash a calculator....

I beg to differ ;) (at least on some older OS's)

I blame TI.  :P  (MP)
Title: Re: Correlation Screenshots
Post by: Deep Toaster on November 13, 2010, 11:01:27 pm
Even though it can't crash a calculator....

I beg to differ ;) (at least on some older OS's)

I blame TI.  :P  (MP)

TI, the one tech company in the world that sells worse and worse products at a higher and higher price :P
Title: Re: Correlation Screenshots
Post by: yunhua98 on November 13, 2010, 11:02:33 pm
Even though it can't crash a calculator....

I beg to differ ;) (at least on some older OS's)

I blame TI.  :P  (MP)

TI, the one tech company in the world that sells worse and worse products at a higher and higher price :P

THAT SUMS THEM UP, PRETTY MUCH.  ;)

EDIT:  damn Caps Lock...  :P
Title: Re: Correlation Screenshots
Post by: FinaleTI on November 14, 2010, 12:00:15 am
Even though it can't crash a calculator....

I beg to differ ;) (at least on some older OS's)

I blame TI.  :P  (MP)

TI, the one tech company in the world that sells worse and worse products at a higher and higher price :P

THAT SUMS THEM UP, PRETTY MUCH.  ;)

EDIT:  damn Caps Lock...  :P
Lol. Not again...

Anyway, can't wait for this. I gotta go think up a cool program for demoing and design a font.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 14, 2010, 12:10:25 am
Anyway, can't wait for this. I gotta go think up a cool program for demoing and design a font.

Good idea.  But you do know that I'll provide a program for compiling a font from a bitmap, right?
Title: Re: Correlation Screenshots
Post by: FinaleTI on November 14, 2010, 12:15:07 am
Anyway, can't wait for this. I gotta go think up a cool program for demoing and design a font.

Good idea.  But you do know that I'll provide a program for compiling a font from a bitmap, right?
I meant I had to think up a demo program, as well as designing a font to use for it.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on November 14, 2010, 12:15:46 am
Wow that converter program would be nice. :O
Title: Re: Correlation Screenshots
Post by: Builderboy on November 14, 2010, 12:23:21 am
I can't wait for this to come out :D I think that some truly awesome things can be done with it and i can't wait to play around with it ^^
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 15, 2010, 12:04:41 am
Here's a screenshot of the Font Compiler.  I successfully created a font, although there's some bugs I need to work out so that people can't create an illegal font--for instance, a font that's too large in width.

Start character is the smallest character that you will, for sure, use in your text.  (Correlation will return an error if you attempt to go below this value.)  End Character is the largest character that you will use in your text.  These two values exist so that you can have a smaller font without crashing your program.

My next step is creating a font so that I can test it
Title: Re: Correlation Screenshots
Post by: meishe91 on November 15, 2010, 12:23:52 am
This is just a thought for when this finally comes out, if you haven't thought of it yet. But since this is coming with a computer application too maybe it'd be handy to have a step-by-step image tutorial on how to do the computer stuff (that you or just someone makes) that way things might not get confusing in just a text tutorial. Just a thought :)

Looks great though :) Can't wait :D
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on November 15, 2010, 12:24:17 am
Nice Hot Dog. What will be this program dependencies by the way? Also, now that I see we can specify the height/width of fonts, will we eventually be able to use fonts of any size?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 15, 2010, 12:32:26 am
This is just a thought for when this finally comes out, if you haven't thought of it yet. But since this is coming with a computer application too maybe it'd be handy to have a step-by-step image tutorial on how to do the computer stuff (that you or just someone makes) that way things might not get confusing in just a text tutorial. Just a thought :)

Looks great though :) Can't wait :D

If you understood ASM from my tutorials, you'll certainly understand Correlation from the .pdf help file :D  In other words, I'll be sure to include that

Nice Hot Dog. What will be this program dependencies by the way? Also, now that I see we can specify the height/width of fonts, will we eventually be able to use fonts of any size?

The program requires .NET, though I'm going to use Mono to get it to work on Mac and Linux.  For worst coming to worst, I'll have a detailed section in the help file on how to manually create a font.

You can use fonts of any size, though Output() will be strictly 6x8.  Also, you can only have one font size per font file.
Title: Re: Correlation Screenshots
Post by: meishe91 on November 15, 2010, 12:43:52 am
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 15, 2010, 12:47:06 am
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?

Output() is used to display text as if you were making a homescreen game. 

Can you rephrase your question?  If you're asking about using the text buffer, the answer is no.  The text you use in your game will not appear on the homescreen when your Ti-Basic program exits.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on November 15, 2010, 12:49:02 am
This is just a thought for when this finally comes out, if you haven't thought of it yet. But since this is coming with a computer application too maybe it'd be handy to have a step-by-step image tutorial on how to do the computer stuff (that you or just someone makes) that way things might not get confusing in just a text tutorial. Just a thought :)

Looks great though :) Can't wait :D

If you understood ASM from my tutorials, you'll certainly understand Correlation from the .pdf help file :D  In other words, I'll be sure to include that

Nice Hot Dog. What will be this program dependencies by the way? Also, now that I see we can specify the height/width of fonts, will we eventually be able to use fonts of any size?

The program requires .NET, though I'm going to use Mono to get it to work on Mac and Linux.  For worst coming to worst, I'll have a detailed section in the help file on how to manually create a font.

You can use fonts of any size, though Output() will be strictly 6x8.  Also, you can only have one font size per font file.
Ah cool, because in some games, stuff like 4x5 might be nice, or maybe even smaller fonts. I believe Nostalgia used 4x4.

As for .NET just make sure to cover possible errors in the readme file such as missing DLL errors and stuff. :P
Title: Re: Correlation Screenshots
Post by: meishe91 on November 15, 2010, 01:11:01 am
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?

Output() is used to display text as if you were making a homescreen game. 

Can you rephrase your question?  If you're asking about using the text buffer, the answer is no.  The text you use in your game will not appear on the homescreen when your Ti-Basic program exits.

No, I don't mean the buffers related to the screen. The homescreen font is technically 6*8 pixels but only 5*7 is used for the actual font leaving the row of the far right and the bottom empty as a "buffer" row/column. It's the row/column that will erase things on the graphscreen if used (with the little font its the top row and right column). I was just curious if we were able to use those unused rows/columns or if we are still restricted to the 5*7 part.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on November 15, 2010, 01:16:36 am
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?

Output() is used to display text as if you were making a homescreen game. 

Can you rephrase your question?  If you're asking about using the text buffer, the answer is no.  The text you use in your game will not appear on the homescreen when your Ti-Basic program exits.

No, I don't mean the buffers related to the screen. The homescreen font is technically 6*8 pixels but only 5*7 is used for the actual font leaving the row of the far right and the bottom empty as a "buffer" row/column. It's the row/column that will erase things on the graphscreen if used (with the little font its the top row and right column). I was just curious if we were able to use those unused rows/columns or if we are still restricted to the 5*7 part.

You can indeed use those columns and rows as 6*8.  In fact, you have a choice as to "6*8" or "5*7", and it all comes down to how you design your font.  But I can't explain it right now without any images.
Title: Re: Correlation Screenshots
Post by: meishe91 on November 15, 2010, 01:35:32 am
Sweet :) That should be really useful :D
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 10, 2010, 02:14:23 pm
http://ourl.ca/7842/151683
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 11, 2010, 01:42:02 am
Nice, could you remind me if word-wrapping was supported by the way? I forgot.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 11, 2010, 11:44:13 am
Nice, could you remind me if word-wrapping was supported by the way? I forgot.

Word-wrapping will be supported for ln(, the Correlation equivalent of Output.
Title: Re: Correlation Screenshots
Post by: Deep Toaster on December 11, 2010, 12:29:53 pm
Nice, could you remind me if word-wrapping was supported by the way? I forgot.

Word-wrapping will be supported for ln(, the Correlation equivalent of Output.

Oh, so just like in BASIC. Awesome :D Will it be like Output( in the sense that it appears "above" everything else and doesn't really affect the row Disp  gets displayed on?

EDIT: Hot_Dog, you just passed your 1337th post.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 11, 2010, 07:07:03 pm
Nice, could you remind me if word-wrapping was supported by the way? I forgot.

Word-wrapping will be supported for ln(, the Correlation equivalent of Output.

Oh, so just like in BASIC. Awesome :D Will it be like Output( in the sense that it appears "above" everything else and doesn't really affect the row Disp  gets displayed on?

EDIT: Hot_Dog, you just passed your 1337th post.

Hopefully it won't affect the row Disp gets displayed on.  For Asm programmers, I use penCol and penRow, does that affect where Disp goes?
Title: Re: Correlation Screenshots
Post by: meishe91 on December 11, 2010, 07:44:55 pm
So to use Correlation we have to use ln( or is that just one of the options for a certain font type or what?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 11, 2010, 07:49:00 pm
So to use Correlation we have to use ln( or is that just one of the options for a certain font type or what?

Ln( let's you display a custom 6x8 font like Output( does.  e^( lets you display a custom sized font as an equivalent to Text(
Title: Re: Correlation Screenshots
Post by: meishe91 on December 11, 2010, 08:01:21 pm
Ah ok. So we use those to display custom fonts and then we can use Output( and Text( normally if we want to?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 11, 2010, 08:05:51 pm
Ah ok. So we use those to display custom fonts and then we can use Output( and Text( normally if we want to?

Exactly! :D
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 11, 2010, 11:50:11 pm
Here's another screenshot, which uses eight ln( statements to replace the 8 Output( statements.  Even with the optimizations I have yet to make, this ran faster than 8 Output statements, and looks nicer too!
Title: Re: Correlation Screenshots
Post by: meishe91 on December 12, 2010, 12:54:51 am
Awesome :)

And very nice, looks sweet :) Can't wait!
Title: Re: Correlation Screenshots
Post by: Deep Toaster on December 12, 2010, 12:55:10 am
Here's another screenshot, which uses eight ln( statements to replace the 8 Output( statements.  Even with the optimizations I have yet to make, this ran faster than 8 Output statements, and looks nicer too!

Agreed :D

Will the tokens for ln( and e^( be replaced, like with Axe tokens?
Title: Re: Correlation Screenshots
Post by: meishe91 on December 12, 2010, 01:16:49 am
I doubt it since Correlation, I believe, is just a program that is called at the beginning of your regular program.
Title: Re: Correlation Screenshots
Post by: Builderboy on December 12, 2010, 01:24:36 am
This is looking awesome! :D Do you think once this is finished you could release a small patcher that given the name of a Basic program replaces all of the Outputs with Ln()s?  That way it becomes even easier to convert :D
Title: Re: Correlation Screenshots
Post by: meishe91 on December 12, 2010, 01:40:54 am
Ya, that would be pretty cool. Though I don't think it'd be that hard to just replace them since it's not like you're replacing an entire line, just the beginning token.

Maybe you could write a quick program as an add-on to your Auto-Op program though, Builder ;)
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 12, 2010, 05:37:15 am
Looks great Hot Dog! Will we be able to use stuff like Sub(str1,A,128) inside these commands? It would be cool since we could have scrolling. :)
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 12, 2010, 11:27:44 am
I'll do my best not to miss a question :)

@Deep Thought  The tokens will not be replaced

@Builderboy A patcher is a good idea, but many people will want to use Output as well as Ln, Text as well as e^.  I'll have to think about that one.

@DJ You will indeed be able to do that.  That's probably my next step
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 13, 2010, 02:26:23 am
Awesome! Will the slow down seen in BASIC when displaying the end of a string with sub() occurs with Correlation commands too? It's fine if it does, I am just wondering.
Title: Re: Correlation Screenshots
Post by: meishe91 on December 13, 2010, 02:44:30 am
I'm going to guess ya since you're still recalling from a string the same. I think all Correlation does is replace the text. I think he'd have to write his own recall routine for it to change, but I could be wrong.

And as for the patcher it just occurred to me that it'd only be useful if you only use Output(/Text( for graphics. But since most of the time they are used for both a little it would screw some things up.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 13, 2010, 03:10:17 am
Ah, well if he just replaces the text, then I guess the slowdown will still happen, then. I think it will depend if he's writing his very own routine or if Sub() is parsed like in BASIC.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 13, 2010, 09:18:31 am
Ah, well if he just replaces the text, then I guess the slowdown will still happen, then. I think it will depend if he's writing his very own routine or if Sub() is parsed like in BASIC.

The parser is responsible for all string computations, otherwise this would be a nightmare for me.  Correlation takes the computed string and displays it in a different font.

So just like in Ti-Basic, the more complex your computation, the slower it gets.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 13, 2010, 10:25:04 pm
Ah ok then. In BASIC, what happens is that Sub(Str1,2000,128) is about half a second slower than Sub(Str1,0,128).
Title: Re: Correlation Screenshots
Post by: meishe91 on December 22, 2010, 09:10:22 pm
Ya, but that's just because it starts at the beginning of the string, searches for the start, then displays it, right? So longer the string the more time it takes...well I guess further into a string you want to start at I guess I should say.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 22, 2010, 09:28:57 pm
Ya, but that's just because it starts at the beginning of the string, searches for the start, then displays it, right? So longer the string the more time it takes...well I guess further into a string you want to start at I guess I should say.

Knowing ASM, I'm pretty sure the size of a string makes no difference--TI would have to really screw up for string size to matter.  But it's always a known fact that that more computations the calculator has to make, the longer things take.  You'll notice the difference when you graph Y = 1 and Y = sin(cos(tan(X^100X)))
Title: Re: Correlation Screenshots
Post by: meishe91 on December 22, 2010, 10:05:32 pm
Well I didn't mean the size of the string is what effects the speed. It's where in the string you're starting from. Like DJ said, if you have a string with 2005 tokens in it you will notice a speed difference between sub(Str1,1,5 and sub(Str1,2001,5.  So the further inside the string you're trying to start from the longer it will take to display it or find it.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 22, 2010, 10:26:52 pm
Well I didn't mean the size of the string is what effects the speed. It's where in the string you're starting from. Like DJ said, if you have a string with 2005 tokens in it you will notice a speed difference between sub(Str1,1,5 and sub(Str1,2001,5.  So the further inside the string you're trying to start from the longer it will take to display it or find it.

Oh, I didn't notice that.  Okay, TI screwed up
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 23, 2010, 12:39:37 am
Well I didn't mean the size of the string is what effects the speed. It's where in the string you're starting from. Like DJ said, if you have a string with 2005 tokens in it you will notice a speed difference between sub(Str1,1,5 and sub(Str1,2001,5.  So the further inside the string you're trying to start from the longer it will take to display it or find it.

Oh, I didn't notice that.  Okay, TI screwed up
I definitively think they did. Further inside the string it's really really slow when the string is long. When people make scrolling RPGs, they add a For loop that artificially slows down the game when scrolling at the top of the map, to equalize the overall speed.

It's the same thing as with the Goto command.
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 23, 2010, 12:47:04 am
Well I didn't mean the size of the string is what effects the speed. It's where in the string you're starting from. Like DJ said, if you have a string with 2005 tokens in it you will notice a speed difference between sub(Str1,1,5 and sub(Str1,2001,5.  So the further inside the string you're trying to start from the longer it will take to display it or find it.

Oh, I didn't notice that.  Okay, TI screwed up
I definitively think they did. Further inside the string it's really really slow when the string is long. When people make scrolling RPGs, they add a For loop that artificially slows down the game when scrolling at the top of the map, to equalize the overall speed.

As long as you avoid using Sub(, Correlation handles the rest to make a fast program.  You just have to follow the manual and use the right code--not hard, just different techniques.
Title: Re: Correlation Screenshots
Post by: Builderboy on December 23, 2010, 01:10:49 am
Well I didn't mean the size of the string is what effects the speed. It's where in the string you're starting from. Like DJ said, if you have a string with 2005 tokens in it you will notice a speed difference between sub(Str1,1,5 and sub(Str1,2001,5.  So the further inside the string you're trying to start from the longer it will take to display it or find it.

Oh, I didn't notice that.  Okay, TI screwed up

Well actually the OS is forced to look from the very beginning of the string due to the presence of 2 byte tokens :/ It knows the *byte* length of the string, but it doesn't know the token length without starting from the beginning
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 26, 2010, 01:08:59 am
Now that the manual is done, and now that the font compilers are ready, back to the coding.

Here's a tribute to Sam Heald.  No source code I'm afraid, but you have my word that this was done completely in Correlation.
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 26, 2010, 02:24:28 am
Awesome! That'll sure be an easy way to draw tilemaps from strings. :)
Title: Re: Correlation Screenshots
Post by: Deep Toaster on December 26, 2010, 01:32:00 pm
Awesome, looking even more useful! I wonder if anyone'll port an actual Mario game to BASIC with this O.O
Title: Re: Correlation Screenshots
Post by: jnesselr on December 26, 2010, 04:50:40 pm
I looked at the screen and almost thought it was a mario thread, and almost passed it by.  Wow, that is absolutely amazing.  And this is FASTER than TI's routine? how?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 27, 2010, 12:16:30 am
I finished the code for wrapping text that falls off-screen, so here's a screenshot for Metroid.  This time, I've also attached the font and the code that I used.  The first character of the font is assigned to the character "A" as it will be for many screenshots to come.

real(METODFNT
ln(1,1,"ABBBBBBBBBBBMMMMBBCDMMCDMABABBBBEEFMMMMMMMMHHHHHEEGMMMMMMMMHHHHHIIHHHMMMMMMHHHHHIIJMMMMMMMMHHHHHIIJMMKMMMKMHHHHHIIJMAHHHHHMHHHHHIIJMMMMMMMMLMMMMIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
Pause
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 27, 2010, 04:16:14 pm
WOAH! This is even better than i thought! How long does it take to render? The best part of this I think is how we can use tilemaps with tiles other than 8x8 and 16x16, but even better: any size!
Title: Re: Correlation Screenshots
Post by: Hot_Dog on December 27, 2010, 06:44:36 pm
How long does it take to render?

You know, I'm not sure.  I plan to time it pretty soon, probably after I finish negative coordinates.  For sure, though, it still runs faster that TI routines
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on December 27, 2010, 10:42:02 pm
For(Z,0,99999
your routine to display it
End

After about 10 seconds, quit the program then check Z value. Should tell you
Title: Re: Correlation Screenshots
Post by: Hot_Dog on January 01, 2011, 08:51:04 pm
I have negative coordinates working!!

Test Code:

real(METODFNT
For(N,-14,1)
ln(N,1,"HHHHHHHHHHHHHHHH"
Pause
End


Now I'm going to work to display text above 8x8 (up to 16 x 16) so that I can start testing Correlation (and continue to add features) with Starcraft: Zeratul.
Title: Re: Correlation Screenshots
Post by: Deep Toaster on January 01, 2011, 09:06:03 pm
Scrolling ... awesome :D If we mixed negative numbers with text wrapping, would the entire block be shifted left/up? Or would it still wait until the last column?
Title: Re: Correlation Screenshots
Post by: Hot_Dog on January 01, 2011, 09:08:38 pm
Scrolling ... awesome :D If we mixed negative numbers with text wrapping, would the entire block be shifted left/up? Or would it still wait until the last column?

It still waits for the last column, unless you are using "Map Mode."  For this reason, I don't see a good use for mixing negative x coordinates and text wrapping.  However, negative Y coordinates and text wrapping can create some pretty nifty tricks!
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on January 02, 2011, 01:13:59 am
Nice hot dog!
Title: Re: Correlation Screenshots
Post by: Hot_Dog on April 24, 2011, 05:57:22 pm
I've given up making converted Ti-Basic programs run faster with Correlation, but I got the speed to be just as good!  I just need to remind myself that Correlation makes games look good and doesn't need to make them run fastest ;D

I am converting Builderboy's Factory game to run with Correlation, so here's a screenshot of the beginning.  This was recorded on a Ti-83+ normal, and of course IE makes it look slower than it really is.  Yes, I know there are bugs to fix ;D
Title: Re: Correlation Screenshots
Post by: DJ Omnimaga on May 26, 2011, 12:36:03 am
This looks nice O.O. Why is the busy indicator in the middle, though? ???
Title: Re: Correlation Screenshots
Post by: Hot_Dog on May 30, 2011, 10:36:58 am
This looks nice O.O. Why is the busy indicator in the middle, though? ???

Heh heh...simple bug.  It will be addressed after my needed-break from Correlation is over
Title: Re: Correlation Screenshots
Post by: ztrumpet on May 30, 2011, 11:05:24 am
That looks quite nice.  Great job, Hot Dog! :D
Title: Re: Correlation Screenshots
Post by: Deep Toaster on May 30, 2011, 08:36:53 pm
It's looking amazing :D
Heh heh...simple bug.  It will be addressed after my needed-break from Correlation is over
Take your break, no rush :)/me holds his raz0r up to Hot_Dog's throat until he finishes Correlation
EDIT: :w00t: Another post without any linebreaks!
Title: Re: Correlation Screenshots
Post by: aeTIos on June 01, 2011, 09:44:43 am
Uh, explain that. I count 4 breaks....