[Plugin] Windows Phone Updated - New Tutorial!

Post your completed addons to share with the community

Post » Sun Jan 27, 2013 4:55 am



Windows Phone plugin for Construct 2 bridges the gap between HTML5 and C#, allowing for better performance and simple store certification.

View the complete guide to getting your Construct 2 game running with this plugin here.

Limitations:
  • Web fonts do not work when loaded locally. If this functionality is required, I highly recommend using the Sprite Font plugin.
  • All audio will have to be converted to .WAV and added to the exported project separately.

Conditions:



Actions:



Tutorial:
Firstly download the plugin and extract to <install path>\exporters\html5\plugins.

Next, open the included example .capx to see how everything works.

Included in the download is a Windows Phone project. Use this rather than exporting your own project. All you need to do for your own game is to convert your audio to .wav and include it in your media directory, then export to a separate folder and copy your c2runtime.js and images across to the project.

In the Visual Studio solution explorer, ensure your assets have been added to the project (right click -> add -> Existing items).

Debug the app on either a device or the emulator and test the functionality to ensure its working.

Download (includes .capx example):
Windows Phone Plugin For Construct 2

Tagging: @FrodoBaggins @EyeHawk @curv @Dgsstan @beufreecassethehen2013-06-24 23:36:57
Moderator
B
63
S
12
G
9
Posts: 866
Reputation: 10,207

Post » Sun Jan 27, 2013 6:25 am

Woohoo! Dude you are an absolute legend, thanks for this plugin !!! Can't wait to start playing with this! (just finished with the global game jam, so will have a rest for today
B
31
S
7
G
3
Posts: 328
Reputation: 7,386

Post » Sun Jan 27, 2013 6:41 pm

AWESOME! Can't wait to publish a game with it!
B
9
S
1
G
3
Posts: 10
Reputation: 2,801

Post » Sun Jan 27, 2013 7:34 pm

Great!


Thnx for the plugin,


Cheers!
B
28
S
8
G
6
Posts: 196
Reputation: 5,392

Post » Mon Jan 28, 2013 12:28 am

This is an awesome plugin, but I'm having some trouble exporting my own app with it. Can you please give me some guidance? I got the example one to work perfectly.
B
3
Posts: 20
Reputation: 615

Post » Mon Jan 28, 2013 4:33 am

Nice one!
B
45
S
9
G
13
Posts: 2,561
Reputation: 14,970

Post » Mon Jan 28, 2013 8:48 am

Cool guys, I hope it comes in useful.

@FrodoBaggins What exactly is it you're struggling with? Audio can be a bit complicated as you have to detect the platform to choose whether to use the audio plugin or this one. I'll write up a tutorial soon.

Start simple with a vibrate on button press then expand from there.
Moderator
B
63
S
12
G
9
Posts: 866
Reputation: 10,207

Post » Mon Jan 28, 2013 9:21 am

@thehen I'm having trouble with getting this plugin to work with my own C2 project. Dragging those files you provided for your example, into my project, causes C# errors, and just plain leaving it alone and building doesn't seem to work. I have a button set for 5 seconds vibration. I've got yr example to work perfectly on my windows phone.
B
3
Posts: 20
Reputation: 615

Post » Mon Jan 28, 2013 9:32 am

Ok cool I can confirm that the example works great.
The flipped tile works well too.

BTW, the 'show all files' icon is this one:



Or under menu Project->show all files
Just in case you are as blind as me EyeHawk2013-01-28 09:44:48
B
31
S
7
G
3
Posts: 328
Reputation: 7,386

Post » Mon Jan 28, 2013 9:45 am

@FrodoBaggins PM me your .capx and I'll take a look :)

Thanks @EyeHawk that took me a while too!thehen2013-01-28 09:48:00
Moderator
B
63
S
12
G
9
Posts: 866
Reputation: 10,207

Next

Return to Completed Addons

Who is online

Users browsing this forum: CoolBeanz and 0 guests