From 24995d28b4a9d20013570bec47c92ff736857664 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 2 Jul 2024 12:33:05 +0200 Subject: [PATCH] [phaser] Display number of skeletons in batching test --- .../spine-phaser/example/batching-test.html | 135 +++++++++--------- 1 file changed, 70 insertions(+), 65 deletions(-) diff --git a/spine-ts/spine-phaser/example/batching-test.html b/spine-ts/spine-phaser/example/batching-test.html index 3553a6926..439fa2942 100644 --- a/spine-ts/spine-phaser/example/batching-test.html +++ b/spine-ts/spine-phaser/example/batching-test.html @@ -1,75 +1,80 @@ - - - - - - - Spine Phaser Example - - -

Batching test

- - + + Spine Phaser Example + + + +

Batching test

+ + - + function update() { + debug.setText( + "draw calls: " + + spine.PolygonBatcher.getAndResetGlobalDrawCalls() + + "\ndelta: " + + game.loop.delta + ); + } + + + \ No newline at end of file