Sign in to follow this  
Gazanfer

Yet another bunnymark

Recommended Posts

I was looking for a good bunnymark example in phaser, but couldn't find a decent one, so I wrote one myself:

 

There are two versions:

 

Basic: http://phaser.io/sandbox/Pjdxyqzl/play

all sprites have same scale, angle, rotation

 

Custom: http://phaser.io/sandbox/dgCnSvCW/play

all sprites have random scale, angle, rotation

 

Two versions have the same code, but just different options set.

 

- Click on the game to create bunnies. (Well, technically phaser-dudes)

- There are options in preload to customize it.

- All sprites are respawned from their original spawn point after they slow down.

 

It was good practice for me, but now I don't know what to do with it, so I'm just putting this here, in case anyone has a use for it. Also all feedback is welcome.

Share this post


Link to post
Share on other sites

Good work, you might want to look into doing some optimisations.

 

Pixi bunnymark and I can normally get 100-120k, I can only make around 8000 with your one!

 

Also, you might want to standardise the test a little, your test does different things in different ways to the pixi bunnymark so its not a comparable test. A good idea for what to do next could simply be standardising that test and writing it in a couple of different frameworks/renderers/engines

Share this post


Link to post
Share on other sites

Good work, you might want to look into doing some optimisations.

 

Pixi bunnymark and I can normally get 100-120k, I can only make around 8000 with your one!

 

Also, you might want to standardise the test a little, your test does different things in different ways to the pixi bunnymark so its not a comparable test. A good idea for what to do next could simply be standardising that test and writing it in a couple of different frameworks/renderers/engines

Thanks for the feedback. I just added a basic version to the first post, which sets fixed sprite properties so it's more similar to pixi.js bunnymark.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.