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 - Jim Bauwens

Pages: 1 ... 44 45 [46] 47 48 ... 125
676
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 06:48:23 am »
aeTIos, people just install it on their PC and it will work.
Most linux distributions even have it in their package manager.

677
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 03:53:17 am »
@cyanophycean314, I'll shouldn't take too long before a release, as it's already quite progressed.

@alberthrocks, thanks! And yes, I will distribute it in .love files :)

678
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 15, 2012, 04:48:27 pm »
Thanks Lionel :)

Also, cubefield works:


I did have to change a speed variable though. Cubefield detects PCspire as a CX, so it set a variable to make the whole program go faster.
This will probably also be a problem in TINCS, and isn't really fixable (well, cubefield's code needs to be changed).

679
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 15, 2012, 04:18:36 pm »
Ruler: the timer that most programs use to time stuff is the same.
And keyboard input is set to the same rate. So in theory, all programs should act quite the same.

aeTIos, done

680
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 15, 2012, 04:06:42 pm »
Yeah, true.
Also, with the debugger it becomes a useful programming tool :)

681
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 15, 2012, 03:59:15 pm »
@aeTIos
It's for all os's!
Hey, and you are a big part to blame, since you pointed me to the Love framework!
Guilty I say!

682
Lua / PCspire, run Nspire lua programs nativly on your pc
« on: March 15, 2012, 03:51:57 pm »
Hello :)

Just wanted to show a little project I'm busy on.
As some of you know, I mainly develop on Linux. This means testing Nspire Lua programs is a bit harder.
Nspire_emu works fine, but there is no mouse support.
That is why I set out to create something to run Lua programs natively (meaning without emulation) on my computer.
I started 3 days ago, and here is the result:

Spoiler For screenshots:
(Colors are bad because of screen recorder)


EEPro (under dev) runs pretty good


Tetris:


Even different screen sizes if the lua script supports it:


And today I added a debugger:

( gvars() is a custom function of me that prints classes and/or objects )

I use the Löve Lua framework, since it was also event based and that made stuff a bit easier.

Stuff I still need to do:
  • Mouse cursor changing
  • D2Editor support (maybe too hard)
  • math.eval --> TI.Basic interpreter
  • Physics. Possible but very hard
  • Saving state of script done
If I forgot something I will update the list.

683
Other Calculators / Re: CX or Prizm?
« on: March 14, 2012, 05:17:19 pm »
It might not be your fault, but your internet ;)
Maybe Netham should add protection for this.

684
News / Re: Secret Nspire OS popups!
« on: March 14, 2012, 04:03:50 pm »
Very interesting!

685
News / Re: Protect your TI-Nspire startup with ZLock
« on: March 13, 2012, 02:18:12 pm »
Nice Levak :)

686
Other Calculators / Re: CX or Prizm?
« on: March 13, 2012, 03:51:56 am »
I personally (although I never tried a Prizm) prefer a CX.
One of the main reason it because hardware wise it beats the nspire -- but of course you will only be able to take advantage of it with ndless.
But I don't mind to wait for new version of Ndless, and I know that ExtendeD is dedicated to it. There has been an Ndless version for every OS IIRC.
And Lua is growing bigger and better, both by input of the community and TI.

As others have said, the CX (with/without CAS) just beats the Prizm in calculator terms.

687
Other / Re: Raspberry PI now available
« on: March 11, 2012, 05:23:09 pm »
There is a micro USB port for power, but beside that there are two full USB ports :)

688
Other / Re: Raspberry PI now available
« on: March 11, 2012, 04:56:19 pm »
IIRC there are two usb sockets on the B model.

689
Lua / Re: Ti RPG 2 done in Lua (V0.05)
« on: March 11, 2012, 07:56:16 am »
Code: [Select]
...
spellstats = {"spell_bolt", spell_bolt, 20, (spell_bolt+1)*5, 25}
...

...
assert(loadstring(spellstats[1].." = "..spellstats[1].." + 1"))()
...

That runs as if it was:
Code: [Select]
...
spell_bolt = spellbolt + 1
...

Loadstring is not the correct thing to use here, there is something much better.
You need to know that every function, table, variable, etc is part of a table.
string.char is the same as string["char"].
_G is reference to the global table, the table that contains string, math, spell_bolt and other variables.
You can do something like this instead of using loadstring:
Code: [Select]
_G[ spellstats[1] ] = _G[ spellstats[1] ] +1

This is a much better and cleaner method :)

690
Other Calculators / Re: Program preferences
« on: March 10, 2012, 04:02:49 am »
I think most games don't need multiple tabs.
However, I think non games can use it perfectly.
As Spyro stated, I have the interpreter and editor of LogoMagick on different tabs.
I think it's fine like that :)

That's why I'm not voting ;)

Pages: 1 ... 44 45 [46] 47 48 ... 125