Search the Community
Showing results for tags 'kinetic'.
-
Hi guys! Help me to improve this plugin of Phaser => https://github.com/jdnichollsc/Phaser-Kinetic-Scrolling-Plugin Regards, Nicholls
-
Hi friends! Who have used my plugin? What did you think? Plugin: http://jdnichollsc.github.io/Phaser-Kinetic-Scrolling-Plugin/ I would like to give me feedback Regards, Nicholls
-
Hy guys! I'm trying to simulate the following (With the camera): http://ariya.ofilabs.com/2013/11/javascript-kinetic-scrolling-part-2.html My demo: http://codepen.io/jdnichollsc/pen/OVZPwx?editors=001 but I'm getting an error, Does anyone know it can be? Regards, Nicholls
-
Hi, I'm trying to move an image but I can't <script src="kinetic-v4.7.4.min.js"></script> <script defer="defer"> var stage = new Kinetic.Stage({ container: 'container', width: 578, height: 200 }); var layer = new Kinetic.Layer(); var imageObj = new Image(); imageObj.onload = function() { var cup = new Kinetic.Image({ x: 200, y: 50, image: imageObj, width: 106, height: 118 }); // add the shape to the layer layer.add(cup); // add the layer to the stage stage.add(layer); }; imageObj.src = 'copo.png'; document.getElementById('show').addEventListener('click', function() { imageObj.move(10,10); layer.draw(); alert('2'); }, false); </script>