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 > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 10-25-2011, 12:27 AM   #1 (permalink)
iOS Developer
 
Join Date: Oct 2011
Posts: 4
rajpk is on a distinguished road
Default Help About COCOS2D More Games

hi
i am newbie in field of iOS. currently i am working on cocos2d game. i have a menu item "More Games" clicking on this will result a UITableView which will contain list of games. clicking on specific link in UITableView takes user to specific game on App Store.

mine questions are
1) how to integrate UITableView in cocos2d (or is there any alternative to this)
2) whats script or code that will take user to game on app store

please if you have code or tutorial for this purpose i will be thankful to you.

thanks
rajpk is offline   Reply With Quote
Old 10-26-2011, 12:49 PM   #2 (permalink)
Registered Member
 
mediaspree's Avatar
 
Join Date: Sep 2011
Posts: 179
mediaspree is on a distinguished road
Default

mine questions are
1) how to integrate UITableView in cocos2d (or is there any alternative to this)
2) whats script or code that will take user to game on app store

1. I would perhaps look into CCMenu to create a menu of games

2. Use this to open the app store to an app:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.com/apps/appName"]];
mediaspree is offline   Reply With Quote
Old 10-26-2011, 01:20 PM   #3 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 22
Krillere is on a distinguished road
Default

CCMenu wouldn't get you anywhere when using tableviews.

Something like this:
Code:
[[[CCDirector sharedDirector] openGLWindow] addSubView:myView];
(Not sure about the openGLWindow part, but the rest is right. :-)

You would have to create the view programmatically, though.
Krillere is offline   Reply With Quote
Old 10-30-2011, 10:53 AM   #4 (permalink)
iOS Developer
 
Join Date: Oct 2011
Posts: 4
rajpk is on a distinguished road
Default

hi

@mediaspree
your first answer is not related. but your second answer is helpful for me. i will definitely try this code.
thanks for your answer

@krillere
thanks for your answer. i am trying your suggestion but facing problem. hopefully i will get it done

thanks both of you and any other who have read my thread and want to help
rajpk is offline   Reply With Quote
Reply

Bookmarks

Tags
cocs2d, more game

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 374
10 members and 364 guests
apatsufas, comicool, Creativ, Dalia, dansparrow, LunarMoon, mer10, Murphy, pbart, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:59 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0