Author Topic: TI-2048 by Josiah W.  (Read 20921 times)

0 Members and 1 Guest are viewing this topic.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
TI-2048 by Josiah W.
« on: May 22, 2014, 08:15:13 pm »
I have worked for months on this game, and it is FINALLY ready for a release! ;D
Click the gif image to jump to the latest version!

TI-2048
Join the numbers and get to the 2048 tile!

HOW TO PLAY: Use your arrow keys to move the tiles. When
two tiles with the same number touch, they merge into one!

NOTE: This is not the official version of 2048; it is simply a port.
You can play the original at http://git.io/2048. All other apps or
sites are derivatives or fakes, and should be used with caution.

Port created by Josiah Winslow, with help from the Omnimaga
community. Original game created by Gabriele Cirulli. Original
based on 1024 by Veewo Studio and conceptually similar to
Threes by Asher Vollmer.

Please help me with optimizations and play testing, everyone! Give me any suggestions you can! Seriously, my code is kinda hackish right now. XD

NOTE: This requires A2048 and LIB3BYTE on your calc to compile properly. I'll compress it soon, I promise.
This also saves your highscore in an appvar called "TI2048". It is automatically archived upon exit.

Spoiler For Credits:
Hayleia for providing tile graphics, and moral support.
Runer112 for general support, a library giving me access to 3-byte numbers, and giving me the sliding algorithm that eluded me for SO long! I know I told you this before with another project, but this would only have been an idea without you!
willrandship for...something I forget. Optimization? :/ I swear, this project is really taking a toll on my memory.
The whole Omnimaga community for giving me support along the way!

Spoiler For Version History:
v1.0: 5,761 bytes. Initial release.
v1.1: 5,845 bytes. Fixed score display bug upon win.
« Last Edit: June 01, 2014, 04:16:49 pm by JWinslow23 »
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Joshuasm32

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 142
  • Rating: +19/-7
    • View Profile
    • Network
Re: TI-2048 by Josiah W.
« Reply #1 on: May 23, 2014, 12:01:33 am »
That's very nice, and fast too!  Good work.  :)
My name is Josh and I a developer at Moonzean. I enjoy Radiohead, web development, Java, and cryptograms.
Spoiler For No Surprises, by Radiohead:
A heart that's full up like a landfill
A job that slowly kills you
Bruises that won't heal

You look so tired unhappy
Bring down the government
They don't, they don't speak for us

I'll take a quiet life
A handshake of carbon monoxide

And no alarms and no surprises
No alarms and no surprises
No alarms and no surprises
Silent, silent

This is my final fit
My final bellyache

With no alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Such a pretty house
And such a pretty garden

No alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-2048 by Josiah W.
« Reply #2 on: May 23, 2014, 12:18:21 am »
Looks very nice and fun to play. Good job on this program :)

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #3 on: May 23, 2014, 12:32:14 am »
Thanks, both of you. :)
Now for some optimization... *cough*MatrefRunerHayleia*cough*
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #4 on: May 23, 2014, 12:41:58 am »
FINALLY ! I thought my graphics would be of no use.
jk :P

Glad to see it out :)
However, I won't be able to help with optimization before two weeks (exams), sorry -.-
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 JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #5 on: May 23, 2014, 12:47:10 am »
That's OK, Hayleia. I can wait.
Meanwhile, time to try some things of my own...
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-2048 by Josiah W.
« Reply #6 on: May 23, 2014, 12:50:36 am »
Optimization practicing is always good :)

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #7 on: May 23, 2014, 02:28:02 am »
NOTE: This is not the official version of 2048; it is simply a port.
You can play the original at http://git.io/2048. All other apps or
sites are derivatives or fakes, and should be used with caution.
Lol. ;D
Nice to see it finished at last. :D

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: TI-2048 by Josiah W.
« Reply #8 on: May 23, 2014, 10:45:10 am »
Nice to see this complete!

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

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #9 on: May 23, 2014, 07:42:10 pm »
Well, I'm not done yet...there's still some stuff I wanna add... >:D
But yeah, tell me what you think of the gameplay and stuff like that.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: TI-2048 by Josiah W.
« Reply #10 on: May 23, 2014, 11:12:38 pm »
Looking good! I like the smoothness. :)

Port created by Josiah Winslow, with help from the Omnimaga
community. Original game created by Gabriele Cirulli. Original
based on 1024 by Veewo Studio and conceptually similar to
Threes by Asher Vollmer.


*cough*THREESMASTERRACE*cough*
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #11 on: May 24, 2014, 12:07:30 am »
Why did you direct me to http://games.usvsthm.com/2048/masterrace-edition/ , bb010g? :P But yeah, I worked on the animations a LONG time. O.O
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #12 on: May 24, 2014, 04:18:13 am »
I just tried it now. I have to say the graphics are awesome (/me runs :P) but why are animations not that smooth ? They seem to move by 2 pixels each frame instead of one and they seem to be slower when more tiles move.
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 Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #13 on: May 24, 2014, 09:56:16 am »
I just tried it now. I have to say the graphics are awesome (/me runs :P) but why are animations not that smooth ? They seem to move by 2 pixels each frame instead of one and they seem to be slower when more tiles move.

I'm assuming that was to remedy the previous issue with animations being much slower, to the point where they would probably interfere with gameplay. I'd rather have a slightly choppy animation that finishes quickly than one that's smooth but puts a significant limit on playing speed.
« Last Edit: May 24, 2014, 09:58:31 am by Runer112 »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: TI-2048 by Josiah W.
« Reply #14 on: May 24, 2014, 10:07:38 am »
Well yeah but nikitouzz's version doesn't have those lags. Ok, this one is in grayscale and has bigger sprites but that shouldn't slow it that much, should it ?
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