Ali BARIN

Members
  • Content Count

    4
  • Joined

  • Last visited

About Ali BARIN

  • Rank
    Newbie
  • Birthday 08/17/1992

Contact Methods

  • Website URL
    http://alibarin.com.tr
  • Twitter
    barinali
  • Skype
    alibarin

Profile Information

  • Gender
    Male
  • Location
    Istanbul, Turkey
  1. Ali BARIN

    Gravity?

    Maybe this helps.
  2. Ali BARIN

    Take a screenshot of the canvas

    Thank you all. I learned now. We saw black picture. Because our games use WebGL as renderer. Canvas renderer is working perfectly. Correct me if I'm wrong. Edit: I wrote wrong. I updated
  3. Ali BARIN

    Take a screenshot of the canvas

    I found a solution for this problem. I'm using html2canvas.js for solution. Use it for taking a screenshot: html2canvas(document.querySelector("canvas"), { onrendered: function(canvas){ window.open(canvas.toDataURL()); } });
  4. Ali BARIN

    Take a screenshot of the canvas

    I'm having same problem too. Does anyone have a suggestion? It doesn't work. window.open(game.canvas.toDataURL());Result: