Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7825359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:56:34+00:00 2026-06-02T08:56:34+00:00

I want to add a sliding panel view using cocos2d for android. Any suggestions.

  • 0

I want to add a sliding panel view using cocos2d for android. Any suggestions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:56:35+00:00Added an answer on June 2, 2026 at 8:56 am

    The way i’ve achieved this in one of my previous android market apps for paintball field designing is to have a separate CCLayer class added as a child to the main scene, and have the main scene responding to the CCTouchesBegan. if the location of the touch is within the co-ords of the visible panel, then call a ‘touched’ method inside it passing the touch co-ords, so that it can deal with it’s own content.

    On another panel at the bottom I had a button, which showed or hid the side panel, so it didn’t ‘slide’ or support being ‘flung’ across the screen, but rather was shown or hidden.

    Sliding it or flinging it on/off the screen could be written relatively simply i believe, using a combination of CCTouchesMoved and CCTouchesEnded to track the slide/fling and perform translation on the layer co-ords.

    There’s nothing to have prevented me implementing a slide in/out using some simple animation, but I had no requirement for it in the app, and hence didn’t implement it.

    Hope this is at least of some use,sorry i can’t provide some worked examples right now, busy with work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want add duplicate keys in map,output like the one below: google:Android,google:Maps,apple:iPod,apple:iPhone,apple:iOS Is it
i want add a new user in lotus notes using java program but i
I have libTestLibrary.so library and I want add it to Android-emulator's lib folder. How
I want add new fonts for Android. I found a tutorial that asks me
I want add customized View to ScrollView. In customized View, Only two methods are
I want add search places to favourites in Android maps program. I am getting
I want to add some button in a Sliding Drawer's content, its content is
I Want Add Office 2003 Primary Interop Assemblies to Visual Studio. so i following
I want add some methods. And this directive can't help me. var viewModel =
I want add 12 UITextFields in a UITableViewCell (one text field in each row),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.