[Plugin] Windows Phone Updated - New Tutorial!

0 favourites
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • thehen Ah yes I see it, Scirra didn't notify me. ^^;

    I'll try what you suggested. Also thanks. ^^

  • thehen

    I tried what you suggested to gamepopper and I'm still getting the same issue too.

    When you declare sounds/music are you doing it through the windows 8 plugin or the sound object?

  • jenaylor I recommend you use functions to handle the sound, then detect whether it's Windows Phone and use my plugin, else use the official sound plugin. They won't work together on Windows Phone, you have to detect the device and use the appropriate object.

  • thehen I've tried adding the sound via the Windows Plugin event, even separating every Sound Plugin/Windows Plugin event with an Is Windows Phone App condition, and even made sure Minify Script was unchecked, but the deployed version has no sound. :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • devhammer awesome! Congrats! Is it available in the UK, I can't seem to find it in the store?

    Now available:

    windowsphone.com/en-gb/store/app/color-matcher/c162bbe1-e62d-406d-8d4d-bcd522a1c567

    Nice thing is that it was updated the same day, once I resubmitted with the UK market selected.

  • thehen I've even tried using the m4a versions with the Windows Phone plugin (i.e. "media/Menu_Click25.m4a"). Sound plays, but still the same issue of one at a time. >_<

  • thehen: Can you include the marketplacereviewtask to rate the app/game, and open link to external site like facebook/Twitter... in the next update?

    I think both are pretty essential. The browser's open URL action in Scirra just open the web page right inside the game, so it is impossible to handle the back button.

    Thanks a lot!

  • Hi all,

    So we've got our Mortar Melon update live on Windows 8 so focus is back on Windows Phone. Here's our current priority list with highest priority at the top:

    • Minification support
    • IAP
    • Sound effect looping
    • Rate game support
    • More live tiles
    • Trial
    • Pubcenter Ads
    • Accelerometer
    • Scheduled local tile updates

    Let me know if I've missed anything :)

    gamepopper can you pm me a .capx.

  • thehen I pm'd a capx file a few days ago. :)

  • thehen: when I set the sound volume to -10dB, it does not play at all. Setting back to 0 db and things work fine.

  • thehen good one! I would love to try these new features.

  • Superb plugin thehen, good job!

    I tried your example (in r116) and it worked fantastically!

    Is there any chance you'll be supporting later builds of C2. I've done soooo much work on my project since r116, that it'd be very difficult to roll back.

    I ask because I also tried your example in r128.2, but I just get a black screen. Not sure if this is something to do with new C2 version? The VS debugger showed an exception message (see below), and highlighted (**) a line from a function within the "WindowsPhonePluginForConstruct2.Mainpg" code:

            //Back button

            protected override void

            OnBackKeyPress(System.ComponentModel.CancelEventArgs e)

            {

            ** Browser.InvokeScript("eval", "cr.plugins_.windowsphone.prototype.cnds.OnBackTrigger()"); **

                e.Cancel = true;

            }

    <img src="https://dl.dropboxusercontent.com/u/101200636/errormsg2.png" border="0" />

    It'd be a great shame to lose such a fantastic plugin to later builds of C2!

    Keep up the great work!

    <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Pantaloons I've been working all today on getting it to work with the most recent builds of C2, so this will definitely make it into the new release. I think the black screen is due to a different version of jQuery being referenced in index.html.

  • thehen, that's great news, I look forward to the new release.

    Is the jQuery reference something I can fix on my end, or will it be updated in the next release?

  • There is an issue with going to a browser inside, pressing back doesn't go back to the game, and pressing back multiple times brings up an unhandled exception.

    For now I can disable browser functions for Windows Phone.

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