Help with a sliding menu
I need help with a menu in my game. I want a menu is only 1/4 of the screen and to show inventory items. Since there can be many items I'd like the 1/4 screen menu to slide inventory items along X so the user can browse thru them. After selecting an item the menu should drop out of site. Here's what I'm talking about:
https://www.dropbox.com/s/5aw5rsvrhscxqjc/Photo May 01, 11 56 46 PM.png
Notice how the user can slide it to the left and right to show items. I can get it part way to work, my problem is that every time I touch the menu (haven't slid my finger yet) it slides to the position of my finger position. How can I get the menu to stay put regardless of my initial finger touch position and only move when I slide my finger.
Thanks
https://www.dropbox.com/s/5aw5rsvrhscxqjc/Photo May 01, 11 56 46 PM.png
Notice how the user can slide it to the left and right to show items. I can get it part way to work, my problem is that every time I touch the menu (haven't slid my finger yet) it slides to the position of my finger position. How can I get the menu to stay put regardless of my initial finger touch position and only move when I slide my finger.
Thanks
Comments
Try to experiment with that template, it's for free:
http://www.deepblueapps.com/free-coverflow-template-gs/