Results 1 to 7 of 7
  1.    #1  
    I'm coming from Palm development thinking, rather than iPhone type development and I'm trying to adjust to no stylus. With the Treo, you get used to quick rocker use to eliminate pulling out the stylus, but I'm trying to wrap my mind around card games with no stylus.

    Reading in the WebOS book, the standards are 48 px for a hit target. That makes for few cards on game "card". Are solitare style games and similar just much more spaced out on the iPhone? Do they allow adjusting for grabbing a little more forgiving than with a stylus based app?

    I'm wondering what people thinking about card programming with webOS. Images for cards or just images for suit and numbers, rendered into card widgets?
  2. #2  
    Quote Originally Posted by sacherjj View Post
    I'm coming from Palm development thinking, rather than iPhone type development and I'm trying to adjust to no stylus. With the Treo, you get used to quick rocker use to eliminate pulling out the stylus, but I'm trying to wrap my mind around card games with no stylus.

    Reading in the WebOS book, the standards are 48 px for a hit target. That makes for few cards on game "card". Are solitare style games and similar just much more spaced out on the iPhone? Do they allow adjusting for grabbing a little more forgiving than with a stylus based app?

    I'm wondering what people thinking about card programming with webOS. Images for cards or just images for suit and numbers, rendered into card widgets?
    Why not a landscape mode card game? I mean, for solitaire, things are wider than they are tall, and for other games such as blackjack, poker, etc, that's the way the table is laid out in a casino anyway.
  3.    #3  
    Quote Originally Posted by jhoff80 View Post
    Why not a landscape mode card game? I mean, for solitaire, things are wider than they are tall, and for other games such as blackjack, poker, etc, that's the way the table is laid out in a casino anyway.
    That is true and it would be very game dependent. For solitaire with vertical stacking, the portrait orientation still makes sense. What I'm thinking about is a 48 x 48 touch target * 10 cards is 480 pixels. You won't have the full window. So for a full stack of King to Ace is 14 cards. We are obviously going to have to get smaller. Just trying to figure out what is too small. I didn't know if anyone had experience with iPhone games for comparison. I don't plan on getting my first iPhone, just to help programming for the Pre.
  4. Khidr's Avatar
    Posts
    73 Posts
    Global Posts
    115 Global Posts
    #4  
    But in a solitaire game, the stacked cards are not all full hit targets. Once stacked, you'll typically only be seeing the full face of the bottom card. You could get away with only 1/4 to 1/5 of the surface visible for the stacked cards, just enough to see the top of the card.

    If you only show 12 px each for all of the cards but the exposed face card, it's a total length of 204px (156x + 48px for the exposed card). It actually leaves you with plenty of room.

    I'd recommend checking out some of the solitaire games from Palm OS on classic. I think the astraware solitaire game works pretty well, and I've had no problem manipulating it with my fat fingers. It's not ideal, but it also wasn't designed with the Pre in mind, so with some tweaking, a native card game would work well on the Pre.

    Just my thoughts.
  5.    #5  
    Quote Originally Posted by Khidr View Post
    If you only show 12 px each for all of the cards but the exposed face card, it's a total length of 204px (156x + 48px for the exposed card). It actually leaves you with plenty of room.

    I'd recommend checking out some of the solitaire games from Palm OS on classic. I think the astraware solitaire game works pretty well, and I've had no problem manipulating it with my fat fingers. It's not ideal, but it also wasn't designed with the Pre in mind, so with some tweaking, a native card game would work well on the Pre.
    This is exactly the problem, is 12 px high big enough of a hit target to grab a stack of cards (at the correct card) to move to another pile? I've seen tons of Palm OS card games and written some myself (been using and programming for Palms since Palm Personal). 12 px is easy to hit with a stylus, but harder with a finger. Most people I have seen play card games on the Palm or WinMobile use the stylus.

    This thread was mostly to get opinions from folks. I'm wondering what is too small. On my Treo 755p, the 14 px I see exposed in one of my Solitare games is really too small for me, unless I start to use my fingernail as a stylus substitute.
  6. #6  
    put zoom functions in the game... so you can zoom in and track on the screen as you move the card.. zoom out to see them all and zoom in to move that shouldn't be too bad. just like when browsing the web on the pre. zooming for links.
  7.    #7  
    I had not thought about the zooming aspect. Good point.

Posting Permissions