Rob Kachmar's Recent Forum Activity

  • Thanks for clearing that up thehen! It works like a charm. I really appreciate you taking the time to help me out. Keep up the great work!

  • First off, thanks for spending time to help me with my little problem.

    Unfortunately I can't seem to get it working. I tried your suggestions without any luck. Here's a quick video of me exporting a simple project and making the suggested tweaks.

    dropbox.com/s/odm2wq34r0ntjq9/ShowBugs_Construct2_r115_WindowsPhone8_NotSuspending_2013-01-13_2206.zip

    Here is the exported solution from the video:

    dropbox.com/s/zovqwuo15mgkfwx/ShowBugsWin8Phone.zip

    Here is the Construct 2 project from the video:

    dropbox.com/s/mmql3v0xr4m8y56/ShowBugs.capx

    BTW, I tried out your Mortar Melon game, very cool! It's inspiring to see what is possible with Construct 2.

  • I realized the previous project links I provided may not be the easiest type of project to identify the lack of suspend functionality in WP8.

    Here are some new links with a simple project that increments a text box score on any click or touch. When you navigate away from the app in WP8 and come back to it, the score will revert back to zero and not maintain its previous value.

    NOTE for "thehen": The ShowBugsWin8Phone.zip link has your suggested fix, but unfortunately it does not work.

    The Construct 2 project:

    dropbox.com/s/mmql3v0xr4m8y56/ShowBugs.capx

    The Windows 8 App export where state is maintained between app switching.

    dropbox.com/s/2rs2i065qpejrul/ShowBugsWin8.zip

    The Windows Phone 8 App export where state is NOT maintained between app switching.

    dropbox.com/s/zovqwuo15mgkfwx/ShowBugsWin8Phone.zip

  • Thanks for the reply. I tried out your suggestion, but no luck. Below is a link to the exported WP8 files with your suggested change.

    dropbox.com/s/mvp760jnwy2qgmp/HypnosisWheelWin8Phone.zip

    I think the problem is that the OnAppActivated() and OnAppDeactivated() methods are never even being called. I even added some simple MessageBox calls inside of them to troubleshoot when they are called, but they never fire.

  • Ashley,

    I tried exporting again with the r115 release, but I am still experiencing the same reset behavior. I updated the .capx link above with the file I opened in the new r115 release.

    firebelly,

    How are you maintaining state in your app after the user clicks the back or windows button on the phone, and then comes back to your app?

    BTW, this is from the app failure report I received...

    Requirements

    A Windows Phone app is deactivated when the user presses the Start button or if the device timeout causes the lock screen to engage. A Windows Phone app is also deactivated with it invokes a Launcher or Chooser API.

    A Windows Phone OS 7.0 app is tombstoned (terminated) when it is deactivated. A Windows Phone OS 7.1 or higher app becomes Dormant when it is deactivated but can be terminated by the system when resource use policy causes it to tombstone.

    When activated after termination, the app must meet the requirements in Section 5.2.1 - Launch time.

    For more information and best practices, see App activation and deactivation for Windows Phone.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sweet! Looking forward to it.

  • I recently created a few apps with Construct 2 and successfully uploaded them to the Windows 8 Store. However, when I tried to export the same apps to the Windows Phone 8 Store, they all failed certification because the apps did not resume where they left off when the user switches away to do something else on the phone.

    In Windows 8, the same apps properly go into a suspended mode when you navigate away from them. They pick up exactly where they left off when you go back to them. In Windows Phone 8, the apps restart from the beginning.

    Here is a very simple app to show this behavior:

    dl.dropbox.com/s/zvrorjglsx2ns80/HypnosisWheel_v1.0.0.3.capx

    Reproduce the behavior:

    1) Open the .capx file and export it to Windows Phone 8

    2) Open the .sln file in the export directory

    3) Run the project

    4) Double tap a few times on the circle to increase the speed

    5) Now tap the back button or windows button

    6) Then go back to the app and it will be reset back to its original speed

  • I was able to successfully force landscape mode in Visual Studio Express 2012 for Windows Phone by doing the following:

    1) Open the solution (.sln) file that is produced from the WP8 exporter

    2) Open the MainPage.xaml file from the Solution Explorer

    3) Find SupportedOrientation and change the value to "Landscape"

    4) Find Orientation and change the value to "LandscapeLeft"

  • Disabling the test mode property of the Windows 8 object took me longer than I would like to admit. I searched all over the website and the manual and could not find any information that explained exactly how to do it. The only thing useful in my searching was the manual page that mentioned the existence of the property.

    scirra.com/manual/145/windows-8

    It turns out to be a newbie type issue. I kept expecting to see the Windows 8 object in my "Object Bar" window. Seems logical, right... Well it turns out certain objects, like the Windows 8 object, can only be found in the "Project Bar" window under the "Object types" folder. Once you know that, it's as simple as clicking on the Windows 8 object and then setting properties like any other object via the "Properties Bar" window.

    Hopefully this comes up quickly in the search for any other newbies racking their brains on this issue. <img src="smileys/smiley1.gif" border="0" align="middle" />

Rob Kachmar's avatar

Rob Kachmar

Member since 15 Dec, 2012

None one is following Rob Kachmar yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies