Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 23:05:14 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 6 7 [8] 9 10 ... 12   Go Down
  Print  
Author Topic: Correlation: A New Project Aimed at Ti-Basic Programmers -  (Read 9627 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #105 on: 15 December, 2010, 16:17:28 »
0

Ah ok, that's what I thought you meant Smiley However didn't you say that word wrapping on the homescreen would be the same as with Output(?

I did indeed.  I think I'll provide a way for people to turn word-wrapping off if they want to, though.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

meishe91
Super Ninja
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 May, 2013, 23:54:14
Date Registered: 05 March, 2010, 05:39:48
Posts: 2965


Total Post Ratings: +102

View Profile WWW
« Reply #106 on: 23 December, 2010, 04:07:46 »
0

Well how would word wrapping work with you starting a string off screen? Would it wrap and then continue off down at row eight column seventeen? Or would it like be off by default if you start off screen?
Logged





For the 51st time, that is not my card! (Magic Joke)
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #107 on: 23 December, 2010, 04:22:52 »
0

Well how would word wrapping work with you starting a string off screen? Would it wrap and then continue off down at row eight column seventeen? Or would it like be off by default if you start off screen?

Word wrapping will work just fine if only the X coordinate is negative.  For a negative Y coordinate, the text will wrap AS IF there was more text to display, and continue normally when the first displayable row is reached.

« Last Edit: 23 December, 2010, 04:39:40 by Hot_Dog » Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

meishe91
Super Ninja
Members
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 May, 2013, 23:54:14
Date Registered: 05 March, 2010, 05:39:48
Posts: 2965


Total Post Ratings: +102

View Profile WWW
« Reply #108 on: 23 December, 2010, 05:07:48 »
0

So if you offset the x-coordinate it will wrap like normal and treat it all the same and such but if you offset the y-coordinate it will essentially wrap the entire string over and over again, even if not seen?
Logged





For the 51st time, that is not my card! (Magic Joke)
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #109 on: 23 December, 2010, 05:25:42 »
0

So if you offset the x-coordinate it will wrap like normal and treat it all the same and such but if you offset the y-coordinate it will essentially wrap the entire string over and over again, even if not seen?

Exactly.  That way you can do something like a bottom-to-top scrolling driving game if you want to
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50237


Total Post Ratings: +2615

View Profile WWW
« Reply #110 on: 23 December, 2010, 07:38:03 »
0

I am a bit confused now. With the other topic I saw, would we be able, for example, to wrap the text every 30 character and have scrolling tilemaps in all 4 directions? Or would the maximum be 16 characters per line?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #111 on: 23 December, 2010, 07:45:40 »
0

I am a bit confused now. With the other topic I saw, would we be able, for example, to wrap the text every 30 character and have scrolling tilemaps in all 4 directions? Or would the maximum be 16 characters per line?

There are different modes.  You can do the 30 character thing, but you also have the default wrapping, with 16 characters max.  This is for people who want their text to wrap like normal.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50237


Total Post Ratings: +2615

View Profile WWW
« Reply #112 on: 23 December, 2010, 08:29:44 »
0

Ah ok, thanks for the info Smiley
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #113 on: 28 December, 2010, 03:52:36 »
0

I've had a lot of people ask about the speed of Correlation.  Be aware that since this is a beta, the speed might be different in the final version.

Here's a program I wrote:

For(A,1,100)
Output(1,1,"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
End

Then I timed it.  Afterwards, I added "real(TESTFONT" and changed Output( to ln(, making it a Correlation program.  I timed it again.

Normal Ti-Basic Version: 15 seconds
Correlation Version: 9 seconds
« Last Edit: 28 December, 2010, 03:53:01 by Hot_Dog » Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50237


Total Post Ratings: +2615

View Profile WWW
« Reply #114 on: 28 December, 2010, 08:02:02 »
0

Nice, this means 10 times a second. You put the real(TESTFONT outside the For loop, though, I hope, right? Tongue
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Builderboy
Physics Guru
LV13 Extreme Addict (Next: 9001)
*************
Online Online

Gender: Male
Last Login: Today at 22:44:01
Date Registered: 20 April, 2009, 00:28:53
Location: Ravenholm
Posts: 5644


Total Post Ratings: +589

View Profile
« Reply #115 on: 28 December, 2010, 08:27:06 »
0

Wow thats awesome Cheesy Even if it was the same speed it would still be epic, but now its even cooler :O
Logged

Ranman
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Last Login: 23 April, 2013, 23:37:04
Date Registered: 16 October, 2008, 23:25:59
Posts: 1390


Total Post Ratings: +78

View Profile
« Reply #116 on: 28 December, 2010, 08:39:38 »
0

This is a cool project! Nice work.
Logged

Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator.  Download available here.
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #117 on: 28 December, 2010, 19:37:13 »
0

Nice, this means 10 times a second. You put the real(TESTFONT outside the For loop, though, I hope, right? Tongue

Yes, I did! Smiley

Wow thats awesome Cheesy Even if it was the same speed it would still be epic, but now its even cooler :O

Yeah, I'm quite pleased--and surprised--with the results myself!  I am upset about the other slow commands in Ti-Basic, though...I had an unrealistic dream, though a dream nonetheless, that people could create smooth-scrolling 10 FPS Mario with this.  Doesn't look like it's going to happen Grin

Since it won't be hard to add, I'm adding another "advanced users" feature.  You can turn animated tiles on and off!  However, to make the speed of this as fast as possible, this works only with even-numbered tokens starting with Radian, such as Radian, Normal and Eng.  If you have font characters for both Radian and Degree, the two will switch back and forth between each other when animated tiles are turned on.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:22
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50237


Total Post Ratings: +2615

View Profile WWW
« Reply #118 on: 29 December, 2010, 03:19:44 »
0

I think tile scrolling will be just fine. One great thing about this really is how you can display tilemaps with tiles of any size. Also animated tiles seems cool. I assume this just swaps between two font files, right? Personally, though, to have animated tiles I generally just set 0 to a variable then do Not(VAR->VAR then use the tile set corresponding to VAR.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 21:08:05
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Topic starter
Total Post Ratings: +428

View Profile
« Reply #119 on: 29 December, 2010, 07:38:49 »
0

Also animated tiles seems cool. I assume this just swaps between two font files, right? Personally, though, to have animated tiles I generally just set 0 to a variable then do Not(VAR->VAR then use the tile set corresponding to VAR.

Actually, that's a great idea, so that's how I'm going to do it now.  I was going to do it differently, but your idea is much better and more flexible. 

I doubt people will have animated tiles with 8 frames, but that will be the limit.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

Pages: 1 ... 6 7 [8] 9 10 ... 12   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.267 seconds with 32 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.