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

Pages: 1 ... 104 105 [106] 107 108 ... 115
1576
Lua / Re: Sound with nspire Lua
« on: August 04, 2011, 08:50:03 pm »
All right, as promised, here's the GitHub repository.

It's all open, so please do whatever you want to do with this (comments (+ or -), improvements etc. :) )

1577
Lua / Re: Nspire-Lua plugin for BBEdit (Programming Editor for Mac)
« on: August 04, 2011, 08:25:11 pm »
Well, it's the default font of BBEdit, and they called it "Consolas for BBEdit" :P

Edit : it looks like it's the Consolas Regular font, actually

1578
Lua / Re: Nspire-Lua plugin for BBEdit (Programming Editor for Mac)
« on: August 04, 2011, 10:39:03 am »
Thanks !

The font is a slightly modified version of Consolas

1579
Lua / Nspire-Lua plugin for BBEdit (Programming Editor for Mac)
« on: August 04, 2011, 01:18:33 am »
Hi,

as requested by several people,

here is my BBEdit plugin : http://adriweb.free.fr/upload/ti/Nspire-Lua-for-BBEdit.zip

The .bblm file has to be moved in [ user ]/Library/Application Support/BBEdit/Languages Modules/

The plugin contains all the api functions and useful stuff included in the Nspire Lua.

For example, auto-completion :





1580
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: August 02, 2011, 11:12:09 pm »
Great work !

platform:gc() is definitely not gc

in what way ... ?

1581
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: August 02, 2011, 07:09:41 pm »
One More thing i have to tell them :P

1582
TI-Nspire / Re: [Nspire Entry] Falling Blocks
« on: August 02, 2011, 07:08:37 pm »
You can also let on.save return the highscore as a list. This will then be the parameter of on.restore next time the script gets opened :)
Bullet-proof :p
Nice trick, gotta try that :P

1583
Lua / Re: LUA script tool for mac?
« on: August 02, 2011, 12:01:48 pm »
Btw, if you're looking for a nice Lua editor, I use BBEdit with a nspire-lua plugin I made, I can give it to you if you want

1584
Lua / Re: This is my first lua game
« on: August 02, 2011, 11:55:06 am »
Hey,

This game is a great idea ! :)

At first I didn't realize I had to enter either 4/5/6 so I thought it didn't work :P

So, for people who like screenshots :


One thing I would like to tell you especially is that your code should be cleaner (it's better for us readers and especially for you).
For example, indentation (maybe that's just because the forum didn't get it right, though).

Also, you're making a lot of tests (if ... ~= ... etc.) that might be completely rewritten in a function to compare directly all the numbers/variables you're using. Thus, saving cpu, battery, time, game speed etc.
(the function judge() especially can be very optimized, I think)

In conclusion, you're saying it's your first Lua game, so I must say it's a very good start. You understood how the nspire lua API worked and your document can be used for educational purposes, so that's also a good point :)

Now, what about making the game more difficult with other calculations than basic additions ?

;)

NB : I just found a bug (idk if that's because I tested it on the computer software ant not a calculator...) : the text is not centered at the game over screen :

1585
Lua / Re: LUA script tool for mac?
« on: August 02, 2011, 10:33:29 am »
I'm working on a Mac, and if you just want to program for the Nspire, just download LUAtoTNS.sh (here) or the python's script that will convert your .lua files to .tns files (for OS 3.0.1) (available on TI-Bank, here, ticalc etc.)

1586
TI-Nspire / Re: Pianoman's Real Contest Entry
« on: August 02, 2011, 01:08:30 am »
Looks great ! :)

1587
TI-Nspire / Re: [Nspire Entry] Falling Blocks
« on: August 02, 2011, 12:50:29 am »
the highscore one being saved in a anti-cheating secured external variable ? :P

1588
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: August 02, 2011, 12:47:51 am »
yep, awesome ...

share the code for that specific part ?

1589
Lua / Re: Sound with nspire Lua
« on: August 01, 2011, 02:13:36 pm »
well for now Jimbauwens' sound routines are not in my program... what's in right now is the editor and the "encryption" of the notes.
And the editor is not finished at all, even if it can produces some basic things...

Once I get all Jim's routines etc. (I'll try the hardware modifications on my calc soon), I'll post an beta version.

But before, an alpha version will be uploaded to github so people can try the editor and the encoded output it gives.

1590
Lua / Re: Sound with nspire Lua
« on: August 01, 2011, 02:10:33 pm »
not for now, until I (or anybody else actually) find how to get better sound off the nspire port...

Pages: 1 ... 104 105 [106] 107 108 ... 115