Search the Community

Showing results for tags 'phaser stutter'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. rsdfsdfsdf

    Micro stutter

    Why does it happen? It's not my computer. It's not my antivirus. It's not my browser nor my drivers. Every 10 seconds or so, whenever i'm moving or jumping I get a small but noticeable stuttering. Happens in both WebGL and Canvas, both Chrome and Firefox. Fps meter remains at 60. function create() { cursors = game.input.keyboard.createCursorKeys(); game.stage.disableVisibilityChange = true; game.physics.startSystem(Phaser.Physics.ARCADE); game.add.sprite(0,0,'sky'); rocks = game.add.group(); rocks.enableBody = true; someText = game.add.text(16, 16, 'pffffff', {fontSize: '32px', fill: '#23238F'}); //ball ball = game.add.sprite(32, game.world.height - 150, 'ball'); game.physics.arcade.enable(ball); ball.body.bounce.y = 0.2; ball.body.gravity.y = 800; ball.body.collideWorldBounds = true; ball.animations.add('left', [0,1,2,3], 10, true); ball.animations.add('right', [5,6,7,8], 10, true); }; function update() { game.physics.arcade.collide(ball, platforms); game.physics.arcade.collide(enemies, platforms); ball.body.velocity.x = 0; myx = ball.x; myy = ball.y; if (cursors.left.isDown) { // Move to the left ball.body.velocity.x = -150; ball.animations.play('left'); myanim = 'left'; } else if (cursors.right.isDown) { ball.body.velocity.x = 150; ball.animations.play('right'); myanim = 'right'; } else { ball.animations.stop(); ball.frame = 4; myanim = 'stop'; } if (cursors.up.isDown && ball.body.blocked.down) { ball.body.velocity.y = -555; } if (ball.body.velocity.x > 0 && !ball.body.blocked.down) { ball.animations.stop(); ball.frame = 6; myanim = 'airright'; } if (ball.body.velocity.x < 0 && !ball.body.blocked.down) { ball.animations.stop(); ball.frame = 3; myanim = airleft'; } } };