Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aztec31

macrumors newbie
Original poster
Sep 15, 2008
9
0
I want to develop a card game and would like some help/advice on how to get started on it and how to go about drawing the table, matt, and cards.

1) Is each card (king of diamonds, 10 of hearts, etc) a png file?
2) How do you go about drawing the table and matt where the cards will be placed on?
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
1) Can be, or you can composite the cards in your app: store a single blank card, the numbers (in 2 colours), the symbols etc and composite the graphics as you need them. This might well use a little less RAM

2) A big png? A smaller png and texture it across the screen?
 

aztec31

macrumors newbie
Original poster
Sep 15, 2008
9
0
Thanks for the reply Robbie. can you elaborate a little more an each point. What do you mean by texturing it. What software programs can I use to develop the graphics?
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Thanks for the reply Robbie. can you elaborate a little more an each point. What do you mean by texturing it. What software programs can I use to develop the graphics?

I mean tiling a smaller graphic so as it covers the entire screen. There may be a funky way to do this in OpenGL: I've no idea about that. Otherwise draw it in the bottom left, then to the right of that so there is no gap the the right of that and so on until the bottom of the screen is covered left to right, then move to the next row up and so on.

As to compositing the graphics, if you don't know how to do that I suggest you go and read up on you chosen graphics technology, either Quartz or OpenGL as this is so basic that you should really be researching it yourself.

Edit to add: use whatever graphics software you like. Photoshop, Seashore, Acorn, The Gimp, MS Paint via Bootcamp?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.