enpu Posted July 24, 2014 Share Posted July 24, 2014 Release notes:https://github.com/ekelokorpi/panda.js/releases/tag/1.7.0 Examples: Added center method to Spritevar logo = new game.Sprite('logo.png').center().addTo(this.stage);Added string shorthand to Tween easingvar logo = new game.Sprite('logo.png').center().addTo(this.stage);this.addTween(logo.position, { x: 100}, 1000, { easing: 'Quadratic.Out'}).start();Added onComplete method to Loadergame.addAsset('logo.png');game.SceneGame = game.Scene.extend({ init: function() { var logo = new game.Sprite('logo.png').center().addTo(this.stage); game.addAsset('panda.png'); var loader = new game.Loader(); loader.onComplete(this.loaded.bind(this)); loader.start(); }, loaded: function() { var panda = new game.Sprite('panda.png').addTo(this.stage); }});Examples games Flying Dog and Whack a Thing has been updated to support 1.7.0 Quote Link to comment Share on other sites More sharing options...
Colorio Posted July 24, 2014 Share Posted July 24, 2014 Hi, I used PandaJS on my latest project, so I keep working with it on my next project as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.