Author Topic: Solitaire Card Graphics  (Read 14316 times)

0 Members and 2 Guests are viewing this topic.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Solitaire Card Graphics
« on: April 12, 2014, 03:09:31 am »
As some of you may be aware, I've been working on a Solitaire clone for the TI-84 Plus C SE. The game is fully functional, but is lacking face card graphics. The graphics need to be 24 pixels wide by 25 pixels high. I need graphics for the J, Q, and K of each suit. See the attached images for what the game currently looks like, and templates for the current graphics. The areas marked in gray are part of the card's suit and rank indicator, and are not usable. There is enough space remaining in the app for ten 4-color graphics, or twenty 2-color graphics. A combination of the two would also work (e.g. eight 4-color graphics and four monochrome graphics), and might produce the best result, since there isn't enough space for twelve 4-color graphics.

Yes, you get a credit on the about screen.

EDIT: There's going to be over 1500 bytes left without the graphics, and each 4-color sprite would be about 150 bytes, so there's space for ten---not eight---4-color graphics.
« Last Edit: April 15, 2014, 04:58:32 pm by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Solitaire Card Graphics
« Reply #1 on: April 24, 2014, 04:58:36 pm »
I've tried my hand at creating sprite graphics. I'm having a lot of trouble adapting the graphics to a low resolution. If I try to make the images top/bottom symmetric, everything is so small that the image isn't clear if you stand back. But I'm not sure that abandoning symmetry looks any better. And does it even make any sense to do it this way?

Attached are the old Windows graphics, and also two different versions of the king graphic. Thoughts?

I've also freed up some more space by moving interrupts back into RAM. It's less crash-resistant, but doing so frees enough space for a full twelve 4-color images. There'll be about 100 free bytes left with 12 images. Each image can have its own unique 4-color palette, though the background will need to be white if you want it to match.
« Last Edit: April 26, 2014, 11:19:08 pm by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

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: Solitaire Card Graphics
« Reply #2 on: April 26, 2014, 11:59:45 pm »
I actually prefer the 2nd one.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Solitaire Card Graphics
« Reply #3 on: April 27, 2014, 12:01:30 am »
Yeah, I like the 2nd one better.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

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: Solitaire Card Graphics
« Reply #4 on: April 27, 2014, 05:20:09 am »
Yup, I like the second one more too :)

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: Solitaire Card Graphics
« Reply #5 on: April 29, 2014, 12:20:03 pm »
Yeah more details=better. ;)

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Solitaire Card Graphics
« Reply #6 on: May 02, 2014, 05:40:02 am »
I've been working on more graphics. Here is a test with kings and jacks completed; I haven't gotten around to doing queens, for which I've been considering replacing yellow or red in the palette with blue (each card is allowed to have a different palette). I'm not entirely certain that these giant faces mesh well with the graphics of the rest of cards.

There are exactly 143 free bytes remaining with all 12 graphics.
« Last Edit: May 02, 2014, 06:15:58 am by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Solitaire Card Graphics
« Reply #7 on: May 02, 2014, 08:13:26 am »
I'm not entirely certain that these giant faces mesh well with the graphics of the rest of cards.
You should try redesigning the normal cards in the face style.
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 DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Solitaire Card Graphics
« Reply #8 on: May 02, 2014, 08:59:25 am »
I'm not sure what you're suggesting. Are you suggesting I make the suits bigger? The layout doesn't really allow for it. Are you suggesting I change the graphic so it's just one giant suit?

Besides, those aren't actually graphics; each suit is printed separately, so there's just four suit graphics and a list of where they go on each rank (the list is just 104 bytes, including look-up table). There isn't room to add 40 more graphics of any kind, if that's what you're suggesting.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Solitaire Card Graphics
« Reply #9 on: May 02, 2014, 10:06:09 am »
I'm thinking a bit of the Windows 7 solitaire with the large suits. It only does one graphic per card and relies upon the number for rand identification.
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 DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Solitaire Card Graphics
« Reply #10 on: May 04, 2014, 03:02:52 am »
So something like this? It seems like a strange style to me, though.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Solitaire Card Graphics
« Reply #11 on: May 04, 2014, 08:19:03 am »
So something like this? It seems like a strange style to me, though.

Seems strange to me, too. Although aces usually do have that large suit symbol, so if you could keep that in only for aces, that would be a nice touch.

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: Solitaire Card Graphics
« Reply #12 on: May 04, 2014, 09:19:49 am »
That negative looks odd IMO O.O

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: Solitaire Card Graphics
« Reply #13 on: May 04, 2014, 10:22:34 am »
I think inverted colors are some kind of cursor.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Solitaire Card Graphics
« Reply #14 on: May 07, 2014, 01:54:37 am »
I think inverted colors are some kind of cursor.
Yes.

Seems strange to me, too. Although aces usually do have that large suit symbol, so if you could keep that in only for aces, that would be a nice touch.
It would use up every remaining free byte, if I managed to pull it off.

In other news, I really don't think this works. Perhaps I should try to rework the faces to be much smaller and make the background some kind of simple pattern, though it'll be really hard to do in four colors.
« Last Edit: May 07, 2014, 02:01:38 am by DrDnar »
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC