[Plugin] Windows Phone Updated - New Tutorial!

0 favourites
From the Asset Store
Create your game with this complete pack of images and animations!
  • <img src="http://i.imgur.com/sJLFZ49.jpg" border="0">

    <font size="4">Windows Phone plugin for Construct 2 bridges the gap between HTML5 and C#, allowing for better performance and simple store certification.</font>

    <font size="5">View the complete guide to getting your Construct 2 game running with this plugin here.</font>

    <font size="5">Limitations:</font>

    • 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.

    <font size="5">Conditions:</font>

    <center><img src="http://i.imgur.com/sqTHim8.jpg" border="0"></center>

    <font size="5">Actions:</font>

    <center><img src="http://i.imgur.com/T7GnZtk.jpg" border="0"></center>

    <font size="5">Tutorial:</font>

    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 it?s working.

    <font size="5">Download (includes .capx example):</font>

    Windows Phone Plugin For Construct 2

    Tagging: FrodoBaggins EyeHawk curv Dgsstan beufreecasse

  • Woohoo! Dude you are an absolute legend, thanks for this plugin !!! Can't wait to start playing with this! <img src="smileys/smiley16.gif" border="0" align="middle" /> (just finished with the global game jam, so will have a rest for today <img src="smileys/smiley32.gif" border="0" align="middle" />

  • AWESOME! Can't wait to publish a game with it!

  • Great!

    Thnx for the plugin,

    Cheers!

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Nice one! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • 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.

  • 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.

  • Ok cool I can confirm that the example works great.

    The flipped tile works well too. <img src="smileys/smiley1.gif" border="0" align="middle" />

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

    <img src="http://www.learnrec.com/C2forum/showallfiles.png" border="0" />

    Or under menu Project->show all files

    Just in case you are as blind as me <img src="smileys/smiley11.gif" border="0" align="middle" />

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

    Thanks EyeHawk that took me a while too!

  • FrodoBaggins has picked up on an issue that means anything that isn't the example won't work. Just fixing now.

    • Edit ->

    Open up the following files and replace the WindowsPhonePluginForConstruct2 with the name of your project (you can find it in project settings inside Construct 2): App.xaml.cs (line 9 and 11), MainPage.xaml (line 2) and Mainpage.xaml.cs (line 15 and 17).

    Should be working now.

  • FrodoBaggins has picked up on an issue that means anything that isn't the example won't work. Just fixing now.

    - Edit ->

    Open up the following files and replace the WindowsPhonePluginForConstruct2 with the name of your project (you can find it in project settings inside Construct 2): App.xaml.cs (line 9 and 11), MainPage.xaml (line 2) and Mainpage.xaml.cs (line 15 and 17).

    Should be working now.

    thehen Thanks, this fixed it for me :) - Great plugin. My app should get certified now.

  • FrodoBaggins excellent, let me know how it goes.

  • The default Audio Object seems to work when i export to windows 8 phone and run it in the simulator, not sure when i need to use the plugin other than the "vibrate phone" or "tiles update".

    Do the default Windows 8 plugin in-app purchase doesn't work , at least i am not able to test it in the simulator , thought it might work when i publish ?

    Any other suggestion on how to make the Ads and in-app purchase to work in Windows 8 Phone ?

  • You'll find that you won't be able to play more than one sound at the same time and that the audio will cut out the users own music (which will make you fail cert). Using this plugin avoids that.

    Ads and IAP are planned for the plugin, but low priority and could be a number of weeks.

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)