enpu Posted November 13, 2014 Share Posted November 13, 2014 Release notes:https://github.com/ekelokorpi/panda.js/releases/tag/1.10.0 Video support Panda now supports HTML5 video rendering on Canvas/WebGL, example:http://www.pandajs.net/cheatsheet/a76dfc148bf92eb840e0.html Notes:- On mobile, video needs touch event to start.- CocoonJS Canvas+ not working, does not support createElement('video').- iPhone not working, forces fullscreen video player. Memory management You can now remove assets from memory:game.removeAsset('sprite.png'); // Remove sprite from memorygame.removeAsset('sprites.json'); // Remove sprite sheet from memorygame.removeAssets(); // Remove all assets from memorygame.system.setScene('Game', true); // Change scene and clear memory Ninjadoodle, Phempt and drhayes 3 Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 13, 2014 Share Posted November 13, 2014 good job enpu! I don't remember if it works, but with the iPad there's an option to force the inline video playback, maybe it works also for the iPhone. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted November 13, 2014 Share Posted November 13, 2014 Awesome work! Thank enpu Quote Link to comment Share on other sites More sharing options...
Stephan Posted November 14, 2014 Share Posted November 14, 2014 Great work! I'm very happy with the new memory cleanup features. Quote Link to comment Share on other sites More sharing options...
ishan Posted November 15, 2014 Share Posted November 15, 2014 Congrats on the new release. I just have one problem: The demos are spartan compared to 1.0.0 . The particles demo is now heavily stripped down. Is it just me, or could you look into it? Thanks! Quote Link to comment Share on other sites More sharing options...
enpu Posted November 15, 2014 Author Share Posted November 15, 2014 Yeah sorry particles demo was stripped down to make it more simple and easy to understand.For more particle examples, view Particle section on cheatsheet:http://www.pandajs.net/cheatsheet/ Quote Link to comment Share on other sites More sharing options...
ishan Posted November 15, 2014 Share Posted November 15, 2014 Yeah sorry particles demo was stripped down to make it more simple and easy to understand.For more particle examples, view Particle section on cheatsheet:http://www.pandajs.net/cheatsheet/ I've seen that earlier. Thanks. Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 16, 2014 Share Posted November 16, 2014 is there some documentation about the memory cleanup? Quote Link to comment Share on other sites More sharing options...
enpu Posted November 16, 2014 Author Share Posted November 16, 2014 What kind of documentation are you looking for? Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 16, 2014 Share Posted November 16, 2014 I remember that you want to add a "true" parameter to game.setScene function.. but I don't know if you have chosen this method or an other one.. Quote Link to comment Share on other sites More sharing options...
enpu Posted November 16, 2014 Author Share Posted November 16, 2014 That's in the example on first post:game.system.setScene('Game', true); // Change scene and clear memorySet second parameter to true to clear memory. Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 16, 2014 Share Posted November 16, 2014 That's my fault, I don't see it in the first post, sorry :| Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 16, 2014 Share Posted November 16, 2014 I tried to configure my panda environment with:pandaConfig={name:"test game",version:"1.0.0",system:{ width:480, height:320, maxWidth:480, maxHeight:320, resizeToFill:true, retina:false},debug:{ enabled:true, color:"red"},storage:{ id:"com.1upcrew.testgame"}};with this configuration, the canvas is not resized, but removing the debug information it works:pandaConfig={name:"test game",version:"1.0.0",system:{ width:480, height:320, maxWidth:480, maxHeight:320, resizeToFill:true, retina:false},storage:{ id:"com.1upcrew.testgame"}}; Quote Link to comment Share on other sites More sharing options...
enpu Posted November 16, 2014 Author Share Posted November 16, 2014 Are you sure, debug should have nothing to do with resizeToFill Do you got any errors in console? Are running from browser or with wrapper? Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 17, 2014 Share Posted November 17, 2014 it's running on a browser without error. Mmmm I tried to reload the window without debugdraw and now it works. I'll make some tests tomorrow and I'll contact you for any news. Quote Link to comment Share on other sites More sharing options...
enpu Posted November 17, 2014 Author Share Posted November 17, 2014 Ok thanks! Quote Link to comment Share on other sites More sharing options...
Phempt Posted November 21, 2014 Share Posted November 21, 2014 I tried to reproduce the error but nothing, I'm thinking that it will be an error generated by cache or something similar. Quote Link to comment Share on other sites More sharing options...
martinez Posted December 5, 2014 Share Posted December 5, 2014 I'm playing with PandaJS for some time now and I must admit it's great. Nice job enpu! Quote Link to comment Share on other sites More sharing options...
enpu Posted December 5, 2014 Author Share Posted December 5, 2014 Thank you! Great to hear to you find it useful Quote Link to comment Share on other sites More sharing options...
aliteff Posted December 8, 2014 Share Posted December 8, 2014 brilliant job, over the last 6 weeks I have made the same game with 6 different engines and Panda.js has been the best of all especially performance wise. I don't know if any of you tried this on SmartTVs and STBs but it performed very well. My colleagues couldn't believe how animations ...etc have outperformed other engines by miles. Very well done 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.