Excal's Forum Posts

  • I have tried those. I have spent nearly a full day trying different possibilities with the touch behavior.

    Apparently there is a specific setup you have to use to 'get it right', and I'm still trying to find what that is.

  • It looks like your trying for dual analog

    If you can make sense of the tutorial page

    https://www.scirra.com/tutorials/398/touch-stick-controllers/page-3

    Also you can download the tutorial capx

    https://www.scirra.com/tutorials/398/touch-stick-controllers/page-5

    Hope any of this helps, but the tutorial was created to get touch analog sticks working. Including dual analog. Good luck.

    Thanks. I'm saddened to see this is the ONLY tutorial in the Mobile section of the tutorials site. Are there really only a few people who have multitouch games made with C2?

  • Touch has one of largest lists of expressions, and it never occured to you that something else like say touch index might work instead?

    Before suggest to me touch index, please realize that touch index increases based on the number of touches.

    So first touch = 0, second touch = 1, etc.

    But does that really work for an analog stick?

  • So limit the game to only one touch? No thanks.

  • I hope you all realize that a 'Linux version' doesn't just happen, and it often means rewriting a lot of the codebase from scratch and maintaining two different versions of Construct 2: the Windows version and the Linux version.

  • This has baffled me for too long and I've probably bumped too many old threads that seemed to have a 'working' solution by now, all to no avail.

    Test it on mobile here and see that touch IDs revert to -1 insanely fast.

    Here is what the event sheet looks like for the left controls:

    <img src="http://i.imgur.com/5NNjUDW.png" border="0">

    ...and for the right controls:

    <img src="http://i.imgur.com/ecKjkin.png" border="0">

    I will share a .capx with any trustworthy members on this forum who are itnerested, but I won't post a .capx publicly due to the possibility of my art assets being stolen.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I agree as well. This would be a nice feature to add to the ScrollTo behavior.

  • I have the same issue, but I'm also using 'is touching'

    Sigh, I wish there was consistency on this issue. The devs say not to 'waste' time optimizing and to 'develop for touch devices', but there isn't clear documentation or tutorials on the trickiness of handling multiple touches. Even worse is the fact that we MUST optimize if we're using touch controls, and there is little to no documentation on how to do this.

  • Yes, it's possible

    http://flamma-beta.com/HTML5/multitouch/

    Hate to bump an old thread, but you seem to have a working solution and there doesn't seem to be many solved topics on multiple object multi-touch.

    Can you share the capx for this if you still have it?

  • TouchIDTest

    Try this on a mobile device and let me know if you are getting any Touch IDs.

    Ashley or Tom, give this a try. You'll see what I mean: if two simultaneous touches occur, both get the same TouchID.

  • Based on this thread here: http://www.scirra.com/FORUM/topic66471.html.

    I'm trying to make it so that a different touch ID is assigned depending on where the user touches the screen. I have two large invisible sprites that each cover half the screen. You can see one of them here:

    <img src="http://i.imgur.com/ZjMazIC.png" border="0">

    Does anyone know how to get a different touch ID based on where the user touches the screen?

    CAPX File

  • I just tried this on a friend's tablet.

    If only one touch is active: both TouchIDs = 0.

    If two touches are active (simultaneous touches): both TouchIDs = 1.

    So there's a problem here. TouchID is not being assigned unless two simultaneous touches are happening, and when that happens, both TouchIDs are the same.

  • 50MBs of storage? The game download is 25MB.

    Plus it can be cleared by clearing the cache.

  • The "How do I...?" forum is helpful and all, but a lot of the questions seem to be asked repeatedly by newer users of Construct 2. A lot of these questions are also answered repeatedly by various members of this forum.

    Why not have a wiki? Could call it the Construct 2 Cookbook or something like that, where working solutions and .capx files are posted for various problems.

    This would reduce the number of 'beginner' questions in this forum by a slight amount, and answers are not longer about answering things that have been answered multiple times and instead pointing to wiki links. Once a new user realizes there is a wiki, he/she will probably post less questions overall and refer to the wiki instead.

  • Hi newt,

    Can you do me a favor and let me know if you're getting TouchIDs here?

    Icarus