enpu Posted September 5, 2014 Report Share Posted September 5, 2014 Release notes:https://github.com/ekelokorpi/panda.js/releases/tag/1.8.0 gaelbeltran 1 Link to comment Share on other sites More sharing options...
enpu Posted September 6, 2014 Author Report Share Posted September 6, 2014 Panda.js 1.8.0 examples: - Added game version output to Core Panda now outputs some info on console, when in debug mode:Panda.js 1.8.0Pixi.js 1.6.1Canvas renderer 1024x768Web Audio engineMyPandaGame 0.0.0 - Added createClass and createScene methods to Core You can now create class with createClass function, that will ensure, that your class will be under game namespace:// This will make game.Player class that extends game.Classgame.createClass('Player', { init: function() { }});// This will make game.Enemy class that extends game.Playergame.createClass('Enemy', 'Player', { init: function() { }});// This will make game.SceneMain class that extends game.Scenegame.createScene('Main', { init: function() { }});- Added rotateScreen attribute on System You can now disable rotate screen, so your game will be shown on both landscape and portrait modes on mobile:pandaConfig = { system: { rotateScreen: false }};- Added addAssets method to Core Add multiple assets with one functiongame.addAssets(['sprite1.png', 'sprite2.png', 'sprite3.png']);- Added disableCache to config Disable cache from config:pandaConfig = { disableCache: true};- Removed orientation attribute on System You don't have to define orientation on config anymore, Panda will automatically detect it based on width and height:// LandscapepandaConfig = { system: { width: 1024, height: 768 }};// PortraitpandaConfig = { system: { width: 768, height: 1024 }}; Link to comment Share on other sites More sharing options...
Ninjadoodle Posted September 7, 2014 Report Share Posted September 7, 2014 Awesome, Thank you! Just wondering if the @4x graphics made it into this version, or whether your waiting until next time? http://www.html5gamedevs.com/topic/8511-any-plans-to-support-higher-than-2x-graphics/ Link to comment Share on other sites More sharing options...
Recommended Posts