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 ... 61 62 [63] 64 65 ... 115
931
Lua / Re: The picture refuses to move
« on: September 04, 2012, 12:00:54 pm »
np.
So did you make it work ? :)

932
Yeah try not to use > 15k :/

933
Lua / Re: The picture refuses to move
« on: September 04, 2012, 11:51:38 am »
The reason is simple :
- On the computer, everytime you *do* something ( move the mouse, etc. ), the screen gets refreshed.
- On the handheld, platform.window:invalidate() has to be called. You wanted that by calling it in [lua]on.timer[/lua], but you forgot to do  [lua]timer.start[/lua](0.01)  to actually start the timer.

Instead of doing that, you could simply put the invalidate at the end of the arrow functions. (Btw, you can also use [lua]on.arrowKey[/lua](arrow) (arrow=="left" etc.)

Also, don't put platform.window:invalidate() inside of on.paint, it's useless.

934
Lua / Re: Need help with lua
« on: September 03, 2012, 05:04:19 pm »
Yes, this one :)

Now you can follow the tutorials and have fun :)


(but only you will be able to transfer 3.1 compatible scripts by having only made a lua script and nothing else before (not what you did)) and sertting the apilevel to 1

935
Lua / Re: Need help with lua
« on: September 03, 2012, 04:52:26 pm »
I meant in a Lua program, not basic ;-)

Computer software -> Insert -> Lua Editor -> Insert Script

936
Lua / Re: Need help with lua
« on: September 03, 2012, 08:43:27 am »
BTW, you can still use the OS 3.1 on your device and have the Computer Software 3.2, in which you have the Lua SDK.
(and for lua scripts only, it should work well enough with OS 3.1 when you put " platform.apilevel = '1.0' " at the beginning.

937
Humour and Jokes / Re: Nspire Emulator on nspire!
« on: September 03, 2012, 05:29:16 am »
eh :P
Must have taken some long hours of thinking&coding to create this :D

938
Oh wow, do NOT ever do image stuff in a loop, that's what causing your issue ;-)

Here's how you want to do it :
(after the 2 lines of images strings)

Code: [Select]
dx=50
dy=50

function on.paint(gc)
gc:drawImage(background,0,0)
gc:drawImage(duck,dx,dy)
end

function on.arrowKey(arrow)
if arrow == "right" then
dx = dx + 5
elseif arrow == "left" then
dx = dx - 5
elseif arrow == "up" then
dy = dy - 5
elseif arrow == "down" then
dy = dy + 5
end
platform.window:invalidate()
end

I suggest that you read Inspired-Lua's tutorials and Steve Arnold's :)
They really well explain the basic concept of events, the base thing you need to understand first :)

Also, to have a full reference of the Nspire-Lua API, don't forget Inspired-Lua's wiki (based on (and improving) the official doc)

BTW, Levak and I have created a presentation some weeks ago : "Improving your Nspire-Lua skills" you would be interested in : http://tiplanet.org/forum/archives_voir.php?id=6720 (clic on "Télécharger") - you might prefer the powerpoint version)

939
[FR] Hors-Sujet / Re: TI-planet fête ses 1 ans !
« on: September 02, 2012, 11:11:09 am »
ou comment obtenir des +1...
:D
* adriweb runs

Bref, Joyeux anniversaire à notre site favori :P

940
News / Re: 3000 posts for 30th straight month
« on: September 02, 2012, 07:57:23 am »
TI-Planet visits are restarting to raise again, finally, after the summer break, I guess this tendency can be visible here too ? :)

941
Miscellaneous / Re: Computer Specs
« on: September 02, 2012, 07:48:52 am »
Hmm, didn't see that topic :D

Main computer :

Apple Mac Pro Early-2009
OS : Mac OSX 10.8.1 and Windows 7 Ultimate on dual boot, (Ubuntu 12.04 on main VM)
Processor   Quad-Core Intel Xeon (5500 series), 2.66 GHz, 64bit
Graphics : 2*Nvidia Gt-120 (was not bad at the time :P)
Disks : 5 Tb total.
RAM : 8 Gb
Screens : 17" + 24" (Main) + 17"


For school though, I will have this one (but better specs) : http://h20386.www2.hp.com/FranceStore/Product.aspx?pdetail=P259749
Windows 7 Professional 64bit
Intel Core i7-3720QM Quad Core
15.6 LED HD+ WVA AG 8570w
8GB 1600MHZ DDR3 1DM 8570w
8 Cell 83 WHr 8570w
NVidia Quadro k1000M
Finger Print Reader

942
Other Calculators / Re: New TI-Nspire CX-C CAS and TI-Nspire CM-C... Poor
« on: September 02, 2012, 07:47:14 am »
Nice Critor. Can it run OS 3.1 and does Ndless work on it?
Yes it can run 3.1 (it has same boot1 and boot2 versions as normal CX), and no, not ndless unless it is adapted since the OS isn't the same.

Does the CM have the same PCB as the north american CX?
No, at least not the layout, (probably a good amount of the same components though), as we can see with no-rs232, usb on the side etc.

943
News / Re: nRemote : Control your TI-Nspire from your computer !
« on: September 02, 2012, 06:23:36 am »
Sorry for double posting but here is Version 1.6b (bugfix) over 1.6 that aded Screen scaling :)


Download


944
News / Re: nRemote : Control your TI-Nspire from your computer !
« on: September 01, 2012, 03:33:54 pm »
No, it does not run - its just an attempt.
May need to define may paths here.

Ok well, anyway you can lurk in the manifest.mf file to see the 4 needed files :)

945
Other Calculators / Re: Your calculator collection
« on: September 01, 2012, 08:03:13 am »
Very nice, I really need to get a 83+ and another 68k :P

Pages: 1 ... 61 62 [63] 64 65 ... 115