Calculator Community > Lua

Smooth Key Input

(1/1)

Munchor:
I was wondering if it's possible to achieve this in Lua, as it's a high level language I'm not sure if we can.

In a Mario game for Nintendo Consoles, we press <RIGHT> and the sprite immediately goes right. However, in the Nspire if we press right the image will move once, pause for a bit and then start moving (and it won't pause again until we release key).

So, can it be done?

ExtendeD:
Unfortunately no. The TI-Nspire Lua API is limited, and not game-oriented :(

Munchor:

--- Quote from: ExtendeD on June 14, 2011, 05:37:04 pm ---Unfortunately no. The TI-Nspire Lua API is limited, and not game-oriented :(

--- End quote ---

That's too bad, thanks for the information. Go Ndless and C and ARM!

Deep Toaster:
I guess it's sort of like BASIC -- there's only one way to do anything, and it's the way that TI implemented it.

EDIT: At least it's an improvement on BASIC, where there was sometimes less than one way of doing something <_<

Navigation

[0] Message Index

Go to full version