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 08-16-2010, 12:24 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 3
trackstar38519 is on a distinguished road
Default Cocos2d-Menu Creation

Hi there, I am new to iPhone developing and have created a game using Cocos2d. I have the game in a scene running but want to add a menu at launch to select to start the game, rather than it starting by itself. I can not find a clear tutorial anywhere and could use some help here. Thanks!
trackstar38519 is offline   Reply With Quote
Old 08-16-2010, 12:46 PM   #2 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 342
flamingliquid is on a distinguished road
Default

A tutorial on Cocos2D menu's, straight off the Cocos2D website.

prog_guide:lesson_3._menus_and_scenes - cocos2d for iPhone
__________________
17 year old nerd.
Send me a PM. Maybe I can help.
flamingliquid is offline   Reply With Quote
Old 08-16-2010, 01:12 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 3
trackstar38519 is on a distinguished road
Default

Quote:
Originally Posted by flamingliquid View Post
A tutorial on Cocos2D menu's, straight off the Cocos2D website.

prog_guide:lesson_3._menus_and_scenes - cocos2d for iPhone
hank you for that link, but I am unclear as to where I put all those parts of code. do i create a new scene? or add it to an existing scene? Sorry, I am new at this! So if anyone could just specify where each parts of those code goes, that would help so much!

Thanks.
trackstar38519 is offline   Reply With Quote
Old 08-16-2010, 03:02 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 3
trackstar38519 is on a distinguished road
Default

bump? anyone able to help? can not get this right! im a noob at this.
trackstar38519 is offline   Reply With Quote
Old 08-16-2010, 03:17 PM   #5 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

IMO, each new "Screen" in your application should be its own scene, so depending on where your menu will be displayed, it may need to be inits own scene.
smithdale87 is offline   Reply With Quote
Reply

Bookmarks

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: 358
4 members and 354 guests
givensur, linkmx, Newbie123, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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