enpu Posted February 15, 2014 Share Posted February 15, 2014 Release notes: https://github.com/ekelokorpi/panda.js/releases/tag/v1.0.3 Quote Link to comment Share on other sites More sharing options...
Chupup Games Posted February 15, 2014 Share Posted February 15, 2014 getting serious now...yeah, Panda! Go go go I found the tutorials and they are good for a first quick start, it's only the documentation that is a bit too empty for me.Some classes and methods I don't know what they are for without further explanations Quote Link to comment Share on other sites More sharing options...
enpu Posted February 15, 2014 Author Share Posted February 15, 2014 Thanks for the feedback! I will put more explanations to the API documentation Quote Link to comment Share on other sites More sharing options...
enpu Posted February 16, 2014 Author Share Posted February 16, 2014 Hi @x3meblue, I have now added descriptions to almost all methods and properties in API documentation. If there is something specific that you don't understand, feel free to ask Quote Link to comment Share on other sites More sharing options...
Chupup Games Posted February 16, 2014 Share Posted February 16, 2014 Thanks! I also will download the source of flying dog for learning Quote Link to comment Share on other sites More sharing options...
Chupup Games Posted February 16, 2014 Share Posted February 16, 2014 In the second tutorial ('Getting to know Panda') it says that SceneTitle is the default scene, but with this I get one error and he asks for SceneGameSceneTitle = game.Scene.extend({ backgroundColor: 0x808080, init: function() { } }); Quote Link to comment Share on other sites More sharing options...
enpu Posted February 17, 2014 Author Share Posted February 17, 2014 Nice found! That should be SceneGame, it's now fixed. Thanks! Quote Link to comment Share on other sites More sharing options...
calebeaires Posted February 17, 2014 Share Posted February 17, 2014 Hi. Very good. Looking for an gravity exemple. Is there some? Quote Link to comment Share on other sites More sharing options...
enpu Posted February 17, 2014 Author Share Posted February 17, 2014 Hi @calebeaires, You can set physics world gravity like this:var world = new game.World();world.gravity.y = -500;Or you can set it in worlds constructor:var world = new game.World(0, 500);Default gravity for world is 0, 980.Positive y makes bodies fall down. As the velocity is actually instance of game.Vector, you can use vector functions on it, like:var world = new game.World();world.velocity.set(0, 500);world.velocity.rotate(0.3);See more about vector functions in documentation: http://www.pandajs.net/docs/classes/game.Vector.html Does that help you? Quote Link to comment Share on other sites More sharing options...
calebeaires Posted February 17, 2014 Share Posted February 17, 2014 Very glad for you help. I have working with Phaser. Since I get int your code, I have thinking on move to PandaJS. Quote Link to comment Share on other sites More sharing options...
enpu Posted February 17, 2014 Author Share Posted February 17, 2014 Glad to help you, just let me know if you have any questions 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.