mwatt Posted July 26, 2015 Share Posted July 26, 2015 So, this is potentially a 2.4 Phaser issue, though I doubt it since nobody else is squawking. Nonetheless, since 2.4.1 is pronounced "live", and because it might must be an issue on my side, I'm posting this on a new thread, not the 2.4 announcement thread. So here's the deal. My game works fine in the browser - both on desk top and on target mobile devices. However, when it is packaged up as an install with Cordova (phonegap) and stuff, it does not work. The failure mode is that touching sprites with events assigned does not generate an event. My partner and I suspected some build or source issue on our side, but after some investigation, could not find a problem. So we decided to try swapping the old phaser version (2.3) back into the solution - and things work properly again after doing so. Any ideas? Edit:I just now noticed that this same issue was posted by Apoptyzm in another post, so I guess it isn't just me. Rich, please let me know if I can provide anything else in terms of source. A test case might be hard to create, since it only happens via Cordova for me. Link to comment Share on other sites More sharing options...
rich Posted July 26, 2015 Share Posted July 26, 2015 Could you try it with 2.4.2. please? (currently only in the dev branch, you'll need to grunt build it, but I'm curious if it solves it) Link to comment Share on other sites More sharing options...
mwatt Posted July 27, 2015 Author Share Posted July 27, 2015 Working on that right now Rich. I've downloaded and rebuilt the latest dev version. I added this newly built file (I used the minified version) into my project. My partner does the release builds. I have contacted him and asked him to try it with this new phaser.js version. He told me that the problem is also seen in the emulator so it should not take too long, once he can get to it. Link to comment Share on other sites More sharing options...
mwatt Posted July 27, 2015 Author Share Posted July 27, 2015 Rich, The new 2.4.2 dev build does not fix the problem. Link to comment Share on other sites More sharing options...
rich Posted July 27, 2015 Share Posted July 27, 2015 Ok, I'll do a Cordova build tomorrow for myself and test it - it shouldn't take long to track down. Link to comment Share on other sites More sharing options...
mwatt Posted July 27, 2015 Author Share Posted July 27, 2015 I need to alter my original description of the problem. I had reported that through the BROWSER on a mobile device, that 2.4.1 was working properly for my game, but that is false. We probably hadn't flushed cache when we incorrectly "noticed" that. Bottom line is that it does not run on mobile (at least, not on Apple iPhone or iPad) at all. I believe this is consistent with what the other fellow was reporting. Link to comment Share on other sites More sharing options...
rich Posted July 27, 2015 Share Posted July 27, 2015 Ok I'm 99% sure this is fine now! I've uploaded new builds files to the dev branch just now. I also built a test app and deployed it to Android using Intel XDK and it works fine on device now (after I fixed this bug that is). Please give it a shot Link to comment Share on other sites More sharing options...
mwatt Posted July 27, 2015 Author Share Posted July 27, 2015 Will do Rich, thank you! It's going to be a while before I can let you know - I'm stuck in my day job for a few hours. Link to comment Share on other sites More sharing options...
mwatt Posted July 28, 2015 Author Share Posted July 28, 2015 Rich, it is fixed with the latest dev build. This can't been said enough, and I feel confident in speaking for the rest of us here, in saying that your accessibility, energy and creativity are phenomenal. Thank you so much for all that you do. drhayes and saibotlive 2 Link to comment Share on other sites More sharing options...
rich Posted July 28, 2015 Share Posted July 28, 2015 Phew, thank goodness. I just need to nail this weird FF on Linux bug and I can release 2.4.2 drhayes 1 Link to comment Share on other sites More sharing options...
Recommended Posts