Rockthesmurf
Advanced Member
Hi there,
I have the first pass of getting my game running on Pandora complete (hurrah), but have a small things I hope to iron out, one of them being input. The game is driven by touch screen input, and I am using X11 to get input events. On the whole it works, I can control my game in much the same way as I can on other devices (IPhone/Android/PC/Mac), however, I find the controls can be a bit 'hit and miss'. As in you can be 100% sure you are making adequate contact between stylus and screen, but the input isn't registered. The game is a reasonably paced game, where you need to be making quite fast, accurate input swipes, so missing input events is a real problem! The game runs at a solid 60 FPS, and the times that input isn't registered do not seem to correlate to any frame rate his, so I'm not entirely sure what is causing the problem. So my two rough questions would be:
Also, just for the record, this is all being built from a 100% Windows PC, with no Virtual Machines/Cygwin/etc. I do plan to put together some information on how to do this, as it may potential be of interest to other developers. The good news is once you know what to do, it is actually very straight forward.
I look forward to your input,
Steve
I have the first pass of getting my game running on Pandora complete (hurrah), but have a small things I hope to iron out, one of them being input. The game is driven by touch screen input, and I am using X11 to get input events. On the whole it works, I can control my game in much the same way as I can on other devices (IPhone/Android/PC/Mac), however, I find the controls can be a bit 'hit and miss'. As in you can be 100% sure you are making adequate contact between stylus and screen, but the input isn't registered. The game is a reasonably paced game, where you need to be making quite fast, accurate input swipes, so missing input events is a real problem! The game runs at a solid 60 FPS, and the times that input isn't registered do not seem to correlate to any frame rate his, so I'm not entirely sure what is causing the problem. So my two rough questions would be:
- Any ideas what could be causing this issue?
- Is there a way to get a more 'raw' access to touch screen input events? If so, would these likely to be more robust?
Also, just for the record, this is all being built from a 100% Windows PC, with no Virtual Machines/Cygwin/etc. I do plan to put together some information on how to do this, as it may potential be of interest to other developers. The good news is once you know what to do, it is actually very straight forward.
I look forward to your input,
Steve