Replies: 2 comments 8 replies
-
UPDATE: So the issue seems to be a bit weird. I copied this zooming functionality from one of the sample project:
And it didn't work and didn't produce any messages whatsoever. I first tried triggering pointer events manually through the API which worked. Then I rewrote the same piece of code by hand and voila? It worked. I have no idea what might have happened there. There are probably some hidden characters that messed it up. So I guess there's no issue at all and Ionic seems to working perfectly with Excalibur! |
Beta Was this translation helpful? Give feedback.
-
UPDATE 2: The above only seems to be working when I specify Unfortunately, the issue persists when I build the app for both Android and iOS devices. I have found a workaround for this by specifying a global listener that triggers necessary events through the API.
It's just an example that could be expanded to any other event that needs to be handled. |
Beta Was this translation helpful? Give feedback.
-
Hi everybody,
I have just started playing around with Excalibur recently and I love it. I am integrating a game inside an Ionic project so I can easily build it for multiple platforms. Everything is working great except for one thing - pointer events don't seem to be working at all. Keyboard is working fine though.
I tried running the sample breakout game and it worked just fine. Then I copied the main game itself (which is simple enough to fit in a function) to my Ionic project to try it there. It started without problems but I couldn't move the paddle. It just didn't respond to mouse move events.
Does anyone have an idea what might be the issue? I'm not sure if it's an Excalibur bug or not. Any help would be appreciated. I'd really love to make these two technologies work together.
Thanks,
Patrik
Beta Was this translation helpful? Give feedback.
All reactions