ozdy Posted April 1, 2015 Share Posted April 1, 2015 Hello guys,I recently released my game Aquatic Rescue on Windows Phone and wrote a blog post to help you - Porting your HTML5 game to Windows Phone. I hope you like it and please share your opinion. tumira and labrat.mobi 2 Quote Link to comment Share on other sites More sharing options...
SolarJS Posted April 1, 2015 Share Posted April 1, 2015 Thanks for sharing, very helpful. Although I found the performance part the total opposite. WP (8.1) are the only low budget phones I get my games to run at 60FPS at even 960x720 pixel (simple HTML5, no wrapping, Lumia 630). So it may be a good idea to do some performance research using profiling tools. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 1, 2015 Author Share Posted April 1, 2015 I'm thinking about the game from a mobile store point of view. You also don't have accelerating canvas wrappers like IOS and Android. Quote Link to comment Share on other sites More sharing options...
enpu Posted April 1, 2015 Share Posted April 1, 2015 Good post, it's sad that IE is the only major browser that does not support Web Audio.Did you use WebGL? I noticed much better performance on Lumia when using WebGL. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 1, 2015 Author Share Posted April 1, 2015 No, I wasn't sure it's supported on all devices and my haxe html5 framework supports only canvas. Quote Link to comment Share on other sites More sharing options...
sandy234 Posted April 1, 2015 Share Posted April 1, 2015 Is it worth it to put your games on windows phone.Also do you need windows 8 to port your game? Quote Link to comment Share on other sites More sharing options...
totor Posted April 1, 2015 Share Posted April 1, 2015 windows 10 coming this summer, is it worth it to target 8.1? Or your wrapper is already win10 compliant? I am currently looking only win10 solution. Quote Link to comment Share on other sites More sharing options...
SolarJS Posted April 1, 2015 Share Posted April 1, 2015 I'm thinking about the game from a mobile store point of view. You also don't have accelerating canvas wrappers like IOS and Android. I meant 60FPS in pure browser view, no CooconJS and alike. But I haven't tried how a wrapper (custom or solution) cause a slow down yet. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 1, 2015 Author Share Posted April 1, 2015 I meant 60FPS in pure browser view, no CooconJS and alike. But I haven't tried how a wrapper (custom or solution) cause a slow down yet. Ah, OK then, yeah, a webview shouldn't be slower than the browser. It's just that the next game I have in mind - jump and run with scrolling, will be noticeably heavier than my current one and probably won't hit 30 fps on my Lumia 530... Quote Link to comment Share on other sites More sharing options...
SolarJS Posted April 1, 2015 Share Posted April 1, 2015 The Lumia devices need a special handling regarding how textures are blitted. If you have the change, modify the order they are blitted to minimize state changes. Also the react positively on how you write JS code and punish you more than other phones if you don't follow general rules like those stated here: http://www.smashingmagazine.com/2012/11/05/writing-fast-memory-efficient-javascript/ I hope that helps a bit. Maybe it's also less of a hassle if Windows 10 is out. Quote Link to comment Share on other sites More sharing options...
tumira Posted April 2, 2015 Share Posted April 2, 2015 Hi @ozdy Would be great if you could share or make detail tutorials regarding this topic(audio,monetization,publishing,tips and etc). Would really help us a lot. Thanks Quote Link to comment Share on other sites More sharing options...
Maril Posted April 2, 2015 Share Posted April 2, 2015 I was wondering too, if it's worth spending time porting your game to WP... is anyone making any money on the Windows Store and how much if you don't mind sharing some figures? Quote Link to comment Share on other sites More sharing options...
labrat.mobi Posted April 2, 2015 Share Posted April 2, 2015 Hi, Thanks for the blog post. I had no idea about the Biz Spark program, I just signed up for it. Ya, WebAudio is really a mess in IE mobile. Hopefully they will fix it soon. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 2, 2015 Author Share Posted April 2, 2015 Last 7 days I have 2 free downloads total, that probably came because I tweeted/posted on forums about my blog post Quote Link to comment Share on other sites More sharing options...
enpu Posted April 7, 2015 Share Posted April 7, 2015 Ya, WebAudio is really a mess in IE mobile. Hopefully they will fix it soon. There is no Web Audio support on IE11 at all, only HTML5 Audio. Quote Link to comment Share on other sites More sharing options...
enpu Posted April 7, 2015 Share Posted April 7, 2015 Also do you need windows 8 to port your game? Yes you need Windows 8 to make WP 8.1 apps. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 12, 2015 Author Share Posted April 12, 2015 Good post, it's sad that IE is the only major browser that does not support Web Audio.Did you use WebGL? I noticed much better performance on Lumia when using WebGL. I just tried the Pixi.js bunny mark - http://adireddy.github.io/demos/pixi-haxe/bunnymark.html. It should use WebGL with Canvas fallback - on Desktop I get 25K bunnies at 60 fps, but on my IEMobile Lumia 530 I get just 500 bunnies at 22 fps Therefore, I don't think it will make a difference. And if anyone is wondering - last 2 weeks I have 0 downloads Quote Link to comment Share on other sites More sharing options...
aquinn Posted April 13, 2015 Share Posted April 13, 2015 I just tried that Bunny Mark Link on a Nokia/Lumia 520 I get:600 bunnies / 37fps1200 bunnies / 25fps1600 bunnies /22fps I recently ported a my Worm Copter game to Windows Phone. The game is also slow on the other platforms. Here are the stats: Windows Phone = 13 downloads in 20 daysApp Store = 74 downloads in 90 days,Google Play =31 downloads in 90 days I've hardly promoted the game so not much activity. I'm using Construct 2. ozdy 1 Quote Link to comment Share on other sites More sharing options...
enpu Posted April 15, 2015 Share Posted April 15, 2015 I just tried the Pixi.js bunny mark - http://adireddy.github.io/demos/pixi-haxe/bunnymark.html. It should use WebGL with Canvas fallback - on Desktop I get 25K bunnies at 60 fps, but on my IEMobile Lumia 530 I get just 500 bunnies at 22 fps Therefore, I don't think it will make a difference. http://www.goodboydigital.com/pixijs/bunnymark/This gives me 3000 bunnies @ 60fps on Lumia 920, and 1000 bunnies @ 50 fps on Lumia 620.Are you sure you are running IE11 / WP 8.1? IE10 does not support WebGL. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 17, 2015 Author Share Posted April 17, 2015 I think so, this is my user agent - . I'll try that benchmark link you gave me when I get home as I don't have the phone with me right now. Do you get these high result on my benchmark link? Maybe it's a Lumia 530 being weak, although though it does play 3d native games nicely. Quote Link to comment Share on other sites More sharing options...
enpu Posted April 17, 2015 Share Posted April 17, 2015 I'm getting only 30fps @ 3000 bunnies (Lumia 920) on your pixi-haxe link, i doubt that it's using too old version of Pixi which WebGL does not work correctly on IE, or then there is something else wrong with that pixi-haxe integration. Quote Link to comment Share on other sites More sharing options...
ozdy Posted April 18, 2015 Author Share Posted April 18, 2015 I'm getting only 30fps @ 3000 bunnies (Lumia 920) on your pixi-haxe link, i doubt that it's using too old version of Pixi which WebGL does not work correctly on IE, or then there is something else wrong with that pixi-haxe integration. Yes, I can get ~1300 bunnies on my Lumia 530 with 60 fps with your link! The sad thing is that it always crashes within a minute Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.