misiek3510's Forum Posts

  • 4 posts
  • Yes will get it soon, just love this piece of software. I made project with flood fill based on canvas plugin and even when I run it on my android device via the web browser the performance level is satisfying so I believe that apk made via cocoon will have similar or better performance.

  • I have found the floodfill bug. If anyone interested:

    In the plugins runtime.js, in the flood_fill funtcion the trick below doesn't work on IE:

    var color = $('<div></div>').css('background-color', _color).css('background-color').slice(4,-1).split(",");

    If you replace the line above with this, it will work fine:

    var color = _color.substring(_color.indexOf("(")+1).split(",");

    DRAWBACK: you can't pass nice colorname or HSL color parameters, it will work only with rgb(R,G,B) or rgba(R,G,B,A) format.

    I admit not the nicest fix, but the floodfill will work in IE too.

    Thx for this tip! using RGB values fixed wrong color.

    What about minify? Can you use it when you use canvas plugin in your projects? For me everytime it fails, js file with all the code is not minified.

    Edit:

    also what I noticed that any "full screen in browser" need to be set to off otherwise flood fill is not working.

  • Hi I am new here and before I jump on to professional license I would like to know if such kind of game like user Pode published in this topic:

    scirra.com/forum/plugin-canvas_topic46006_page7.html

    will be performing well as apk android app?

    Could someone be so helpful and make apk from Pode project just for testing performance?

    Thx in advance

    Misiek

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I am new here and have some questions on start.

    I would like to know if there is some tutorial about canvas and flood fill in Construct2?

    I would like to make similar game to this project:

    mareknijawski.pl/canvas

    but for android devices.

    Can someone point me in right direction and show me where I should start?

    Regards

    Michal

  • 4 posts