[PLUGIN] Canvas

  • its posible to draw freely with the mouse, when i try it only do straight lines from the left corner top

    https://dl.dropboxusercontent.com/s/y9asncfrt721jey/mouseCanvasDraw.capx?token_hash=AAG1GHw-Rje_LPt7R6v14V8GLwW1PJ6kV2xDS7dXH_c0GQ&dl=1

  • I made a simple coloring book that uses Floodfill. It works, but is there a way to leave the black outlines intact (not to color outlines)?

    For me it does not work properly with the Flood Filling. Are you an example of how this works?

    Thank you <img src="smileys/smiley1.gif" border="0" align="middle" />

  • is it possible to edit single pixels and check for single pixels ?

    Some examples are welcomed !

  • This is a very cool paint tool. I see that it can draw path with color. How do you draw with images. Like instead of colors, it can be just little icons on the path?

  • Hello wayne

    I would ask you if you could make a small desctrucable terrain example.

    with your plugin.

    I need help on this.

    kind regards

    steen osterby

  • Could we get the expressions rAt, gAt, bAt, and aAt, each returning a simple numerical value? As it is, extracting the data from the string returned by rgbaAt is more difficult than it needs to be.

  • XManBG

    Oh man, thank you!!! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi,

    I'm using the canvas plugin, it works perfect on browsers. But when I wrap the project by CocoonJS for android, the app starts but just shows a blank screen.

    Is there anything I should do for the plugin to work? Or CocoonJS does not support the canvas plugin?

    Meanwhile, it is perfect plugin :)

    thx

  • mamut

    It might be minify error. Try to export to html with minify, you will get a black screen too.

  • I removed the minify option and it worked :)

    thanks a lot rexrainbow.

  • Yeh, I noticed too, that the C2 JS minify makes on HTML5 export the Canvas Plug-In buggy. What could it be - the Plug-In code or C2 itself?!

  • Hm, last time I thought that the problems are coming from JS minify option only, but unfortunately I was wrong. Also without minifing, the Canvas makes Chrome and Firefox stuck and crash. I'm sure, that the situation is connected to the continuously improvement of C2 and its newest versions, because I didn't observed problems before a month or two. And I like the Canvas Plug-In and I'm using it strongly in all my ideas.

  • Please R0J0hound, here some more detail from my observations... maybe you could find some time to take a look... ?!

    Simple Project: just the Canvas Plug-In and a simple procedure to draw a line with every mouse movement.

    Link to HTML5 uploaded: HTML5 Site

    Link to C2 r132 CAPX: CAPX

    You can try this at home: start moving the mouse over the Canvas Object and observe the memory amount needed for the browser application. I took two screenshots, one from Chrome (version 27.0.1453) operation and one from Mozilla (version 21.0). Both behave the same: crashing after memory full.

    Links to both screenshots: Screenshot 1 Scrrenshot 2

  • I've used the Canvas plugin and haven't experienced any crashes.

    Have you tried using another computer?

  • Haven't tried a lot canvas with minify, but a normal, without minify, export, it works fine.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)