JSON

Members
  • Content count

    10
  • Joined

  • Last visited

  1. This is the phaser multiplayer game series continuation. In this tutorial, we manage food in the server and generate them in the client like many other io games. http://gojasonyang.com/post/phaserMultiplayerGamePart4.html
  2. @Phaser911 Yea so true. It was a struggle in the beginning for me to learn it as well.
  3. This is a continuation of Phaser multiplayer game tutorial with Node.js server and socket.io. This is part 3 and we're implementing some simple agar.io game mechanics with authoritative server. Part 3: http://gojasonyang.com/post/phaserMultiplayerGamePart3.html
  4. This is a continuation of Multiplayer game tutorial series. On this part 2 tutorial, we make authoritative server for security purposes. We're using physics in the server (p2 physics) Tutorial here: http://gojasonyang.com/post/phaserMultiplayerGamePart2.html If there's any question, please feel free to ask questions on my site.
  5. I wrote my very first blog post. It's a tutorial on how to create a multiplayer game with phaser in the client, and Node.js in the server: The server uses Socket.io and Express.js. Part 1: http://gojasonyang.com/post/phaserMultiplayerGamePart1.html It's for complete beginners who aren't familiar with Node.js and Phaser. I hope someone finds it useful if it's their first time working with Phaser and Node.js !!
  6. Slashing.Io

    @leonylyner true! that's a good idea i think too
  7. Slashing.Io

    This is the first html5 and multiplayer game that I built for a personal project. http://www.slashing.io/ The server is not near good at the moment, so I'm optimizing it, but I still wanted to showcase my idea. Please, I appreciate any comment and feedbacks to improve the game.
  8. Phaser Resize Scale Manager

    Hey guys, I decided to use resize scale manager for my phaser game. I was just wondering would it be the best possible solution to resize and reposition every sprite in the world on setresize callback? How do you guys handle with resizing. My game is on pc browser and the user need to be able to resize the browser.
  9. For now, I'm using window.availheight and window.availwidth, which is always constant and does not change when the browser size changes. It's not 100% on the point because it does not take into consideration of taskbar size and stuff. So I think I need to offset the position of the sprites? Please let me know if there is any better solution
  10. Hey, so I almost finished my game, and I'm encountering a problem in scaling. I first used Window.Innerheight and Window.innerwidth for the game size The problem is that when I start the game on browser that is not maximized, and then maximize it after loading the game, the sprites scale up too big. I used game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; game.scale.refresh(); So I decided to just load the game in maximized innerheight and innerwidth. But I do not know how to do that or if it's possible. Is there any way to find the window.innerheight and window.innerwidth when the browser is MAXIMIZED or FULLSCREEN? THANKS