Jump to content

Phaser JS Roulette demo script

Recommended Posts

Hi everyone!

I uploaded a sample Phaser JS script of roulette with a hope that someone will find it useful.

This Phaser JS script demonstartes a solution to show roulette that rotates and stops at a random position. Needle ticks with animation and sound as the roulette spins.

The script itself could be rewritten into a really simple code and should be able to be integrate into any game at ease. You could use it for a simple game, a small lottery in your game, board games etc. (The code is totally a mess. Pardon my lousy coding manner.)


Thank you for reading!



Link to post
Share on other sites
  • 1 month later...


That one is a really simple demo that only shows how the script works without anything else added. And below is a game that uses the script (roulette.js) with credits and user interface added on top.


Please do not hesitate to ask me any question. Thank you!

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.

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...