puffstream's Forum Posts

  • 9 posts
  • Another problem and also related is the FireFox NS Error issue. I think this and the above could be the same problem. FireFox NS Error is the Canvas drawImage, sometimes works, sometimes doesn't. We've updated the Construct2 Sprite runtime.js to include try catch and also reload if there is an err. Also seems to be a recommended approach for those trying to work around the FireFox NS Error issue.

  • Correct. We are not using webgl.

  • Works fine on Chrome. Just FireFox is the problem.

    I should have also mentioned that this is no ordinary game. We're developing a full featured multimedia educational game. Videos, web services, loading in JSON data etc.. a lot going on. Probably if we strip it back we could eventually determine where it might be getting a hold up. But we're days from launching now, so will keep going with our wrapping preloader option.

    I think typically games load reasonably fast, you might not notice images being laid out to their x and y axis points, but something in our game creates the delay where images are still 0,0, at least for 0.5 milliseconds.

    Can't upload a capx file as its not personal development.

  • Hi Ashley, I've read the guidelines BUT this is not about the capx file or anything in it, its in regards to the runtime.js that is created. Regardless of capx file supplied, ALL images are set at axis 0,0 on canvas. Images aren't laid out correctly until events are able to be reached, so for a large game with lots of images. You may get this issue, I think the difference for us is that we are also relying on web services after load AND this may also be creating loading issues, however, regardless the problem still points to how images are being added in the canvas. And creating a good preloader for Construct2 games, e.g. how you would develop a preloader for Adobe Flash Games. Are all assets ready? Show game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Problem Description

    On load, images are always displayed at axis 0,0. Line of concern is ctx.drawImage(frameimg, 0, 0). We are using a number of images, including sprites with filled color, they appear squashed in the upper left and hand corner not long before being laid out correctly.

    Temp solution: for each runtime we could update the script to show images off the stage by setting points to -6000.

    However, the option we have gone with until this can be resolved is: add a function on load complete that calls an external JS function that lets canvas know construct is ready, e.g. set canvas style to display:block.

    Also note: we are also calling web services to get JSON data.

    Observed Result

    Image mash up, axis points 0,0

    Expected Result

    No image mash up.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 7 Service Pack 1

    Construct 2 Version ID

    Release 163

  • How is it a graphics card driver issue?

  • Hi Joe7,

    I have a project where I need to use your JSON Plugin, but I need it to set a different source URL at various times in the game. I realise I could just add secondary, third JSON com to the library but would prefer to simply set URL.

    Have you built this in yet? If not can someone using your plugin do this?

    Thanks,

    James

  • Created new Construct2 Project, dragged video across, nothing else on layout except video. Then added Touch to Project, can click on slider first time, second time everything freezes, can no longer slide. Only in Chrome so far.

  • Howdy,

    I've started using Rex Video. Quite nice. Noticed a few things, in CSS top and left positions are continually updating with TICK, would I be able to remove this from my copy? Or is this typically how Construct2 organises elements inside the Canvas?

    2. I can't seem to be able to click on all video controls. Its like something else overlays over the top. I can click on play/pause and audio on and off.. anyone else had this issue?

    James

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

  • 9 posts