• Content Count

  • Joined

  • Last visited

About Mickety

  • Rank
    Advanced Member
  • Birthday 03/14/1990

Profile Information

  • Gender
  1. Mickety

    Preferred Language for Phaser?

    Ermm... You can't use Phaser with anything except JavaScript (afaik?) Did you mean like compiler languages like CoffeeScript or am I missing something?
  2. Mickety

    Phaser vs Wix !!!

    Afaik Phaser doesn't do 3D right now (like at all. Maybe you could emulate DOOM's fake 3D engine but that is as far as one would go). So go for three.js. Might also want to check bablyon.js , I think it is a tiny bit easier to grasp. Also it doesn't matter which service you use to host/construct a website, as long as you can put code on some pages in it's iternal editor or via ftp you're good to go.
  3. Mickety

    About backend for Phaser game.

    You are welcome. Hope it helps.
  4. Mickety

    Buttons set to fixedToCamera disappears after game reset.

    it sounded like you've messed up the scoping rules of JavaScript (since I don't see the whole code that would be the best assumption) untill you mentioned that disabling "fixedToCamera" fixes the issue. I'm at a loss now.
  5. Mickety

    About backend for Phaser game.

    Could you provide a console error when you try to use setScreenSize() ? From what it seems it looks like setScreenSize() is deprecated (and one should avoid using it directly in the first place). Try using updateLayout() it seems to do the thing you want.
  6. Mickety

    About backend for Phaser game.

    There is no way to absolutely hide ANY javascript code or objects handled by JS in any way. If one desires to find something in your code enough - they will. You'll might want to switch to a compiling language and build executables where code is hidden like C++ or whatever. It may work, reverse engineering to get the initial code is never fast but it's still possible. You could use Phaser for only visual representation of a game or a project and hide the logic on a server with libs like socket.io but for that you'll need to rent a server at least, so there is that. Hope it helps
  7. Mickety

    About backend for Phaser game.

    What exactly do you mean by "Phaser backend"?
  8. Mickety

    Why use "this " keyword in Phaser states

    This is not strictly a Phaser thing. This gives context to whatever you assign it and depends on where you call it first. Read about it a bit more here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this You could use let for instance, but whatever variable you assign with let for instance in "create" cycle it will only be visible there and not in update or render cycle or wherever else. If you use this just by it self it will represent the object in context of which it has been called. It's hard to explain this in the first place so I'd suggest you read tutorials about it. Hope it helps.
  9. Mickety

    Major difference between phaser2 and phaser 3

    Phaser 3 is ready to use AFAIK, but people have complained about lack of examples or docs that even beginners can understand. So if you are good at development in general and can read docs well enough you can go for Phaser 3. Also Phaser CE (2) uses PIXI.js while Phaser 3 uses it's own custom renderer AFAIK
  10. It would be nice to know how you did it if it's not over 9000 lines of code. Anyways it is great that you've figured it out youself - very good for the learning experience.
  11. Might want to check this too. It's a version of PhoneGap but free (?) https://cordova.apache.org/
  12. Mickety

    Question about framerate.

    It's a human eye thing.
  13. Mickety

    Camera zoom on Tilemap in 2.6.2 and CE

    Yeah I have the same problem. Almost made me want to forget about zooming at all
  14. Mickety

    Platformer game collision problem

    I think the collision box is a little wider. Try moving right and jumping BEFORE you hit the wall. Once you do, character will hit a ceiling, that is not there. Hope this gives you some insight.
  15. Mickety

    [Solved]How to set body Size on group for each sprite?

    Wouldn't blank_platform.callAll('body.setSize', '', 300, 300, 0, 0); work as well? Anyways It's great that you found your own solution