enpu

Members
  • Content count

    910
  • Joined

  • Last visited

  • Days Won

    11

enpu last won the day on August 17 2015

enpu had the most liked content!

1 Follower

About enpu

  • Rank
    Advanced Member
  • Birthday 04/21/1985

Contact Methods

  • Website URL
    http://www.pandajs.net
  • Twitter
    ekelokorpi
  • Skype
    eemelikelokorpi

Profile Information

  • Gender
    Male
  • Location
    Finland

Recent Profile Visitors

1,877 profile views
  1. Are you building Panda v1 or v2 project?
  2. You can also get latest mouse position from game.input.mouse.xgame.input.mouse.y
  3. 'panda build' should be now working with v2 engine (develop version). Just remember to update your toolkit to newest version: npm install -g pandatoolIf you are using v1 engine, you must use v1 toolkit: npm install -g pandatool@1.12.3
  4. http://ekelokorpi.github.io/panda.js-site/engine/playground/#tilingsprite_scroll
  5. You should not use addTimer, that's why there is callback function on Fader. var fader = new game.Fader({ color: '#ff0000'});fader.fadeOut(function() { game.system.setScene('nextScene');}); And color format is now string, not number. I just created develop branch to plugins repo, that contains plugins that are updated to work with Panda 2 (Spine is still wip). https://github.com/ekelokorpi/panda.js-engine-plugins/tree/develop There is now working Fader plugin for Panda 2
  6. Sorry i have been super busy with my projects, so i haven't been very active here. Hopefully will soon have some more time on Panda 2. @Ninjadoodle Thanks for the list, really appreciate it! Created new issue for this one, thanks! There seems to be a bug in iOS 9 that gives wrong window dimensions. Try this for a quick fix: window.addEventListener('resize', function() { if (game.device.iOS9) { setTimeout(function() { game.system._onWindowResize(); }, 500); }});(Remember to pull newest develop version to add iOS 9 detection.) Panda 2.0 is focusing more on mobile game development, so buttonMode won't be implemented. You can easily add buttonMode to your game, just change your cursor using JavaScript (Google for more info). Does this only occur, when using Hires? Can you resend the test-case? Thanks! Can't reproduce this one. Would you have a test-case? Audio is actually working on iOS 9, but the FIRST audio must be played from mouseup event, before it was mousedown. (Thanks Apple!) @Pattentrick & @zakhov Spine and WebGL support are planned to be released as plugins to Panda 2
  7. Try to remove .panda again
  8. If you can put them in one message, that would be great!
  9. Should be now fixed. Update your toolkit to 2.0.2 sudo npm install -g pandatool
  10. @Ninjadoodle Remove the '.panda' folder and try again. rm -rf .pandaDoes that help?
  11. Sure, just add this.super(); to the onStart function
  12. @Ninjadoodle Something like this should work: game.Loader.inject({ onStart: function() { var sprite = new game.Sprite('panda.png'); sprite.anchor.x = 24; sprite.anchor.y = 24; sprite.position.set(game.width / 2, game.height / 2); sprite.addTo(this.stage); var tween = new game.Tween(sprite); tween.to({ rotation: Math.PI * 2 }, 2000); tween.repeat(Infinity); tween.start(); }});
  13. Just published 2.0.1 version of Panda Toolkit to npm, so you should be able to update it now: npm install pandatool -g
  14. panda create myPandaGame dev That should work, try to replace your panda toolkit with 2.0.0 version from here (it is not published to npm yet): https://github.com/ekelokorpi/panda.js-toolkit