Tagged Questions
1
vote
2answers
87 views
Swapping between layers in kineticJS
I'm trying to treat layers as pages -- i.e. I draw on one page, then turn the page and draw on another, each time storing the previous page in case the user goes back to it.
In my mind this ...
-1
votes
1answer
58 views
KineticJS Layers Layering
I have one stage and 4-5 layers with images and shapes on every layer. Every time I add an object in a layer that layer takes a greater z-index , index and comes at the top of the other layers.
...
0
votes
1answer
76 views
Expand the first layer/table in CSS
I want the first layer to expand to the whole screen when I apply my CSS properties. There are margins, left and right of the page.
What I want is similar to this.
The first layer is that one in ...
-1
votes
1answer
222 views
Kineticjs Html5 cant effect image object in other different layer in same stage? [closed]
I can't resize or rotate different layer in same stage , it change the size or rotation but it does not effect immediately ,
If you want to see use this link :
...
2
votes
2answers
1k views
Canvas (Kinetic.JS): multiple layers vs single layer approach
Can anyone explain why (indeed, if) it's best to abstract the major parts of a canvas game to different layers when using something like Kinetic?
It of course feels like you should, and so far I have ...
0
votes
1answer
216 views
Kinetic.JS - why does layer order change overwrite my colour?
I'm currently playing with Kinetic.JS. I have drawn a rather crude UFO-like shape in two parts, a hull (red) and a disc (grey).
Demo - JSBin
Question: how come when I later arrange the shape ...
0
votes
0answers
31 views
Using non-canvas elements as imagedata in an overlaying canvas
I've got a simple webpage with, let's keep it simple, black and white elements in it. The elements have arbitrary shapes.
Now I would like to partially overlay them with one canvas element, that acts ...
1
vote
2answers
664 views
Using canvas layers that are not positioned using position:absolute
I am trying to use this example:
http://html5.litten.com/using-multiple-html5-canvases-as-layers/
to create multiple html5 layers (Actually only need 2) for a background and then an animation on top ...
0
votes
3answers
143 views
HTML5 Multiple Layers, can't see lower layers
I'm trying to impliment a simple game with multiple canvas layers. The problem is I can only see the "top" layer.
http://carmenbranje.com/games/untangle%20game%203/
Why is this?
Thanks very much
...
40
votes
2answers
38k views
html5 - canvas element - Multiple layers
Without any extension library, is it possible to have multiple layers in the same canvas element?
So if I do a clearRect on the top layer, it will not erase the bottom one?
Thanks.
0
votes
1answer
157 views
HTML 5 -Dynamic Elements as layers
I want to implement Dynamic Elements as layers,one over the other.The layer which is above is translucent visually to the layer below.(that is where one layer has an element in which the image changes ...
0
votes
1answer
310 views
Dividing PNG into layers (HTML5, JS)
I'm working for a small non commercial project, what I'm stuck on right now is that the script picks up a png image, however when I exported it, there are two layers, how do I divide this image into ...