Skip to content
Snippets Groups Projects
Commit 7c7ea844 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

fix: #fe increment phys FPS to avoid sprite overlap

parent 16bc5806
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,9 @@ export default class FightScene extends Phaser.Scene {
true,
);
// NOTE: this helps w/ clue sprite overlap
this.physics.world.setFPS(2 * this.game.loop.targetFps);
this.physics.world.on(
"worldbounds",
function (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment