Author Topic: nTris - Tetris for nSpire -  (Read 78147 times)

0 Members and 1 Guest are viewing this topic.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 728
  • Rating: +153/-23
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #90 on: September 24, 2012, 03:48:47 am »
Those changes are great, and thanks for the keys  :D
Thanks!
This one is less great, I liked how the game was customizable by the user :(
Well, now that you have the source code, you can always revert it back.  It's so easy, you so should give it a try. ;)
Quote
There was something too that I found annoying with the game: pressing the down key makes the piece fall but holding down the key does nothing (I mean it gets down by one case then stops instead of keeping falling)
Me too, but just a little. One thing i forgot to mention in the "instructions" above, is that the user can always press the 'space-bar' to force the piece to fall to the bottom at once. Hope it helps.

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #91 on: September 24, 2012, 04:00:26 am »
Quote
There was something too that I found annoying with the game: pressing the down key makes the piece fall but holding down the key does nothing (I mean it gets down by one case then stops instead of keeping falling)
Me too, but just a little. One thing i forgot to mention in the "instructions" above, is that the user can always press the 'space-bar' to force the piece to fall to the bottom at once. Hope it helps.
You could just add something like SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL) during initialization and remove any dirty hacks that do exactly that but manually (I had a very quick look at the code, I think it's when pressing the horizontal arrow keys that it's done manually).
« Last Edit: September 24, 2012, 04:04:07 am by hoffa »

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 728
  • Rating: +153/-23
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #92 on: September 24, 2012, 09:42:55 am »
You could just add something like SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL) during initialization and remove any dirty hacks that do exactly that but manually (I had a very quick look at the code, I think it's when pressing the horizontal arrow keys that it's done manually).
Thanks for the tip! I haven't tried it yet but i will as soon as i can. I really need to have a second look at the code and get rid of a lot of useless lines. In the meantime, i hope the 'rand()' crash-thing gets sorted.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #93 on: September 24, 2012, 11:03:31 am »
This one is less great, I liked how the game was customizable by the user :(
Well, now that you have the source code, you can always revert it back.  It's so easy, you so should give it a try. ;)
Because you think I am able to set up the SDK ? :P
Don't you remember that I even had problems to start karmTI which is supposed to be easy to set up ? So even the new graphical sdk for Ndless would cause problems to me :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #94 on: September 25, 2012, 10:31:57 pm »
Omg the graphics of nTris is AMAZING.  Absolutely beautiful. Can't wait for a high score implementation >:D
« Last Edit: September 25, 2012, 10:32:05 pm by AzNg0d1030 »
You just lost the game.



Offline AaroneusTheGreat

  • Moderator
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 287
  • Rating: +26/-1
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #95 on: September 25, 2012, 10:52:44 pm »
Yay Tetris! Finally!

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #96 on: September 25, 2012, 11:03:15 pm »
Haha high score of 809,713, on level 14, with 146 lines :D
Panic started kicking in and I started pressing the wrong buttons...

Btw, can the button that auto drops them to the bottom be a bit closer, like a button around the numbers? The space bar is kind of far... D:
You just lost the game.



Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #97 on: September 26, 2012, 07:44:09 am »
Awesome work !
The graphics are really beautiful, I think this is the best tetris for the Nspire yet...

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: nTris - Tetris for nSpire -
« Reply #98 on: September 26, 2012, 07:47:57 am »
Indeed the graphics are beautiful, but you may have not heard of this on , which is pretty nice too graphics-wise :D
(well, it's based of the official one)

My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #99 on: September 26, 2012, 08:02:49 am »
Yes, I know this one, I even have it on my calculator.
The graphics are awesome too, but there are several problems :
-sometimes you loose without any reason
-the feature to "hold" blocks is really buggy.

(maybe there is a new version whith bugfixes, I would be happy to download it)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #100 on: September 26, 2012, 11:46:13 am »
Indeed the graphics are beautiful, but you may have not heard of this on , which is pretty nice too graphics-wise :D
(well, it's based of the official one)


Well you may not have noticed that the background of nTris is customisable ;)

Also, why do you link to the TI-Planet archive of an Omnimaga project which has a topic here ? :P
You did the same with Gossamer on Cemetech too :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: nTris - Tetris for nSpire -
« Reply #101 on: September 26, 2012, 01:39:58 pm »
Quote
Well you may not have noticed that the background of nTris is customisable ;)
Indeed I didn't know.

Quote
Also, why do you link to the TI-Planet archive of an Omnimaga project which has a topic here ? :P
Because I knew how to find it quickly there, not here :)

Quote
You did the same with Gossamer on Cemetech too :P
Indeed, since it was a copy/paste of the english news on TI-Planet.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #102 on: September 26, 2012, 02:08:36 pm »
Well, as a Omnimaga newser care should be taken for not making Omnimaga.org as a bare redirection to TI-Planet by editing the links in the posts. It would  help to miss-interpreting your posts as being mainly advertisements for TI-Planet.
Ndless.me with the finest TI-Nspire programs

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: nTris - Tetris for nSpire -
« Reply #103 on: September 26, 2012, 02:39:52 pm »
Well, as a Omnimaga newser care should be taken for not making Omnimaga.org as a bare redirection to TI-Planet by editing the links in the posts. It would  help to miss-interpreting your posts as being mainly advertisements for TI-Planet.
Sure. In important posts tho, I take the required time to make it as good as possible, here, is was just a reference to another program I had in mind, obviously not an ad.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: nTris - Tetris for nSpire -
« Reply #104 on: September 26, 2012, 05:12:10 pm »
Ah yes, Nick's version of Tetris in Lua. I helped test his, although I haven't seen him on the forums in awhile...
You just lost the game.