[Plugin] Windows Phone Updated - New Tutorial!

Post your completed addons to share with the community

Post » Mon Apr 28, 2014 4:16 pm

@hotcakes wrote: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.
That's the problem, I tried using the browser's back button trigger, but it never fire. Instead, the app goes into suspended mode.

I did a simple test with a text object that displays a global value, a value which get incremented with each "mobile back button". Try as I might, every time I press the button (emulator or device), the app suspends, and when I resume it, the global value did not even get incremented.
B
45
S
16
G
18
Posts: 845
Reputation: 13,673

Post » Mon Apr 28, 2014 7:20 pm

This plugin won't work with the universal exporter. If you want to target Windows Phone 8, then you still need to follow my tutorial and go that route. To target Windows Phone 8.1, export as a universal app.

Magistross wrote:That's the problem, I tried using the browser's back button trigger, but it never fire. Instead, the app goes into suspended mode.


That sounds like a Construct 2 issue - you should file a bug report.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Mon Apr 28, 2014 8:00 pm

is there an easy way to test out trials like with windows desktop?

the windows desktop plugin has a "test" mode you toggle on and off before export. When I do a trial purchase of the app, i get a popup window in VS for what I want for my result.

With windows phone, I cannot seem to test trial mode easily. Not sure if user error/ misunderstanding or not. It seems to me, if I want to try the app in trial mode, I use debug. To try the full version aka test if I "bought" it, I use release mode.

Ideas?
B
31
S
12
G
7
Posts: 413
Reputation: 6,866

Post » Wed Apr 30, 2014 1:48 am

Does the Plug in help with Windows Phone Ad implementation? Also, will it work with the Windows Phone 8.1???

Thanks.
Stephen
B
20
S
6
Posts: 27
Reputation: 1,878

Post » Wed Apr 30, 2014 7:13 am

@humanescape what happens when you purchase from a trial in debug mode? If I recall correctly, debug mode simulates trial/IAP, whereas release is for submission so it works in a live environment (I'm not 100% though, I can't remember).

@slegler other people have added ads manually, though this plugin doesn't have support. It is forwards compatible with Windows Phone 8.1, though I'd recommend using the integrated universal app exporter.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Wed Apr 30, 2014 10:37 pm

@thehen, when I try it, it simply goes to a "Fake" buy page and goes back but does not seem to go out of trial mode (is trial comes back still true).

Perhaps I am setting it up wrong...but I get the same result with the test app.
B
31
S
12
G
7
Posts: 413
Reputation: 6,866

Post » Fri May 02, 2014 11:55 am

Message: JunoNgx is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
@slegler I have not earned enough reputation to send you a private message, so I'll post it here and hope it would benefit other members as well.

It has been a long time ago, and my memory is far from fresh, but from what I can remember, Henry's empty template for (or something sort of so, excuse my memory) did not work for some reason. What I did afterwards was to copy my assets/scripts and modify the sample game used in this tutorial:Or something sort of that. The main idea is that a standard empty template didn't work that nicely, and I did a workaround with something else that worked (the sample game).

Again, it was a long time ago. Hope this helps.
B
6
Posts: 11
Reputation: 320

Post » Fri May 02, 2014 11:59 am

thanks for the response... I updated my Q in the Forum and posted a simple sample app (the capx file and the VS files). Here was my post:

I cannot figure this thing out... I have recreated a small test project w/ CAPX file as well as my VS 2012 file if anyone would be willing to glance at it. Pretty simple app. Launch it and it plays background music. Touch Blue Sprite object and it fires a laser. Works in Browser, not on WP Emulator or WP Device.

Here is the link. http://1drv.ms/1pW5Phs
B
20
S
6
Posts: 27
Reputation: 1,878

Post » Fri May 02, 2014 12:45 pm

@slegler I had a look and my tutorial hasn't been followed correctly. See Exporting the project.

@humanescape okay I just had a look through the code. Setting 'is trial' in the object properties in Construct 2 will enable testing trial mode. Simply change to false will allow you to test the full game. To ensure transactions complete successfully, test as a beta app?
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Fri May 02, 2014 1:49 pm

@TheHen - you are awesome... sorry for overlooking that piece... figured exporting my project would be fine. Whatever secret sauce you have in your Project Folder is awesome. Hope to put the final touches on the app tonight and get to the WP Store. Like a 1,000 others, it's a different take on Flappy Bird. The only reason I did it was to see if I could complete a project and work out any kinks... which I now think I have. On to my bigger project now.

Thanks again @TheHen!!!!
B
20
S
6
Posts: 27
Reputation: 1,878

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests