Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 01:15:13 *
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 [2]   Go Down
  Print  
Author Topic: Text Data -  (Read 811 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Quigibo
The Executioner
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 02:03:21
Date Registered: 22 January, 2010, 05:02:37
Location: Los Angeles
Posts: 2022


Total Post Ratings: +1019

View Profile
« Reply #15 on: 06 June, 2011, 17:00:20 »
0

@Hayleia
Not quite, you can't read the pointers like that unless all the strings are the same length.  You have to scan the text each time since you don't know how far apart each text entry is from one another.  Text1 is at sub(NTH,0), Text2 is at sub(NTH,1), etc...
« Last Edit: 06 June, 2011, 17:01:44 by Quigibo » Logged

___Axe_Parser___
Today the calculator, tomorrow the world!
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 20:50:49
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2053


Topic starter
Total Post Ratings: +256

View Profile
« Reply #16 on: 06 June, 2011, 17:04:39 »
0

AH I UNDERSTOOD !!!! Sorry for being French and for being a noob at non-Basic. In fact, you store a 0 between each words and you just have to count the zeros to find the text you want !!!
Thank you very very much Quigibo, and thanks to the others too.
Edit:
What ? and how do I do to write at X,Y the text located in sub(NTH,1) ?
« Last Edit: 06 June, 2011, 17:09:15 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Quigibo
The Executioner
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 02:03:21
Date Registered: 22 January, 2010, 05:02:37
Location: Los Angeles
Posts: 2022


Total Post Ratings: +1019

View Profile
« Reply #17 on: 06 June, 2011, 17:10:13 »
0

Text(X,Y,sub(NTH,1)) Smiley

By the way I edited the NTH routine to make a correction.
« Last Edit: 06 June, 2011, 17:11:25 by Quigibo » Logged

___Axe_Parser___
Today the calculator, tomorrow the world!
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 20:50:49
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2053


Topic starter
Total Post Ratings: +256

View Profile
« Reply #18 on: 06 June, 2011, 17:16:42 »
0

I told you I was a noob at non-Basic.
I first thought the answer was Text(X,Y,sub(NTH,1)) but I soon thought "no, it is impossible you idiot (me the idiot not you)". That was forgetting how wonderful was Axe. You made a fantastic work man, it's amazing how it makes the transition between Basic and ASM. Thanks for your hard work, and for your answers. If I finish my game (also have to begin it before), I'll give you credits, and I'll give Omnimaga credits too.
« Last Edit: 06 June, 2011, 18:51:28 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: 19 May, 2013, 19:18:47
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #19 on: 06 June, 2011, 19:02:18 »
0

Quote from: Aichi
The TI OS doesn't support that much pointers, but Axe Parser does. You can use Gbd08A as a pointer for example.

The random color is generated through PHP. Smiley

You're still limited to (I think) around 150 pointers though. It's the max that Axe can keep track of.

And off-topic: Is each color in a separate image or does the script itself tell you what color to add?
Logged




Aichi
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 08:49:29
Date Registered: 25 September, 2010, 15:13:24
Location: Germany
Posts: 291

Total Post Ratings: +72

View Profile WWW
« Reply #20 on: 06 June, 2011, 19:18:52 »
0

And off-topic: Is each color in a separate image or does the script itself tell you what color to add?

There are about 12 pre-recolored pictures. PHP randomly picks one of them.
Recoloring directly through PHP would be quite awkward.
Logged
Pages: 1 [2]   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.184 seconds with 30 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.