fuzzee Posted February 17, 2014 Share Posted February 17, 2014 Would be good to know when features will be added.e.g. Accelerometer module (although this could still be handled manually anyway) Quote Link to comment Share on other sites More sharing options...
enpu Posted February 17, 2014 Share Posted February 17, 2014 I plan to release new minor versions in 2 week sprints.You can view milestones at GitHub:https://github.com/ekelokorpi/panda.js/issues/milestones Just added accelerometer request to 1.1.0 milestone. Quote Link to comment Share on other sites More sharing options...
fuzzee Posted February 17, 2014 Author Share Posted February 17, 2014 That's great. You can see how much work you have put into it already. Very well thought out. I have started my first html5 game in Panda and enjoying it already. Quote Link to comment Share on other sites More sharing options...
enpu Posted February 17, 2014 Share Posted February 17, 2014 Great! Can't wait to see a game made with Panda I just pushed new version to develop branch that got accelerometer support. Here is example usage:game.module( 'game.main').require( 'engine.core').body(function() {game.addAsset('media/logo.png');SceneGame = game.Scene.extend({ init: function() { this.sprite = new game.Sprite(0, 0, 'media/logo.png'); this.stage.addChild(this.sprite); }, update: function() { if(game.accel) { this.sprite.position.x += game.accel.x * 50 * game.system.delta; this.sprite.position.y += game.accel.y * 50 * game.system.delta; } this.super(); }});game.start();}); Luis Felipe 1 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.