[Plugin] Windows Phone Updated - New Tutorial!

Post your completed addons to share with the community

Post » Fri Apr 18, 2014 11:31 am

PMed you. Thanks!

Just to clarify for others, the back button issue was a user error. Back button functionality works fine on WP8.1.

The audio issue remains though.
B
5
Posts: 21
Reputation: 267

Post » Sat Apr 19, 2014 10:27 pm

Hi guys can someone explain to me how to implement back button, reload from tombstone and the in app in purchase function in a Windows Phone 8.1 game?
B
3
Posts: 7
Reputation: 185

Post » Tue Apr 22, 2014 7:28 am

I got error while opening .. "unable to load plugin in ..... ".. ?
B
19
S
4
G
1
Posts: 25
Reputation: 2,375

Post » Wed Apr 23, 2014 12:56 pm

Is the new Universal Windows Store export option compatible with this plugin ?
B
47
S
17
G
18
Posts: 847
Reputation: 13,827

Post » Thu Apr 24, 2014 5:35 am

I think 8.1 changed the way the back button works. But I think it was only for silverlight 8.0 versions, not the universal 8.1 version.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sat Apr 26, 2014 4:34 pm

After extensive testing with the new Construct2 update (that allows Universal Windows apps), it appears this plugin is somewhat broken. If I try to use the audio trick as per the tutorial (which was working before), it no longer plays audio. In fact, the plugin is no longer even needed for audio. Windows 8.1 and WP8.1 both work fine now with Construct2's regular audio object. It also works with the standard browser back functionality. So this actually solved most of my problems.

Ignore
However, I have a need to detect if a user is on WP8.1 or not (to target a specific event). Unfortunately, the "Is Windows Phone app" condition is no longer working with WP8.1 either. Any plans to update this to work with WP8.1 Universal apps?

Update: The "is WP app" does actually work, but my condition is just ignored on my first loop for some reason. So I have one gap, followed by a seamless loop. It's an acceptable bug until WP or Construct find a better way to loop audio.
B
5
Posts: 21
Reputation: 267

Post » Mon Apr 28, 2014 2:29 pm

@hotcakes

Could you provide me with an exemple of how you handled the browser back button ? Whatever I do, the damned button never triggers, and the app goes into suspended mode. I tested with an emulator, and my own device, same result !
B
47
S
17
G
18
Posts: 847
Reputation: 13,827

Post » Mon Apr 28, 2014 2:44 pm

If you are exporting as a Universal app and testing with Windows Phone 8.1 in VS2013, the plugin will not work. Not even the back button. You have 2 options:
1- It seems to work with the previous version of Construct 2 (r158 I believe?) following the exact instructions in the tutorial.
2- If you are on r168 and exporting a universal app, you can use Construct 2's Browser object to handle the back button. It works natively now.
B
5
Posts: 21
Reputation: 267

Post » Mon Apr 28, 2014 3:48 pm

Hmm, I guess this is to do with how the conditional checks work. Just to confirm:

Universal apps don't work when my plugin is included?
Games using r168, exported as per my tutorial no longer work?

If using my plugin, you should export as a Windows Phone 8 app, and follow my tutorial. This *should* be forwards compatible. If targeting Windows Phone 8.1, use the universal app exporter.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Mon Apr 28, 2014 3:59 pm

To be more specific, I can say this:
- Your plugin does not work when exporting a Universal App in r168. The app still works (it runs, doesn't crash), but all your plugin conditions and actions are ignored.
- When exporting with r158 following your tutorial, it does work.

I have not tested using your plugin and exporting as a Windows Phone 8 app with r168. I have already removed all plugin calls from my app since I do want to be a universal app. I can no longer test this.
B
5
Posts: 21
Reputation: 267

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: jackblord, kabkglomr and 1 guest