keytschell Posted February 20, 2017 Share Posted February 20, 2017 Hi! I am working on my first Phaser-game. I have a performance issue with my collision rendering. I am using tilemaps and an extra layer for my collision. You can see my example on http://wpdev.at/moemax-store-game-collision/ (without rendering collision) and here is the example with rendering collision: http://wpdev.at/moemax-store-game/ Everything is fine on Desktop. Loading time is about 6 seconds. But on mobile devices it takes about 1minute to load. I am using "map.setCollisionByExclusion([], true, this.collisionLayer);" for my collisions. Already tried toreduce the number of layers to a minimum - about 2 layers - does not help. Tried using map.setCollision([8,9..]) - did not render any collision for me. Any suggestions? Thanks for your replies. Link to comment Share on other sites More sharing options...
mattstyles Posted February 20, 2017 Share Posted February 20, 2017 Loading is super speedy for me, both desktop and mobile. Link to comment Share on other sites More sharing options...
keytschell Posted February 20, 2017 Author Share Posted February 20, 2017 1 hour ago, mattstyles said: Loading is super speedy for me, both desktop and mobile. Well, thats nice to hear. Which system / browser? I am with Android 6.0 API23 - Chrome. Link to comment Share on other sites More sharing options...
mattstyles Posted February 20, 2017 Share Posted February 20, 2017 Tried it in Chrome on desktop and Safari on iPhone (latest OS), had a quick butchers through the network tab whilst connected up, all looked fine and dandy, took just over a second I think. Link to comment Share on other sites More sharing options...
Recommended Posts