Sign in to follow this  
enpu

Panda.js 1.10.0 released

Recommended Posts

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

Share this post


Link to post
Share on other sites

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"}};

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.