Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-Nspire Lua] Dino

Started by Jim Bauwens, May 03, 2015, 01:05:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CKH4

  • Calculators owned: TI-83+, TI-84+


Snektron

Quote from: alexgt on May 04, 2015, 08:11:28 PM
I am quite certain it is a clone but don't quote me on that
:trollface:
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


alexgt

Ohh sorry should read the discriptions better  :-[

Quote from: Cumred_Snektron on May 04, 2015, 08:15:35 PM
Quote from: alexgt on May 04, 2015, 08:11:28 PM
I am quite certain it is a clone but don't quote me on that
:trollface:
Lol :trollface:
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

Let's not hijack the topic, guys. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Duke "Tape" Eiyeron

And pelase lower the frequency of short posts (few or no words) that isn't on topic, please.
  • Calculators owned: A lot.

Jim Bauwens

I did some benchmarks:


Used image: 320x240 full spectrum gradient

TI-Nspire OS 3.2.4

draw image string: 15.12ms

TI-Nspire OS 3.6

draw image string: 14.08ms
draw image resource: 14.51ms

TI-Nspire OS 3.9

draw image string: 14.16ms
draw image resource: 14.15ms

TI-Nspire OS 4.0

draw image string: 14.26ms
draw image resource: 14.21ms


3.6 and higher seem to be in general faster than 3.2 for drawing images. Speed between resources and string based images are basically equal. Using image resources also reduces the total size of your final tns document.

In any case is there still an actual reason to stay on 3.2? On a CX there shouldn't be really that much of a difference.

Dream of Omnimaga

What about OS 3.1? I see no reason to stick to 3.2 unless you want 3.2.3 which is the only OS with arabic language, but 3.1, 3.6 and 3.9 got Ndless.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Jim Bauwens

I just tested on 3.1 ...

TI-Nspire OS 3.1

draw image string: 222.6ms


That's about 15x slower than the other versions..

CKH4

I'm kinda surprised, I would expect speed not to change between different oses. Did you do multiple tests or just one per os?
  • Calculators owned: TI-83+, TI-84+


alexgt

Ndless could be causing it but I don't think so without Ndless it still takes 15 seconds to get into the stupid file manager <_<
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Jim Bauwens

Quote from: CKH4 on May 05, 2015, 07:59:06 PM
I'm kinda surprised, I would expect speed not to change between different oses. Did you do multiple tests or just one per os?

Naturally I ran the test multiple times. Besides that I take the average of thousand drawing operations. The reason is because in earlier versions they used a very unoptimized drawing routine. I expected it to be slow, but not that slow.

Quote from: alexgt on May 05, 2015, 08:02:09 PM
Ndless could be causing it but I don't think so without Ndless it still takes 15 seconds to get into the stupid file manager <_<
The only cause of this is unoptimized code.

CKH4

OK that sounds good, if I ever get an nspire I'll get this game. As a feature request you should make another not exact port one with more ground and maybe another gamemode like super jump or super speed.
  • Calculators owned: TI-83+, TI-84+


Jonius7

Quote from: Jim Bauwens on May 05, 2015, 05:34:53 PM
I just tested on 3.1 ...

TI-Nspire OS 3.1

draw image string: 222.6ms


That's about 15x slower than the other versions..

Holy crap, I've been still developing on 3.1, and I don't have a license of the TI-nspire Software, so I don't know how I'd use image resources.
  • Calculators owned: Casio CFX-9850, TI-Nspire
  • Consoles, mobile devices and vintage computers owned: HTC One, Huawei Honor 10
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC TI-nspire Hold 'em Health Bar Scissors Paper Rock
TI-nspire Lua Numstrat TI-nspire Hold 'em Lua Transport Chooser Secret Project (at v0.08.2 - 2015/05/08)

Adriweb

Cumulating demos of the TI-Nspire Computer Software (student and teacher editions), you get 4 months of trial :) I'd recommend using 3.6 or later (though 3.9 got some nice lua additions)
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Dream of Omnimaga

Quote from: CKH4 on May 05, 2015, 07:59:06 PM
I'm kinda surprised, I would expect speed not to change between different oses. Did you do multiple tests or just one per os?
In OS 3.1's case, there were massive improvements in image rendering in OS 3.2 or 3.6, explaining why it's so much slower in 3.1.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal