labrat.mobi

Members
  • Content count

    78
  • Joined

  • Last visited

1 Follower

About labrat.mobi

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    https://labrat.mobi/
  • Twitter
    labratmobi

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,666 profile views
  1. Framework with console export option

    Hi, You can package html5 game as Window's UWP and deploy it on XBOX. https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/development-lanes-html
  2. Testing safari on windows

    have you tried saucelabs or browserstack? They both offer free trails.
  3. this.stage is undefined

    because, this keyword is locked inside setup function. It has no idea what `stage` variable is. More info here https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/this You can fix this by using `bind` function https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Function/bind public run() : void { this.setup = this.setup.bind(this); // User Pixi's build-in `loader` object to load an image PIXI.loader .add("./images/chapter01/pixie96x48.png") .load(this.setup); } or use arrow function, PIXI.loader .add("./images/chapter01/pixie96x48.png") .load(() => { this.setup(); }));
  4. Current state of the market

    As someone who makes mobile web games for fun, I hardly play games on mobile browser, because.. 1. ADs - mobile web game experience gets spoiled by Ads. When a publisher displays 5 seconds AD everytime I die.. it kinda spoils the gameplay experience. Also lack of back button logic in games.. I need to use touch screen to close to AD, sometimes the skip button hit box are shady. 2. Lack of offline experience - I just want to open the game quickly and play for few minutes. Most of the time it takes more than a minute to launch a game because of slow preloader AD. My next game is gonna be primarily desktop browser game.. I can scale down the game for mobile web and add some touch controls. But it will be desktop browser first experience. P.S: I don't know anything about marketing HTML5 games. So far I have made only 50 cents (USD) on gamejolt. My opinion is from someone, who likes to play games. Edit: Also I haven't seen any originally game in html5, most of the games are mini version of the native games or just clones. Only original html5 game I have played is "crosscode" - demo is playable in desktop browsers and full version is download only.
  5. Skate Hooligans

    Nice game!! and game.js is only 110KB!! awesome job!
  6. [SOLVED]Huge lag, memory leakage...

    Since requestAnimationFrame passes current time (DOMHighResTimeStamp) as argument to callback, you can use performance.now() instead of Date.now(). var desiredFPS = 25; var then = performance.now(); var elapsed; var interval = 1000 / desiredFPS; updateLoop(then); function updateLoop(now) { requestAnimationFrame(updateLoop); elapsed = now - then; if (elapsed > interval) { then = now - (elapsed % interval); updatePlayerPos(); renderer.render(rootStage); } }
  7. I need cheap hosting

    Google's firebase offers free hosting.. 10 GB bandwidth / month. Only drawback is that, you need to deploy whole website every time you change one file.
  8. how get unique guest id to login?

    Can't you generate uniqueId on server side? When user first time opens the game, you can check for uniqueId in local storage. If Id is not found, then send a request server asking for uniqueID. Then save that uniqueId back to user's browser. Problem is if player uses different browser, he/she will be treated as new user. I would recommend you to look in Google's firebase authentication - they support login via facebook, twitter, google plus, github, etc.. also they have some kinda of guest authentication.
  9. Serve Ramen game(Phaser) in Android shell

    What will be the .apk size for a empty project?
  10. Move the Crates

    I wanted to add a twist to the typical Sokoban game.. that is why decided to introduce some enemies... probably the enemies are too aggressive?
  11. Move the Crates

    the enemies should change direction if they are blocked.. I will check it. Thanks.
  12. How to write glow effect for sprites/graphics in PIXI v4?

    Filters are webgl only. Glow filter is available here, https://github.com/pixijs/pixi-extra-filters/tree/master/src/filters/glow
  13. Move the Crates

    Hi all, Check out my web game "Move the Crates". Developed using pixi.js. Game play is similar to "Sokoban". Game is also optimized to work with gamepad. You can play the game here, https://labrat.mobi/games/move_the_crates/ Some screenshots: Here is the video of the game working in XBOX One browser,
  14. v4 and Tween.js position/scale/pivot issues - any easier fix?

    tweenjs/Tween.js doesn't play well with v4, any ideas? created github issue, https://github.com/pixijs/pixi.js/issues/3339
  15. Error 502 for my game

    I do see 502 error code in console. Problem is on your offline appcache. Try without offline appcache.