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

Pages: 1 ... 21 22 [23] 24 25 ... 55
331
Lua / Re: Lua Q&A
« on: October 04, 2011, 11:09:26 am »
You can also use:
gc:drawString("Vagos CORP" .. string.char(the number returned by ord))
I'm not sure what's wrong with oclua and the TI-Nspire Scriping Tools. But a problem was already reported with Luna v0.2 when converting special characters, I'll look into it.

332
Lua / Re: MoonScript for Nspire
« on: October 02, 2011, 03:57:08 am »
The author of MoonScript now releases native binaries for Windows which work! http://moonscript.org/bin/
Using it to build TI-Nspire programs is not harder than:
moonc mtest.moon
luna mtest.lua mtest.tns
You should really have a try.

333
General Calculator Help / Re: TI-NSpire Testing Woes
« on: October 01, 2011, 12:54:27 pm »

334
General Calculator Help / Re: TI-NSpire Testing Woes
« on: October 01, 2011, 04:17:31 am »
For Lua development OS 3.0.1 isn't much different.

335
@ExtendeD:
Please try if my Makefile also works on Windows, if it does, please use it instead of your Makefile. It's the only thing that needs to be changed to compile Luna on Mac OS X.

It does produce errors on Windows. Could you please try this one on MacOS which should now be cross-platform?

Do you plan to include a Linux and a Mac build the next time (or does this one already feature it)? For people who can't build one themselves, it'd be neat.

No, sorry, and I have neither Linux nor Mac boxes do to this.

336
Luna v0.2a is now available with several bug fixes. Sorry for this unable v0.2.
http://ndlessly.wordpress.com/2011/09/27/luna-bug-fixes/

337
Nice Levak :)
For those who wonder: Levak's script can be used to dump TNS documents of arbitrary size as XML documents, before adapting them and converting them back with Luna v0.2.

338
Can anyone recommend good Lua programs for the N-spire?

You can try those: http://hackspire.unsads.com/wiki/index.php/Lua_Programs

339
Lua / Re: Те́трис, anyone?
« on: September 25, 2011, 04:22:07 pm »
devpolytechnic: you need to find a data structure (array, objects, table, ...) to represent a piece, and the whole screen. Combines this with an algorithm than scans those structures to check for collisions and lines.

340
Two bugs related to replacing & and < in lua source with character entities:

* escape_special_xml_chars stops processing when it reaches the offset equal to the size of the original input ("p < in_buf + header_size + in_size"), not taking into account that the size is changing during the loop, so characters near the end of the program may not get escaped
* xml_compress copies the footer without taking into account the change in size ("memcpy(in_buf + header_size + in_size, lua_footer, sizeof(lua_footer));"), resulting in a truncated program and garbage at the end of the xml

Thanks Goplat! This would explain the problems Levak had with Make3D.

341
General Calculator Help / Re: Gbc4nspire unique problems
« on: September 21, 2011, 04:18:52 am »
Ok, so Ndless doesn't seem to be in fault, since it divides the touchpad area in 9 portions.

342
General Calculator Help / Re: Gbc4nspire unique problems
« on: September 20, 2011, 04:10:55 pm »
It's been rewritten but should be similar. Could you tell us what's exactly wrong with it? I unfortunately don't own a Touchpad and have always relied on other users' tests.

343
Lua / Re: luna help compiling programs
« on: September 19, 2011, 07:15:29 am »
Do you mean Nspire on DS, or oposite?
DS on the Nspire isn't possible without big modifcations to the script, as it depends on stuff such as io.

I think of DS on the Nspire, to port existing DS games.
Even if the API cannot be entirely recreated, porting would be easier.

345
Lua / Re: luna help compiling programs
« on: September 18, 2011, 09:08:06 am »
By the way would it be possible to create a compatibility layer under the Nintendo DS API?

Pages: 1 ... 21 22 [23] 24 25 ... 55