While using cocos2D you may need to create some scenes with menu items on it. This example given below shows , how to create a cocos2D menu scene with menu items using images. You can have your own custom fancy image text indicating menu items using this.

//Creating the three menu items.
//You can use different images for selected view & normal view.
//On clicking menu will show selectedImage
CCMenuItemImage *Item1 = [CCMenuItemImage

CCMenuItemImage *Item2 = [CCMenuItemImage

CCMenuItemImage *Item3 = [CCMenuItemImage

//Adding menu items to the CCMenu. Don't forget to include 'nil'
CCMenu *selectMenu= [CCMenu menuWithItems:Item1, Item2, Item3, nil];
//Aligning & Adding CCMenu child to the scene
[selectMenu alignItemsVertically];
[self addChild:selectMenu];

//Different functions on below get called according to the menu item clicked.
- (void)walkAction:(id)sender
    [[CCDirector sharedDirector] replaceScene:[WalkingScene node]];

- (void)runAction:(id)sender
   [[Director sharedDirector] replaceScene:[runningScene node]];

- (void)jumpAction:(id)sender
    [[Director sharedDirector] replaceScene:[jumpingScene node]];




  1. 搜證 June 12, 2011 at 12:42 am

    Good idea, Can be considered a learned thing, ok;

  2. webcamsex shemale June 13, 2011 at 3:05 pm

    Hello webmaster. I like your blog about Cocos2D CCMenu – An Example | Coderz Heaven.

    But i have a question not related to subject: Do you use a seperate posting program or do you make your blogs in the wordpress admin? If you post your answer here below, i will read this in the next couple of day’s.

    Thanks webcamsex shemale

    • James June 13, 2011 at 8:44 pm

      This site is in WordPress.

  3. sennheiser headphones June 14, 2011 at 6:12 pm

    Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.

    • Malik June 14, 2011 at 8:19 pm

      @Sennheiser Headphones-> :)very glad to see the nice comment… thank you so much…

  4. Gavin Corkern June 16, 2011 at 2:36 am

    I love your composing design, do proceed composing! I’ll be back again!

    • Malik June 23, 2011 at 10:15 pm

      thank you……

  5. when is the dota2 release date June 16, 2011 at 4:07 am

    This web site just created my week! I have been searching around for data on this. I’m glad now that I ran across this webpage. Woohoo!

    • Malik June 23, 2011 at 10:15 pm

      🙂 thank you….

  6. Benjamin Kirmer June 18, 2011 at 12:43 pm

    Fantastic write-up! Very high-quality line between “key phrase stuffing” and using which key phrase(s) in your title, outline, H1, bullets, and paragraphs (alt textual content) on the house web page or various key terms on sub-pages. We normally try to use the main keyword on the house page concerning 5 occasions as naturally as achievable. Various key phrases on sub-pages 2-3 and 2 occasions in blogs. Nick any thoughts on numbers. I realize just about every site is different, but you even now necessity a avenue map and each and every site even now solely has 1 landing web page.

  7. power wheelchair June 19, 2011 at 12:23 am

    An extremely interesting examine, I may possibly not agree fully, however you do make some quite valid points.

  8. conical burr grinder June 19, 2011 at 3:45 pm

    I surely did not understand that. Learnt something new right now! Thanks for that.

  9. Traghetti Grecia Italia June 20, 2011 at 10:52 am

    Thanks man. That was cool hearing

  10. Dental Tourism Mexico June 20, 2011 at 1:08 pm

    Hey! That’s a really nice post. I’m very sure I will suggest it to my co-workers.If you publish more posts please email them to me.

  11. Pingback: mmog

  12. Carly Friis June 21, 2011 at 3:51 am

    Nice! Thanx! I always wanted to write in my blog something like that. Would it be OK if I take part of your post to my blog?

  13. Danica Coklow June 21, 2011 at 4:11 am

    It’s not that I want to replicate your web-site, but I really like the design. Could you tell me which design are you using? Or was it custom made?

    • Malik June 23, 2011 at 10:17 pm

      magpress wordpress design….

  14. Luke Atwater June 21, 2011 at 5:00 am

    Just want to say your article is as astonishing. The clearness in your post is just great and i can assume you are an expert on this subject. Well with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the rewarding work Bogføring

    • Malik June 23, 2011 at 10:17 pm

      we will… and thank you for paying attention…

  15. gential warts June 21, 2011 at 7:29 am

    Hi there, just located your website through Google, and located it to be really informative. Cheers!

    • Malik June 21, 2011 at 9:30 pm

      @Gential Warts-> thank you frnd…

  16. electric wall heaters June 21, 2011 at 8:57 am

    There are some interesting points in time in this article but I don’t know if I see all of them center to heart. There is some validity but I will take hold opinion until I look into it further. Good article , thanks and we want more! Added to FeedBurner as well

    • Malik June 21, 2011 at 9:29 pm

      thank you…

  17. Great Wolf Lodge Coupons June 21, 2011 at 9:23 am

    Hi I absolutely dig this article and it is too informational so I am gonna save. One thing to say the Superb research you have done is greatly exceptional . No one does that additional research these days? Bravo 🙂 Also one more suggestion to you is that you caninstall any Translator for your Global Audience 🙂

    • Soorya June 21, 2011 at 8:53 pm

      ya sure…

  18. image capture June 21, 2011 at 9:43 am

    I do not even know how I ended up here, but I thought this post was great. I do not know who you are but definitely you’re going to a famous blogger if you aren’t already 😉 Cheers!

    • Soorya June 21, 2011 at 8:52 pm

      great inspirational comment friend.Hope we can achieve that

  19. Great Wolf Lodge Coupons June 21, 2011 at 10:53 am

    Hello I absolutely like your article and it has been so excellent thus I am gonna save. One thing to say the Superb research you have done is trully exceptional !! Who goes that extra mile these days? Hats off to You !!! Also another tip you definetlyget any Translator for your Global Users .

    • Soorya June 21, 2011 at 8:49 pm

      thanks for your support..

    • Malik June 21, 2011 at 9:29 pm

      Great Wolf Lodge Coupons-> thank you…

  20. online roulette casino June 21, 2011 at 4:07 pm

    I’m not in a position to view this website properly on chrome I think there’s a downside

    • Soorya June 21, 2011 at 8:48 pm

      no frnd..we mainly use chrome…there is no problm

  21. dota 2 release date June 21, 2011 at 4:09 pm

    This internet site is really a walk-through for all the info you wanted about this and didn’t know who to ask. Glimpse here, and you will actually find it.

  22. costume queen June 21, 2011 at 7:22 pm

    Good write-up, I am normal visitor of one’s web site, maintain up the excellent operate, and It is going to be a regular visitor for a long time.

    • Malik June 23, 2011 at 10:18 pm

      thats nice… 🙂

  23. Malik June 21, 2011 at 9:26 pm

    @Costume Queen-> Thank you…

  24. Malik June 21, 2011 at 9:26 pm

    @Dota 2 Release Date-> that’s what we intended for…

  25. QRP June 21, 2011 at 10:47 pm

    I was very pleased to find this web-site.I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

  26. replica watches June 21, 2011 at 11:39 pm

    thanks for this excellet insightful post

  27. halloween June 22, 2011 at 12:28 am

    Good web site! I truly love how it is easy on my eyes and the data are well written. I’m wondering how I could be notified when a new post has been made. I’ve subscribed to your RSS which must do the trick! Have a nice day!

  28. how to make jar candles June 22, 2011 at 6:03 am

    Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed surfing around your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon!

  29. Southwest Promo Code June 22, 2011 at 7:27 am

    Man I like this comment and it was so fabulous and I am definetly going to save it. I Have to say the Superb analysis you have done is greatly remarkable.No one goes that extra mile these days? Bravo!!! Just another suggestion you caninstall a Translator for your Worldwide Readers !

  30. hublot June 22, 2011 at 7:38 am

    thanks for this excellet insightful post

  31. Marry Nohe June 22, 2011 at 7:42 am

    I am curious to find out what blog system you’re using? I’m having some small security problems with my latest site and I would like to find something more safe. Do you have any recommendations?

  32. Hotels in Athens June 22, 2011 at 11:44 am

    Excellent blog here! Also your website loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol

  33. Pests Control Gramercy  NYC June 22, 2011 at 1:26 pm

    Hello, you used to write fantastic, but the last few posts have been kinda boring… I miss your tremendous writings. Past few posts are just a little out of track! come on!

  34. lcd tv prices india June 22, 2011 at 1:31 pm

    Thanks dude. It has been nice knowing

  35. Athens Hotels June 22, 2011 at 4:17 pm

    Great artical, I unfortunately had some problems printing this article out, The print formating looks a little screwed over, something you might want to look into.

  36. how to eradicate bed bugs upper west side June 22, 2011 at 4:19 pm

    I do not even know how I ended up right here, however I believed this post was good. I do not realize who you are but definitely you are going to a famous blogger if you are not already 😉 Cheers!

  37. tmj surgery June 22, 2011 at 5:59 pm

    I’m not sure where you’re getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic information I was looking for this information for my mission.

  38. my asian gf June 22, 2011 at 6:46 pm

    Like any blog article I always have an opinion and I like this one so I subscribed to your RSS This is very intresting. I have joined your feed and look forward to seeking more of your great post.

  39. Framingham Realtor June 22, 2011 at 10:30 pm

    I discovered this site by performing a key phrase look for my niche. I am so glad I stumbled on your site. You’ve yourself a loyal reader now.

  40. caring for roses June 23, 2011 at 12:21 am

    Lovely site! I am loving it!! Will be back later to read some more. I am bookmarking your feeds also

  41. 02 Sim Cards June 23, 2011 at 1:49 am

    I enjoy the helpful information you produce in your posts. I’ll bookmark your site and check again here frequently. I’m quite sure I will learn lots of new information right here.

  42. Pingback: Kasper Suits

  43. centro benessere June 23, 2011 at 5:16 am

    First-class news it is surely. I have been waiting for this information.

  44. Sanjuana Lairson June 23, 2011 at 3:45 pm

    Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that.

  45. Landmann Gasgrill June 23, 2011 at 4:04 pm

    Hey there just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Firefox. I’m not sure if this is a format issue or something to do with browser compatibility but I figured I’d post to let you know. The layout look great though! Hope you get the problem resolved soon. Thanks

  46. Lorelei Herner June 23, 2011 at 4:38 pm

    Do you want to consider interchanging hyperlinks?

  47. videosxxx June 23, 2011 at 5:00 pm

    Eye-catching document, but in my perspective question haven’t been exhausted. I hope for further development of the topic, I’ll be watching for sequential entries. I look forward to additional entries.

  48. bed bugs nyc June 23, 2011 at 5:26 pm

    Normally I don’t learn post on blogs, however I would like to say that this write-up very compelled me to check out and do so! Your writing taste has been amazed me. Thank you, quite great post.

  49. fumigation new york city June 23, 2011 at 6:10 pm

    hi!,I like your writing so much! proportion we communicate more approximately your post on AOL? I need an expert on this space to resolve my problem. May be that’s you! Having a look ahead to look you.

  50. patek phillippe June 23, 2011 at 6:25 pm

    excellent article, very related to my interest thank you so much

  51. sennheiser headphone June 23, 2011 at 6:47 pm

    After study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think.

  52. pest control price ny June 23, 2011 at 8:01 pm

    I have been exploring for a little bit for any high quality articles or blog posts on this kind of house . Exploring in Yahoo I finally stumbled upon this site. Reading this info So i am satisfied to exhibit that I’ve a very just right uncanny feeling I discovered just what I needed. I so much definitely will make sure to do not overlook this web site and give it a glance a continuing.

  53. trucos guerras tribales June 23, 2011 at 8:53 pm

    dude, this is so cool you are a pro blogger

    • Malik June 23, 2011 at 10:14 pm


  54. Elisa Jazwa June 23, 2011 at 9:41 pm

    I’m not sure if you notice this but, your blog isn’t working in internet explorer.

  55. Linh Morelen June 23, 2011 at 10:10 pm

    I was suggested this web site by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my problem. You are amazing! Thanks!

  56. exterminators nyc June 23, 2011 at 10:42 pm

    I truly appreciate this post. I’ve been looking all over for this! Thank goodness I found it on Bing. You’ve made my day! Thx again!

    • James June 23, 2011 at 10:53 pm

      You are always welcome………

  57. Health Insurance June 23, 2011 at 10:58 pm

    Good website! I really love how it is nice on my eyes it is. I am wondering how I could be notified when a new post has been made. I’ve subscribed to your feed which may do the trick? Have a great day!

  58. Margret June 24, 2011 at 3:14 am

    Hey what theme do you use for your blog ? I just stumbled on it and think it would work well on one of my website. Cheers

  59. Catherine June 24, 2011 at 6:19 am

    Thnx bro!

  60. Melvin June 24, 2011 at 6:47 am

    Spot on with this write-up, I truly assume this web site wants far more consideration. I’ll probably be once more to read much more, thanks for that info.

  61. Goerge June 24, 2011 at 9:19 am

    Thank you for another informative blog. Where else could I get that type of info written in such a perfect way? I have a project that I’m just now working on, and I have been on the look out for such info.

  62. Cailean June 24, 2011 at 10:31 am


  63. Lissa Segawa June 24, 2011 at 12:15 pm

    fantastic post, very informative. I wonder why the other experts of this sector do not notice this. You should continue your writing. I am confident, you have a great readers’ base already!

  64. Dan June 24, 2011 at 12:36 pm

    Do you people have a facebook or twitter fan page? I searched for one on facebook or myspace but could not discover one, I would love to become a fan!

    • James June 25, 2011 at 11:09 am

      Hello Dan,
      We are already there on Facebook and twitter, just search for coderzheaven.

  65. buy phentermine June 24, 2011 at 3:01 pm

    Hiya! You some sort of expert? Great message. Are you able to inform me how you can subscribe your weblog?

  66. personal trainer June 24, 2011 at 3:45 pm

    Utterly indited subject matter, Really enjoyed reading .

  67. fix bad credit June 24, 2011 at 5:51 pm

    Thanks for an concept, you sparked at thought from a angle I hadn’t given thoguht to yet. Now lets see if I can do something with it.

  68. den kinesiske mur bredde June 24, 2011 at 7:12 pm

    Dude, this blog is awesome! Just my 2 Cents!

  69. Rosario Bellinder June 24, 2011 at 7:49 pm

    I hadn’t been utilizing my rss reader for a whilst and I have a substantial backlog of stuff to catch up on. pleased to have taken the time to catch up on your blog though. Cheers.

  70. John June 24, 2011 at 8:01 pm

    My spouse and I across here by a another web address plus thought We should check it out. We enjoy Cocos2D CCMenu – An Example | Coderz Heaven and what I see therefore now I am following you. Looking forward to looking into the blog page Cocos2D CCMenu – An Example | Coderz Heaven again Moreover my best feelings go out to the people at Japan hopefully you are ok plus free from danger Web Site Builders !!!

  71. Maisie Bacher June 24, 2011 at 8:34 pm

    So, are you going to follow up on this article, I’ve been checking back often.

  72. Pingback: Tahari Dresses

  73. Benny Kady June 24, 2011 at 9:38 pm

    I’m having a strange problem I cannot make my reader pick up your feed, I’m using google reader by the way.

    • Malik June 25, 2011 at 12:40 pm

      subscribe via your mail for our posts…

  74. Pingback: Pokemon online

  75. mobile games April 15, 2014 at 1:52 am

    Thanks for finally writing about > Cocos2D CCMenu
    – An Example | CoderzHeaven < Liked it!


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.