Vega workshop

  • Content Count

  • Joined

  • Last visited

Everything posted by Vega workshop

  1. Play ( Fr / En) : Jump on platforms to rapidly collect some fishes. Earn medals for your best chains, and set new records. Browser game, for mobile & desktop. Carpe Diet is a free mini game I made in my spare time. More details here : (I'm not english native, if you notice some weird english writings, please tell me, thx <3)
  2. Nice to track this one For the moment, I associate a "touchmove" event to the nearest previous "touchdown" I registered. Most of the time, it seems to work fine but there is some issues when the different touches get too close to each other. There's also another issue with iOS, when you get to close to the edge of the screen, which triggers an iOS popup that messes the touch events. In v3, thanks to the "identifier" property I could detect the issue because the "identifier" changed. In v4, without "identifier", I use a timeout which clears a registered touch if no input is detected. It works ... I know I should be looking for some kind of "deactivate" event, another story ... Thanks for the work on pixi !
  3. Thanks for reply. You mean the reference given by the "originalEvent" property can serve as an identifier ?
  4. Hello I am using Haxe with pixi v4, previously v3 (3.1.2). We can catch a pixi.interaction.EventTarget from a registered touch event listener. In the previous version, we could identify the touch thanks to the EventTarget::data.identifier property (member of InteractionData). The identifier property doesn't exist anymore with v4, does it ? Is there an alternative mechanism to distinguish a touch event from another ? (ie player 1, player 2, ...) I believe I could handle the problem, managing a collection of registered "touchdown" event. If a "touchmove" occures, I can associate it to the nearest registered position. If a "touchup" occures, I can remove the nearest registered position (this is theoric, I now there would be some cases to solve, ie a position disappears without a "touchup") But, no need to code this if there is a technic, a pattern to use to manage multitouch ... any idea ? thx