mardi 29 avril 2014

Touch gesture - Drag makes paint(Graphics g) behaviour odd


Vote count:

0




I am overwritting the default paint method, and everything is working fine. I have a running game in CodenameOne (plays smooth, everything works), but the downside is: I had to use buttons for player movement. I would like to use "swipe" gestures, which is in itself a relatively simple implementation. However, when I swipe on the screen, what is painted gets removed, so I am left with just the background (for a split second, the paint continues when releasing the drag).


Any idea on how to fix this issue - without overriding the behaviour of touch gestures?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire