Problem with sliding
Dues
Member Posts: 1,159
Hey!
I'm having trouble with my sliding menu. Sometimes when I slide it to hard (same issue left or right) it seems like my drag actor goes out of the scene and the sliding function stops. Any ideas how to solve this??
I have also searched the forums on how to set up a snap to center function.
I have a scene that's 3072 pixels wide, where I have three worlds. I want so that when I slide, it stops and centers on every world, so that you can't slide from first to last world in one swipe.
Hope you understand what I mean
I'm having trouble with my sliding menu. Sometimes when I slide it to hard (same issue left or right) it seems like my drag actor goes out of the scene and the sliding function stops. Any ideas how to solve this??
I have also searched the forums on how to set up a snap to center function.
I have a scene that's 3072 pixels wide, where I have three worlds. I want so that when I slide, it stops and centers on every world, so that you can't slide from first to last world in one swipe.
Hope you understand what I mean
Comments
Change Attribute self.positionX [back on to screen, or to touch location]
Change Attribute self.positionX [back on to screen, or to touch location]
Hope this helps
Chakku
Hmmm.. Can't get it to work, actor still goes out of the screen