Hello community, greetings from mother Russia
I cant find any information about using touchscreen and gestures input. Can you please give me some links? =)
Youtube is empty, i hope there are any simple ways instead of Xamaring API
Hello community, greetings from mother Russia
I cant find any information about using touchscreen and gestures input. Can you please give me some links? =)
Youtube is empty, i hope there are any simple ways instead of Xamaring API
Man up and write your own, towarisch.
MG is very sparce on docs or learning material. Source code is your best friend from now on.
Iam using the Touch-Implementation from MonoGame inside the âMicrosoft.Xna.Framework.Input.Touchâ-Namespace for my Windows App.
Iam only trying it inside the âWindows Tablet Simulatorâ but features like Gestures are easily implemented.
I dont know if this is even works on Android tho.
thanks dude! That was probably something i was searching for
take a look here, itâs the sample catalog for XNA.
The code works identical on MonoGame.
Search for samples with âTouch & Guesturesâ keywords in the description.
I havenât used gestures, but if you just want the raw touch input itâs as simple as this:
TouchCollection touchCollection = TouchPanel.GetState(); foreach (TouchLocation touchLocation in touchCollection) { // Respond to the touchLocation here by accessing its position, state, and other properties }
Also check out this page - it has lots of info about reading touch, and goes into gestures too.