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 ... 43 44 [45] 46 47 ... 125
661
Introduce Yourself! / Re: Hi, I'm stevon8ter
« on: March 22, 2012, 12:38:24 pm »
Welcome :)
Also, if you really don't know how to say something in English, you may post it in Dutch, as there are a couple of dutch speaking people here that could translate it or help you.

I'm also Belgian, but I'm not a z80 programmer so I can't help you :)

662
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 22, 2012, 07:05:20 am »
Nick, I know I can do it that way, but I was looking for a more native approach. But thanks anyway :)

@apcalc, also thanks :)

663
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 21, 2012, 08:11:25 am »
Alright, fixed the text offset and the invalidating bug.

DiagramNZ works properly with one little change:
It replaces the Lua function named "type" with a number value, causing some Lua parts of love not to function properly.
So, I just replaced "type" with "Type" (in the DiagramNZ source) and it worked fine :)
Screenshot: http://bwns.be/jim/DiagramNZ.png

664
nSDL / Re: nSDL (0.1.2 beta)
« on: March 21, 2012, 04:55:54 am »
Indeed, very nice :)

665
News / Re: LuaFX arrives on the FX-9860G
« on: March 20, 2012, 02:39:20 pm »
Well the thing, again, is that the Nspire Lua implementation made by TI is event-driven, and this whole structure would have to be ported over the prizm. It's definitely doable, but would take quite a while to make it act like on the Nspire...
Nomnom, want me to port PCspire?
If anyone sends me a free casio I will do it :P
I'll look into the casio api when I have some time :)

666
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 20, 2012, 12:22:08 pm »
Hmm, I don't find it. Mind linking to the page with info?

667
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 20, 2012, 12:10:47 pm »
People can already check out the code on https://github.com/jimbauwens/PCspire.
However, it's not yet noob proof :P
But it will :)

Currently these things need to be fixed:
- Drawing arcs (draws a full circle now)
- When invalidating specific screen parts, it can skip a couple of pixels. Shouldn't be a problem for most programs, but it needs to be fixed anyway.
- Text offsets need to be improved
- Images need better alpha support

These things need to be added:
- Tool palette (menu system that hardly anybody uses :P)
- Cursor changing. This is more hard because love2d doesn't support this directly

Stuff that I might never implement because they are very hard:
- math.eval (requires CAS engine and TI-Basic interpreter)
- D2Editor (requires rtf interpreter)
- Physics (love2d has physics, but it would be too hard to make it compatible with the chipmunk one on the nspire)


Programs I tested that work fine:
- Updated version of Cubefield
- LogoMagic
- Klondike Lua
- Some programs that use the EEPro widgets (I forgot the names, or maybe I didn't name them yet :P)
- Color Tetris
- BlockBreaker Lua
- Bloxorz
- some other tiny stuff I made :P

668
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 18, 2012, 11:05:41 am »
I use my online sprite editor (bwns.be/jim/sprite.html) for that, and/or do some stuff manually :)

669
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 18, 2012, 10:59:10 am »
"al" represent a color, and in this case the color red, with a alpha bit so that it's invisible.
I replaced the white in his image with it to make it transparent .

670
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 18, 2012, 06:45:12 am »
Yup, that is correct.
Since Nspire lua is event based, scripts use the timer to trigger updates in a specified interval.
And the timer in PCspire works the same, so the script should seem to run at the same speed.

671
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 04:05:02 pm »
Thanks :)

Well, that's what I want.
I'm trying lot's of programs, and when I notice that it error's or acts weird I look for the cause and fix it.

672
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 03:50:19 pm »
Looks like it works fine now :)
And even more smooth!
Good job.

Also, maybe you change your image with
Code: [Select]
\20\0\0\0\20\0\0\0\0\0\0\0\40\0\0\0\16\0\1\000alalalalalalalalal\0\128\0\128alalalalalalalalalalalalalalalalal\0\128\0\128\0\128\0\128alalalalalalalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128alal\0\128\0\128\0\128\0\128\0\128\0\128alalalalal\0\128\0\128\0\128\0\128\0\128alalalalalal\0\128\0\128\0\128\0\128\0\128alalal\0\128\0\128\0\128\0\128\0\128alalalalalalalal\0\128\0\128\0\128\0\128\0\128al\0\128\0\128\0\128\0\128\0\128alalalal\0\128\0\128alalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalal\0\128\0\128\0\128\0\128alalalalal\0\128\0\128\0\128alalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128alal\0\128\0\128\0\128\0\128\0\128\0\128alalalalal\0\128\0\128\0\128\0\128\0\128alalalalalal\0\128\0\128\0\128\0\128\0\128alalal\0\128\0\128\0\128\0\128\0\128alalalalalalalal\0\128\0\128\0\128\0\128\0\128al\0\128\0\128\0\128\0\128\0\128alalalalalalalalalal\0\128\0\128\0\128\0\128\0\128\0\128\0\128\0\128alalalalalalalalalalalalalal\0\128\0\128\0\128
It's the same but more compact :D


Edit:

Also, variables and state saving works now. (So high scores too!)

673
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 02:59:35 pm »
ticalc.org IIRC.

On the top of your code you check if it's a CX, and change a speed variable if it is.
I noticed that you use getMilliSecCounter, and my implementation of it should do the same.
Maybe the timer runs a bit slower on calc.

Got to test this ^^

674
nSDL / Re: nSDL (0.1.0 beta)
« on: March 16, 2012, 11:38:49 am »
Very nice!

Need to see to test this when I installed Ndless (again) on my CX :)

675
Lua / Re: PCspire, run Nspire lua programs nativly on your pc
« on: March 16, 2012, 11:37:11 am »
alberthrocks, that's a lua program. The widgets are lua based (part of EEPro core).
I haven't implemented blinking cursors there yet, and it has nothing to do with PCspire :P

I will see how I'll distribute it in the end, as this isn't hard at all.
Code isn't available yet, but will be soon :)

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