enpu

Members
  • Content count

    1,531
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by enpu

  1. enpu

    Panda 2 Beta feedback

    Panda 2 1.6.0 beta version is now available for testing: https://www.panda2.io/beta To see what's new in the version, please look at the official roadmap: https://www.panda2.io/roadmap Post any feedback or comments here. If you find bugs, please create new bug report (or if you don't have GitHub account and don't want to create one, post here).
  2. enpu

    Panda 2 Beta feedback

    Modules sidebar is now back on beta-6, so there are now 5 different views on sidebar; Files, Modules, Classes, Assets and Devices: Please test and give feedback
  3. enpu

    Convert a Sprite into Base-64

    Hi @botoman Yes that should be possible. You would have to first create empty canvas element and draw your sprite's texture into it, then convert it into Data URI. var sprite = new game.Sprite('panda.png'); var canvas = document.createElement('canvas'); canvas.width = sprite.width; canvas.height = sprite.height; var context = canvas.getContext('2d'); context.drawImage(sprite.texture.baseTexture.source, 0, 0); var data = canvas.toDataURL(); To create Sprite from Data URI you can just pass it as a parameter: var sprite2 = new game.Sprite(data);
  4. enpu

    Panda 2 Beta feedback

    I can see that class MainR1 is created in src/game/main.js file, so that's why it shows up in the class list. Also, i see that the module in file src/game/main.js is named incorrectly. The module name should be exactly same as the file path, so file src/game/main.js should have module named game.main, not game.mainR1
  5. enpu

    Panda 2 Beta feedback

    So what file actually it is loading? You can see all the files that the project loads by opening dev tools and "Network" tab. Then reload the game.
  6. enpu

    Panda 2 Beta feedback

    Yeah you are not seeing 'objects' in the left column, because there is no modules list. But you can see all your modules from the files list, if you open src/game folder. I added back the modules list to roadmap, which would just show a list of modules from the current opened project. And yes in the class list, all classes that has the little play button are scenes (classes that extend from Scene class). The list shows first all scenes, then all other classes.
  7. enpu

    Panda 2 Beta feedback

    Sorry i still don't understand what you are missing. I don't see objects class in your project, there is 'game.objects' module which contains different classes like StarSpin and StageSetup. I can see all those classes in the class list.
  8. enpu

    Panda 2 Beta feedback

    Yeah those are all classes, not modules. So what are you missing there?
  9. enpu

    Panda 2 Beta feedback

    What do you mean by modules list?
  10. enpu

    Panda 2 Beta feedback

    There are files or classes in the sidebar, so are you missing "objects.js" file when viewing files in the sidebar?
  11. enpu

    Panda 2 Beta feedback

    I can't reproduce this with the project that you sent. Are you sure you are loading correct html file? Can you tell me exact steps how to reproduce that issue?
  12. enpu

    Panda 2 Beta feedback

    There were no such view as "modules + classes", it was only modules or classes. Since modules are exactly same thing as a single JavaScript file, which you can now see from files sidebar, i though that there was really no reason to have a sidebar that only shows modules anymore, because the view would be almost same as the files. But... in your case when you have multiple projects in same folder with lots of modules, it would actually make sense. So yeah, i will take a look to see how easy would it be to add it back, maybe put it in settings so you can toggle it on and off, because i thinks it's not really useful on most projects and makes it just more complicated and maybe confusing.
  13. enpu

    Panda 2 Beta feedback

    Windows issues should be now fixed on beta-5 Please test and give me feedback, thanks
  14. enpu

    Panda 2 Beta feedback

    Ah yes, now i'm able to reproduce both issues. They seem to be Windows only. Will fix them asap!
  15. enpu

    Panda 2 Beta feedback

    @Ninjadoodle This should be now fixed. Can you try new beta-4 version?
  16. enpu

    Mobile landscape mode

    So you can see the game window only when detached to it's own window? (When you have two separate windows). You should be able to detach it back to the editor window with the same button that you use to detach it. What Panda 2 version are you using? Can you show screenshot of your issue?
  17. enpu

    Panda 2 Beta feedback

    Thanks for the feedback. Not sure what you mean by this, can you show screenshot of the issue?
  18. enpu

    Search inside all the module files

    Good suggestion, thanks! Added this to 1.7.0 milestone
  19. enpu

    Possible bug in export with this scenario

    @Ninjadoodle Exporting should now work correctly, please try new beta-3 version
  20. enpu

    Possible bug in export with this scenario

    Can you show screenshot of this?
  21. enpu

    Possible bug in export with this scenario

    Hmmmm weird. Could you email me the whole project, i think that would make the debugging lot faster, thanks
  22. enpu

    Possible bug in export with this scenario

    Thanks I just uploaded new beta-2 version: https://www.panda2.io/beta Can you test if it works now
  23. enpu

    Possible bug in export with this scenario

    Thanks, that helps a lot! Can you also send the html file of the project that you tried to export?
  24. enpu

    Possible bug in export with this scenario

    Ah for Windows the location is %USERPROFILE%\AppData\Roaming\Panda 2\log.log
  25. enpu

    Possible bug in export with this scenario

    Can you take a look at the end of your log file if you see any errors ~/Library/Logs/Panda 2/log.log