firebelly's Forum Posts

  • Ashley I did some research and tell me what you think.

    Here are the specs for Windows Phone 8

    http://msdn.microsoft.com/en-us/library ... 2(v=vs.105).aspx

    Could be looking at a range of 150 to 300 at as a limit.

    I ran the mem profiler all over. C2 Says my game is at 90 megs, Chrome says the same +/-3.

    In VS2013 my profiler says ~90-120m opening, and then when I click the button to change layouts it go way up to 180 and exits. That is with the small phone (512 emulator). With the large phone my game starts at like 120 and pegs 360 when I change a layout.

    I do decent garbage collection, so i have a constant rate of items being created/destroyed so there isn't a run away process.

    My result is this, the new universal app uses a lot more memory than expected from C2. What are our options?

  • I assume it will have a tiny impact, there has to be code that changes which sprite is visible at that frame, but honestly, you have bigger problems if you are trying to get to that level of perf tuning.

  • Do you mean direct scaling or moving around objects to scale the screen right? You need to do the second because...

    Because the iPhone 3, 4+ and iPad all have different screen sizes.

    Because the Android OS has like a ton of different shapes

    Because Windows Phone has 3 different sizes.

    Coding for one and hoping it will look good on all is a big mistake.

  • Is there a limited to how tall a sprite sheet can be? Someone mentioned on the forums there, it can't be over 2000 or something close. But C2 creates sprite sheets larger than that. Is there a way to force C2 to making smaller ones, just to test? (Like split up a large sprite sheet instead of make a massive one)

  • Quick note, I'm trying out the new Visual Studio 2013 Javascript tools, but I'm having issues with it. The debugger seems to exit before the tool can catch anything, I'm going to try some different settings with the exception handling. Also when I try to collect the heap with VS2013 it just spins and spins forever. Not sure if this is something with the way C2 works once compiled or if VS2013 isn't ready yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley I also ran it through the debug mode. It starts as ~92 megs of images it says and never really deviates from that. Objects hover around 200 max and I keep cpu under 3-5% (i know that doesn't mean much)

    Point is, I don't see any memory leaks, so I'm not sure how I'm running out of memory. Again, on CocoonJS, I don't see this.

  • Rule #1 of building software for app stores, etc. Don't read the comments. Unless it's a bug report.

  • Any ideas how to debug this? How do I determine what is causing this crash?

    Seems to crash when it hits this

    k.getContext("2d").drawImage(this.ja,a,b,c,d,0,0,c,d)

  • Has anyone seen what this plugin offers over the previous one for 1.4.7?

  • They don't make any money. They are a start up, they are living off investment rounds from VCs. They are looking to get bought out or to find a full time investor until they can become cash positive.

    The only way they will do that is off of cuts from IAPs I feel. I think they would be better off just selling CocoonJS as a standalone app or at a cheap subscription.

    We are not their target audience, right now the target audience is investors or buyers, which is why they don't seem to move to quick when we report issues.

  • Can you send me your SLN file? or at least all the debug info you have? I have a thread open for this on MSDN.

  • Well, it looks like the device is out of memory, so you need to make your project use less memory. What is Construct 2 reporting as the estimated memory usage?

    download 17 Megs, Memory 88. This was testing on the High end emulator too. Not the 512 Meg one. I think the High ends are 1-2 Gigs.

  • Don't use the Windows Phone plugin. Just export a universal app for WP8.1+ and it will be able to play the .m4a files like IE usually can. WP8.0 has pretty poor HTML5 support so I'd recommend only targeting WP8.1+.

    I've been able to see crashes on WP8.1+ still from playing too many audio tracks, but you'd need to contact Microsoft about that, it's an IE bug.

    Do you have any stack traces for this? My app is crashing but it is not throwing any errors related to audio. Microsoft folks are asking.

  • Is there a work around for this? I doubt it's a bug but something on my end. Seems to work OK in CocoonJS, but I get this on WP8.1

    Saved state to WebStorage (98472 bytes)

    Saved state to WebStorage (98518 bytes)

    SCRIPT14: Unhandled exception at line 59, column 253 in ms-appx://e785df66-607c-4028-a911-b55ef60507b7/c2runtime.js

    0x8007000e - JavaScript runtime error: Not enough storage is available to complete this operation.

    File: c2runtime.js, Line: 59, Column: 253

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11098: INVALID_OPERATION: generateMipmap: The texture is a non-power-of-two texture or not mipmap complete

    File: c2runtime.js, Line: 60, Column: 479

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11098: INVALID_OPERATION: generateMipmap: The texture is a non-power-of-two texture or not mipmap complete

    File: c2runtime.js, Line: 60, Column: 479

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11098: INVALID_OPERATION: generateMipmap: The texture is a non-power-of-two texture or not mipmap complete

    File: c2runtime.js, Line: 60, Column: 479

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11098: INVALID_OPERATION: generateMipmap: The texture is a non-power-of-two texture or not mipmap complete

    File: c2runtime.js, Line: 60, Column: 479

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

    WEBGL11098: INVALID_OPERATION: generateMipmap: The texture is a non-power-of-two texture or not mipmap complete

    File: c2runtime.js, Line: 60, Column: 479

    WEBGL11005: OUT_OF_MEMORY: texImage2D

    File: c2runtime.js, Line: 59, Column: 352

  • Man, i can't believe how incompetent they are...

    They are a tiny team and C2 is just one little part of their customer base. You have to remember there are like 100000000000000000000000 HTML5 frameworks out there they have to be compatible with.

    They seemed over worked and tired when I met them, I know its no fun waiting around, but they are doing the best they can.