roachhd's Forum Posts

  • 14 posts
  • Sorry, I just noticed this post.

    Yeah I didn't do anything (that I know of)

    I'm still having trouble with it, but only for this one game. All other games I make the back button works fine. Must be something else.

  • I've published one app on windows phone store, this is the update for it.

    Funny thing is the back button worked first time on the original game, without even adding anything, just a straight export from c2 to visual studio. I didn't use the windows phone plugin or anything.

    Now the back button is not working on the orig app in the store??? Just suddenly stopped

    I'm blaming Microsoft, I didn't change it. lol

    I still haven't had a chance to play around with it again, hopefully tonight

  • everything is running smooth, besides the audio and back button (it exits the app, rather than pause or go to home page) the frame rate is great on Nokia 930 and 820

    I'm going to have a play around tonight with and will let you know how i go.

    Thanks for the offer to look at the project, i may take you up on that depending on how things go tonight.

    Thanks

  • sorry for taking so long to reply.

    I upgraded the project to 8.1, and it deployed without errors to the device.

    Thanks for your help.

  • OK thanks Ashley

  • Thanks ASHLEY. The desktop version is running perfect thanks, its just the phone.

    With regards to removing the affected shaders, would that just be a process of going through the c2runtime.js and removing all the references. Or would I need to alter my project in C2?

    Thanks

    (the export to WP8 also works great, so I am happy to continue using this, just curious about getting the universal projects going too)

  • commenting out the snippet of code also makes no difference.

  • I've exported again and this time was able to run the WS version (from the Universal export), but was still unable to get WP going.

    Visual studio showed the build was successful, so I ran the debug, this is what came up in the output

    =============================================================================================

    'WWAHOST.EXE' (Script): Loaded 'Script Code (MSAppHost/2.0)'.

    Unhandled exception at line 1721, column 4 in ms-appx://19b62d92-1d96-45c8-a28e-fa277857b857/c2runtime.js

    0x800a138f - JavaScript runtime error: Unable to set property 'hasCurrentMatMV' of undefined or null reference

    The program '[4944] WWAHOST.EXE' has exited with code 0 (0x0).

    =============================================================================

    The section of code it referred me to was in c2runtime.js below is the section:

    -----------------------------------------------------------------------------------------------------

    var i, len, s;

    for (i = 0, len = this.shaderPrograms.length; i < len; i++)

    {

    s = this.shaderPrograms;

    s.hasCurrentMatMV = false;

    if (s.locMatP)

    {

    this.gl.useProgram(s.shaderProgram);

    this.gl.uniformMatrix4fv(s.locMatP, false, this.matP);

    }

    }

    -------------------------------------------------------------------------------------------------------

    I'm only one step above total noob status when it comes to javascript.

    Any JS geniuses out there that could give e some advice?

    I have tried changing the s.hasCurrentMatMV = false; to true (as well as the false within the 'IF')

    but that didn't make any difference.

  • Don't think you can.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • volkiller730 Thanks for your reply. My PC is up to date, I didn't even think of checking through VS, i just put it straight on the phone, I'll check it out tonight.

    Cheers

  • Hi,

    I can't seem to get the Windows 8 universal app going. My game crashes both on the desktop and phone when I export using the universal option.

    If I chose any other (WP8, WS8 or WS8.1) my app works fine.

    It builds and deploys the universal solution , but doesn't load past the splash screen and crashes back to the desktop.

    Anyone have anymore ideas for how to get this going, it would be really handy to work on it as a universal project rather than two separate ones.

    Cheers

  • thehen quick question, I realise this is not for universal apps, but can I use it for WP 8.1 or just 8?

    Cheers

  • AndreasR Awesome, thanks

  • Hi guys,

    did you find a fix for this? I get the same error when importing a tmx file.

    Cheers

  • 14 posts