Sliding Menu

yoyobid12yoyobid12 Member, PRO Posts: 21

Hello the world,

I have a little problem with my sliding menu :

In my project i have a sliding who work perfectly on several phone. But when I test my project on a tablette the menut does this :

I really don't understand why :-(

The fonction I use to slide the menu :

Do you have any idear why it does this ?

I'm thinking about serveral solution :

  • Use the "move to" behavior instead of "move"
  • Placing an element in order to block the menu.

Thanks for your help.
Good luck with your project.

Comments

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276
    edited April 2016

    You seem to be testing on Android tablet. Gamesalad is a bit slow to detect screen sizes on Android.

    Change the game.screen.size.height/2 to the height of your scene /2. Should work. (i would do it like this even if the screen detection was faster)

    Mental Donkey Games
    Website - Facebook - Twitter

Sign In or Register to comment.