java - LibGDX: make stage accept only one touch at a time -
i have main menu, game store, , game controls utilize stages buttons functionality. problem is, stage takes in multiple finger inputs. problem me because have in game store, it's not safe allow user press 2 items, leg go , purchase them @ same time (i don't want money integer beingness screwed if 2 purchase actions seek subtract @ same time).
question: there easy way forcefulness stage take 1 finger input? need buttons...
or have create purchase actions atomic? or add together input listener each button disables other buttons on touchdown(), , enables them on touchup()?
thanks.
java android libgdx scene2d
No comments:
Post a Comment