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 - NBonaparte

Pages: [1]
1
TI-Nspire / Re: 2048 for Nspire
« on: March 31, 2014, 07:57:43 pm »
I have the original vanilla version (attached).
Anyone want to help me with the scoring mechanism? I don't know exactly where I should put the command to add points to the score.
I think I've fixed the scoring issue (because I switched to the newer version with animations). To reduce the "confusion" when performing multiple moves rapidly, I increased the "8"s on tile:animate() to 40 and it seems to have made gameplay more fluid.
I will continue to play around with the program and attempt to add features. ;D
EDIT: I've created boxes for the score and highscore, as well as a button to restart. After a win/loss, a try again button will appear if you want to restart (even though the "new game" button is still there <_< ). It won't work with apilevel < 2.0 though.

2
TI-Nspire / Re: 2048 for Nspire
« on: March 31, 2014, 06:32:19 pm »
The keypad should work already.

I tried adding a score, but it didn't work perfectly (if there was a pair and they were not combined, you could cheat by pressing a direction repeatedly).
I've also implemented a highscore and restart button, but the button only works until one wins or loses (if one restarts the game after losing, restarting doesn't work). It might have to do with the "try again" button which I made to appear at the "game over" screen.
I've also been thinking to add animations but it might be too much for now.

Pages: [1]