hotcakes's Recent Forum Activity

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

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

  • No, it does not appear to affect other browsers or platforms. I can confirm the Android version (exported via Crosswalk) does not have the issue.

    I thought it might be an issue with WP8.1 itself, but I am able to run other apps on it for several hours. Do you know of any WP8.1 apps made with HTML5 that I could download and test?

    Looking forward to more info on this. I'm just waiting on this (or any kind of workaround you might find) to release my app.

    Thanks,

    Andy

  • Problem Description

    Over time, a project exported as a Universal 8.1 (Windows 8.1 and Windows Phone 8.1) app from Construct 2 r168 will leak memory only in Windows Phone 8.1. Despite sharing the same code, the Windows 8.1 build does not leak memory. Only the Windows Phone build does.

    Attach a Capx

    This issue was observed with my own capx as well as your own template files. No need to appach a capx file... simply use the Flapping Bird template with no modifications. I tested and confirmed the same issue occurs.

    Description of Capx

    Test with Flapping Bird template.

    Steps to Reproduce Bug

    • Export app from Construct 2 as Universal 8.1.
    • Open the project in Visual Studio 2013.
    • Run app on Windows Phone
    • Do nothing. The app immediately starts leaking memory, even just sitting on the main play screen.
    • Try with Windows 8 and notice there is no memory leak.

    Observed Result

    The app slowly increases total memory used, about 1-2 MBs per minute. Eventually, app crashes as it runs out of memory.

    Expected Result

    I expect the memory use to remain the same over time.

    Affected Browsers

    • Windows Phone 8.1 Only.

    Operating System and Service Pack

    Windows Phone 8.1 (issue occurs on device with Lumia 920, and in emulator)

    Construct 2 Version ID

    Construct 2 release 168 64bit

  • After some testing, I could no longer get the Windows Phone plugin to work at all. So for now, since I'm using the IntelXDK for Android, I have a really ugly way of doing it: If NOT IntelXDK -> If Windows 8 (do something for Windows), Else (do something else for WP).

    My crossfading audio trick seems to work fine for Windows 8.1, but WP8.1 can't handle it. It stutters and lags. I'm still trying to find a workaround.

    More importantly right now though, in my longer-term testing, I'm finding that WP8.1 is crashing just before the 2 hr mark. I'm not sure if it's related to audio (I'm still testing) but so far, when running the white noise on loop, the app just silently dies around the 1h40m mark. Android has run rock solid for a week (which is important for a full time dedicated alarm clock app!).

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

  • I am working on an alarm clock app, and I have a need for seamless looping of audio files. This works fine on Android, but as we know, IE introduces a gap in the loop. This makes my app completely unusable (the loop is for white noise while you're trying to sleep). I made a hacky workaround by forcing it to overlap (every 20 seconds, it starts a 2nd sound and turns off the 1st 0.04 seconds later). This fixes the problem on Windows, but introduces an overlap blip on Android. So, I added the Windows 8 object and said "if win8 do the loop fix". This works. I now have sound on Android looping well, and sound on Windows 8 looping ok (close enough). However, I want my app to be a universal app for Windows Phone too. How can I target Windows Phone? If my app is universal, I would think the Windows 8 object would work, but it doesn't recognize the WP8 device.

    Any idea how I can work around this? Are there any plans to better support Universal Windows apps, allowing us to target Win8, WP8, or both?

    *note: I have now been able to get this to work with the Windows Phone plugin, but most of those conditions are now obsolete, so I would rather see native support.

    Thanks!

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having two issues at the moment with the Plugin (which is fantastic btw!).

    For one, like a few others, I cannot seem to use the back button at all (my phone is a Lumia 920 with Windows Phone 8.1, and hitting back in the app does nothing).

    And two, I can't find a way to control the volume of my sounds. For this project, I need sounds to fade in and fade out. To do so, I have be doing simple Construct loops (For example: if audio volume < 0, set volume = volume +0.5). This works fine on Android. However, with the plugin, I'm assuming none of the default audio controls work, so my audio "set volume" action doesn't work. And the Windows Phone plugin object doesn't have any volume controls in it. Any idea how I can get this to work, or am I SOL on Windows Phone?

    Andy

hotcakes's avatar

hotcakes

Member since 28 Mar, 2014

None one is following hotcakes yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies