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 Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-08-2010, 06:52 AM   #1 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 28
jetwilson is on a distinguished road
Default Intergrating Cocos2D into my App?

Hi

I have an existing iPhone Game called Advanced ROX which I have just released onto the iTunes App store. However, I want to update the game to use Cocos2D to improve frame rate and other features.

After looking through and playing with Cocos2D I found that it does not use any NIB files. This is fine for me, I don't mind doing everything programatically however where possible I do like interface builder. Currently in my game I use a UIViewController for the MainMenu, OptionsMenu and MainGameView and then use UIViews within those for the different views you see in the game.

Is it at all possible to use and incorporate Cocos2D within my existing xcode project within my MainGameViewController so I do not have to create an entirely new project and code the whole game again from scratch using Cocos2D. Is this possible?

If any one could provide any answers or directions for me I would be very grateful.

Thank you.

Jetwilson.
__________________
Jetwilson

visit my twitter site for all news about my projects and apps in development.

Advanced ROX is now available on iTunes Worldwide!
http://itunes.com/apps/jetwilson/advancedrox
jetwilson is offline   Reply With Quote
Old 03-08-2010, 06:59 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 267
georgeburns is on a distinguished road
Default

There is a chance you could make it work... but it would probably take more time and headaches to do that than just starting from scratch. But you aren't really starting from scratch... your game logic is already done.
georgeburns is offline   Reply With Quote
Old 03-08-2010, 08:11 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2009
Location: Pittsburgh, PA
Posts: 19
n_dubbs is on a distinguished road
Send a message via AIM to n_dubbs
Default

I agree with georgeburns. You would be better off avoiding the headaches of troubleshooting the integration just by creating the UI in Cocos2d. It is very straightforward and it provides a TON of sample code to help you out.
n_dubbs is offline   Reply With Quote
Reply

Bookmarks

Tags
cocos2d, interface builder, intergrate, programaticallly

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: 347
10 members and 337 guests
2Apps1Day, akacaj, c2matrix, esoteric, givensur, HemiMG, mjnafjke, Pudding, SLIC, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

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