Skip to content

Commit

Permalink
Merge pull request #284 from jeffreykirchner/dev
Browse files Browse the repository at this point in the history
Update FPS to show during test mode.
  • Loading branch information
jeffreykirchner authored Jan 31, 2024
2 parents 9d8cf93 + 1c890b8 commit 577d691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/templates/subject/subject_home/the_stage/pixi_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ setup_pixi_sheets: function setup_pixi_sheets(textures){

}

{%if DEBUG%}
{%if DEBUG or session.parameter_set.test_mode%}
//fps counter
let text_style = {
fontFamily: 'Arial',
Expand Down Expand Up @@ -202,7 +202,7 @@ game_loop: function game_loop(delta)
app.scroll_staff(delta);
}

{%if DEBUG%}
{%if DEBUG or session.parameter_set.test_mode%}
pixi_fps_label.text = Math.round(pixi_app.ticker.FPS) + " FPS";
{%endif%}

Expand Down

0 comments on commit 577d691

Please sign in to comment.