Hello,
I'm really happy after Phaser 3.12-beta1 was released. It helps me fixed many issues which made me stuck for weeks. 馃挴 馃憤
But today, I figure out there are some issues in pointers and pointers's events when setting resolution > 1.
After the game scrolled (long distance), the pointer did not emit events (pointerdown, pointerup and pointerout) correctly. I think it is because of checking wrong position of Game Objects, so the game thinks that user doesn't point to the target Object => doesn't emit events.
The pointerout event doesn't emit on touchable devices. You can use Google Chrome, open Developer menu and switch to a mobile device, then you'll see. But it works fine in Desktop Browsers.
It seems that setting resolution by now isn't a good idea, there are many issues with it.
You can write a simple game with tilemap and touch buttons (to scroll the game) to verify these issues.
I made a simple project with Phaser 3.12-beta1 to test, if you need, I'll give you a zip file through your email.
Hope it will be fixed soon before v3.12 is released. Thank you.
The pointerout and pointerover events are not dispatched for Touch pointers and never have been. This isn't resolution related, it's done on purpose and won't change in 3.12.
I'll look into the resolution + camera scroll issue.
Oh really. I missed that point. I think it's good if there are some lines in the document.
Hope to see your feedback about the resolution and camera scroll issue soon. Thank you so much.
About this issue, how is it going?
In the latest release, it is no longer to click on object when world size is bigger than game size (and resolution > 1 of course).
This isn't fixed in beta 3 yet. Will be for beta 4 when the scale manager is finished.
(hence why this issue is still open)
This is now fixed in the master branch. I created a huge game world (40k x 40k) and placed 2k objects in it, and I could click them all, scrolling around happily, no matter what resolution was set. Previously, it only worked with a resolution of 1.
Phaser 3.12.0 is released. I confirm that the issue is fixed.
Nice guys!
Unfortunately: #4010 - I knew about this, but couldn't hold off 3.12 any longer, so will resolve it as part of the next round of updates.
Most helpful comment
This is now fixed in the master branch. I created a huge game world (40k x 40k) and placed 2k objects in it, and I could click them all, scrolling around happily, no matter what
resolutionwas set. Previously, it only worked with a resolution of 1.