Touch Event Not Work With PinchZoom
        Posted  
        
            by 
                Siddharth
            
        on Game Development
        
        See other posts from Game Development
        
            or by Siddharth
        
        
        
        Published on 2012-12-08T15:35:11Z
        Indexed on 
            2012/12/08
            17:21 UTC
        
        
        Read the original article
        Hit count: 238
        
andengine
I was implemented pinch zoom functionality for my tower of defense game. I manage different entity to display all the towers. From that entity game player select the tower and drag to the actual position where he want to plot the tower. I set the entity in HUD also, so user scroll and zoom the region, the tower become visible all the time. Basically I have created the different entity to show and hide towers only so I can manage it easily. My problem is when I have not perform the scroll and zoom the tower touch and the dragging easily done but when I zoom and scroll the scene at that time the tower touch event does not call so the player can not able to drag and drop it to actual position. So anybody please help me to come out of it.
© Game Development or respective owner