Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-17-2009, 01:40 PM   #2 (permalink)
will.ray
Registered Member
 
Join Date: Mar 2009
Posts: 174
will.ray is on a distinguished road
Default

Quote:
Originally Posted by soulofdragnsfire View Post
just wondering if anyone can point me towards a card game example? i.e. moving cards around with touch, to predetermined points, etc. or if you have a selection of cards on screen, being able to add them to your "hand" or remove from your "hand"?

if anyone happens to have any ideas or examples on how this may be accomplished, that would be greatly appreciated.

I posted a thread a week or so ago with my deck of cards object and card object.... this as much the graphical side, but just the base deck of cards. I wrote some more code, but haven't posted it yet...

http://www.iphonedevsdk.com/forum/ip...rs-review.html

i made the class as simple as possible you can add the class to your project and make an NSMutableArray that is your hand and add card objects as you pull them off the deck.

I am open to discussion, I like bouncing ideas I used this class to create a card game I am almost done with....
will.ray is offline   Reply With Quote
 

» Advertisements
» Online Users: 456
18 members and 438 guests
apatsufas, baja_yu, buggen, ChrisYates, Feldspar, HowEver, ilmman, IphoneSdk, jNoxx, Kieren Harrold, mer10, Paul Slocum, RobTaku, rraagg, Rudy, taylor202, TheStalker, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,635
Threads: 94,098
Posts: 402,804
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sadevb61
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.