Raptisha

Members
  • Content Count

    25
  • Joined

  • Last visited

About Raptisha

  • Rank
    Member

Contact Methods

  • Twitter
    PaulErmakov

Recent Profile Visitors

967 profile views
  1. @samid737 sorry for my late reply here is a link to my game: https://github.com/pavermakov/phaser-runner
  2. No, there is no debug info in my game.
  3. Hi! I am already using CANVAS renderer and arcade physics. It is so weird. Generally speaking, is webview suitable for running html5 games?
  4. Hello everyone! Just a quick question for you all. Sprites in my game are moving flawlessly when the game is played inside a browser window. However, once I switch to mobile webview, all the movements / animations become choppy. I have already set the following inside my game: game.forceSingleUpdate = true but nothing has changed. Is there any way I an optimize my game, or add something to make make my sprite move without lags? Thank you in advance!
  5. Not sure this is going to help. Correct me if I am wrong, crosswalk is used to turn web apps into native applications, so that they could be uploaded to Play Store / App Store. In my case, we already have an app, within which we are planning to launch our game.
  6. Hello everybody! I hope you are having a fantastic day! Our team wants to start making simple HTML5 games for our Android / IOS apps. Games are supposed to be ran inside the WebView. We are looking for a very lightweight engine, because there is already ads placed at the bottom of the screen in our apps. Our first attempt was Phaser.js, but the performance wasn't the greatest inside the WebView. Choppy sprite movements, common fps drops and so on. If you guys know an engine that could help us achieve the goal, please let me know! Thank you in advance!
  7. Hello everybody! I hope you are having a great day! I have recently build a prototype for my new phaser.js game. It's a simple runner where the player has to avoid obstacles. I have tested it in multiple environments, including mobile browsers and webviews. The game refuses to run smoothly like I want it to. I have experienced lags, loosing frame rate and total unresponsiveness. So here I am, begging for your help and advice, what am I doing wrong? How can I make my game run smoothly? Is my update loop simple enough? Anything help guys! Here is the source Play it here (don't forget to switch to a mobile view) Thank you in advance! This community is awesome
  8. @thanhtungtnt did you run "npm install" ? 1. First of all, you have to have node.js installed. I used the modern ES6 syntax and webpack to compile it to ES5. 2. Then, run "npm install" to install all of the game's dependencies, including the phaser.js itself. 3. Finally, run "npm run dev". This will bundle all the code and launch the server with live update.
  9. @thanhtungtnt That's weird. vendor.bundle.js includes minified version of phaser.js library. Maybe the browser didn't fetch that file in time. What browser / device are you using? Try reloading the page or incognito mode.
  10. Awesome! My only advice would be to scale the game up on desktop screens.
  11. Hello! I am very excited to present you my recent game. I am sure you've already played this type of game, but I just wanted to build it myself. Basically, you have to pick two cards. If they are identical, both of them are removed from the board. The goal is to clear the board as quick as possible. Please, give it a try and leave a feedback! Play it here . Check out the source code . Have fun!
  12. How about this: this.groupName.centerX = this.world.centerX; this.groupName.centerY = this.world.centerY;
  13. Can we, please, have more tutorials on how to optimize performance of phaser games?