Author Topic: [WIP] Unnamed Tetris clone  (Read 11769 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #30 on: July 07, 2014, 02:14:35 pm »
So as I said, I fixed the problems. The game is fully playable now (you still can't lose though).

I need grayscale calcs owners to test it out, I just added the driver for the timer in these.

Edit : I just realized I forgot to recompile it so this tns doesn't have the classic driver. :P Hold on a sec while I fix the compile error.
Edit 2 : Here we go, this one is correct.
« Last Edit: July 07, 2014, 02:30:27 pm by Streetwalrus »

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #31 on: July 07, 2014, 03:16:39 pm »
Makes me want to enter cemetech contest #12 for a nspire... No motivation though. I'm slightly slowing down on 83+ BASIC and focusing on my V200 now. And I have 1 year (barely) in programming experiance.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #32 on: July 07, 2014, 04:35:05 pm »
I programmed for about seven years on three different calcs. It was time for me to move on (although I'm not giving up on the 8x+ line :P).

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #33 on: July 08, 2014, 10:02:31 am »
Critical fix time ! :D I just fixed a very annoying bug that involved illegal memory writes (the crash issue, which was previously worked around and not actually fixed), and some pieces not spawning as well as lag upon spawn. Now it works a lot better.

So new version attached, and I still need someone to test it on grayscale calcs. :P

Oh, and not that it's necessary but the whole thing (including n2DLib) is now compiled with -Ofast.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55881
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: [WIP] Unnamed Tetris clone
« Reply #34 on: July 11, 2014, 10:50:39 pm »
Very good so far, although for some reasons key repeat rate seems a bit low. Maybe I,m too used to TetriZM though :P

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #35 on: July 12, 2014, 06:45:05 am »
No this was fixed too, just not uploaded. If you're talking about repeatedly tapping keys that is. :P I need to fix up the Classic timer driver and then I can upload that (yes Classic support is back).

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55881
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: [WIP] Unnamed Tetris clone
« Reply #36 on: July 12, 2014, 12:09:50 pm »
Oh I meant when holding down keys to make blocks fall down for example. It seemed slower than in other Tetris games.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #37 on: July 12, 2014, 02:22:16 pm »
Oh that can be tweaked don't worry. :P

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #38 on: July 17, 2014, 08:54:52 pm »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55881
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: [WIP] Unnamed Tetris clone
« Reply #39 on: July 17, 2014, 08:57:38 pm »
I hope this doesn't make it into the final game :P

Also I was expecting Hoffa's plasma animation in the background :P

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [WIP] Unnamed Tetris clone
« Reply #40 on: November 19, 2014, 12:10:26 pm »
Last week, I decided to pick this up again and add some much-needed features such as scoring and a bag algorithm (which prevents pieces from appearing too often)
Still far from finished, but at least I have something playable now!
Download link:
https://dl.dropboxusercontent.com/u/64788231/tetris001.tns

Source is on GitHub!

For developing, we use the n2DLib library, which sadly has a bug which prevents timers from working on grayscale models. This will hopefully be fixed in a next version, but till then, you can't run Tetris on a grayscale Nspire. Sorry!

Controls:
Up[8]: rotate piece
Left[4]/Right[6]: move piece left/right
Down[5/2]: Drop piece
Esc: quit
Just ignore the values on the right, except the top one. They're used for debugging and I just uploaded the latest stable debug version to my Dropbox ;)
« Last Edit: November 20, 2014, 02:01:20 pm by aeTIos »
I'm not a nerd but I pretend:

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #41 on: November 19, 2014, 12:14:50 pm »
For developing, we use the n2DLib library by matrefeytontias, which sadly has a bug which prevents timers from working on grayscale models. This will hopefully be fixed in a next version, but till then, you can't run Tetris on a grayscale Nspire. Sorry!
Lol said bug is my fault actually since matref copied my timer driver and I left the bug in there. :P

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #42 on: November 19, 2014, 05:09:27 pm »
n2DLib library by matrefeytontias
Still thinking that lib is from matref, eh ?
Ok, he's the one who wrote the most interesting parts and probably most code too, and is probably the only one to still be working on it, but he was the third one to join the "team".
And Ok, saying "n2Dlib by Hayleia, pierrotdu18 and matref" might be a bit erroneous since I only worked on it at the very beginning (and I don't know about pierrotdu18 and about potential other contributors), but why not just say "n2Dlib" ?
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 Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [WIP] Unnamed Tetris clone
« Reply #43 on: November 20, 2014, 12:47:23 am »
Is this the one I saw yesterday on hcwp? If so, then it is looking sweet ^.^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [WIP] Unnamed Tetris clone
« Reply #44 on: November 20, 2014, 05:39:25 am »
Yes it's this one. We kind of started the project together, I ended up writing most of it and then aeTIos took it over since we'd kinda dropped it and he needs to sharpen his C skills. :P