Questions tagged as 'canvas'

0
answers

A transition affects the opacity of the other by resetting 'globalAlpha' on the canvas

I'm making a game and I'm currently building a screen where I would have a fade in ( fade in >) and, after it's finished, I'd start another opacity transition. The problem is when the first transition ends and the other begins, as the first tr...
asked by 29.05.2016 / 03:31
0
answers

how do I work the exportEnable function on canvas js in internet explorer?

I have this code below that shows me a graph but in IE does not work the exportEnable function and neither animationEnabled in chrome works however when I call the page in modal the screen height is short in chrome and in IE with compatibility m...
asked by 25.05.2016 / 14:37
1
answer

mouse hover mouse

I was able to do it with jquery, that's the code for whoever needs it. <script type="text/javascript" src="dist/jquery/jquery-1.12.3.min.js"></script> <canvas id="diamond" width="100" height="100"></canvas> <sc...
asked by 03.05.2016 / 01:56
0
answers

Flash, javascript and html5 canvas

Hi I made a slider in flash player with the html5 canvas and I published it now I need to put it inside the div of my file but I can not, the screen goes black when I replace the html file made by flash, and I put it in my page . I'm testing on...
asked by 04.11.2015 / 07:05
0
answers

Resize image and remove borders

I'm doing a "UI" with Canvas, where only the center part is resized and then reattached with the edges. Everything works perfectly, however as the size increases the "smooth" edges too, and I wanted to know how to remove it. Base image: F...
asked by 15.10.2015 / 02:43
1
answer

How to center drawArc using canvas

I'm trying to create a graph using the class RectF and the class Canvas , for this I created a View custom, where I draw drawc. I also have to insert text in the center of the drawn graph, I am trying to center the text us...
asked by 20.08.2015 / 14:33
1
answer

Multiple objects with canvas

I have not found a post yet .. so please send the link if you find one. With a huge problem, I am creating a game of those that the ball has to break squares on the screen and I have everything ready, except the squares to be broken. My pr...
asked by 27.08.2015 / 01:28
0
answers

Move an object in the direction of "onmousemove"

I'm trying to move an object in the direction in which the person presses the screen, moves and then releases. I tried to use some for ties (it was the only thing I thought) but to no avail.
asked by 05.07.2015 / 03:04
1
answer

HTML5 Canvas arc () is not of the correct size

I'm developing a college work that basically consists of creating a kind of "Paint" using canvas of HTML5 in conjunction with Javascript, but I came across a problem trying to update a canvas that serves to show the current size of...
asked by 29.06.2015 / 21:04
2
answers

Draw a circle on an image with JavaScript

I have an image and when I click on this image, I want to circle the location where I clicked. I also need to get the position to save to the bank later, because when I open the image again, I need to draw the circle again in the same positio...
asked by 24.11.2017 / 05:35