This project is read-only.

Target Windows Phone 8

Jan 7, 2013 at 9:53 AM

I have some WP7 games that use the older Physics Helper ( with performance issues on WP8. I am thinking about using Physics Helper XAML and retarget to WP8, and then test performance.

Is this possible? Or is it possible to use the old Physics Helper, and retarget my VS project to WP8? 

Would have testet this myself, but do not have the Win8/WP8 dev environment up and running yet :)


Jan 21, 2013 at 4:41 PM

You can do either option - retarget the old Physics Helper, or convert to Physics Helper XAML. The first option would be easier though because you can use Behaviors. Converting to Physics Helper XAML would be useful to include Windows 8 (WinRT) App support because WinRT does not yet support behaviors.

So basically, once you install the WP8 SDK tools, you will have VS2012 and you can choose either WP7.5 or WP8 as a target. Just recompile, and note that if you target WP8 you are blocking out a lot of existing phones from using your app.

I am curious about the performance issues though. Can you share your app details if it is on the mktplace so I can try it on WP8? If anything it should perform much faster on WP8!

Jan 21, 2013 at 9:16 PM

Thank you for for reply Andy, much appreciated! I have used your Physics Helper in 5 apps/games, and I really enjoy using it.

I will try out the old Physics Helper and target WP8 when i get a dev environment up and running. From what I understand the MS App Hub supports multiple XAP's  for one game - so one game can target both wp7 and wp8. See here:

My game is Portal Ball:

From feedback on mail, and reviews (bad ones), I get the impression that WP8 phones (Lumnia 920, HTC 8x, Samsung Ative) often have trouble. A friend of mine have tested on a Lumnia 920 without problems, so it is a bit inconsistent.

It would be great if you can test it on your wp8 :)

Some notes on the implementation:
* Didn't get BitmapCache to work, so had to drop that.
* If i use EnableRedrawRegions the ball flickers and all kinematics (elevators etc) flickers. If I add BitmapCache the flicker stops, but everything gets sluggish. Strange!
* The game performs good on my WP7 (Samsung Omnia 7) - a few levels are a bit slow.
* I am working on a new Portal Ball game now that have upward scrolling (using camera) - and here I have to use BitmapCache on most of my elements to make it run smoothly (use the same UserControls  as Portal Ball).

Thanks for all help.




Jan 21, 2013 at 9:41 PM

Your game looks very polished, nice job!

Like your friend, I also have a Lumia 920, and it performed fine (sorry I couldn't help with troubleshooting the perf).

Jan 25, 2013 at 9:55 AM

Thank you for testing the game on wp8 Andy.