Let the dice roll!!

Game development with Board Game Arena Studio
Post Reply
User avatar
Morgalad
Posts: 108
Joined: 17 January 2017, 20:46
Contact:

Let the dice roll!!

Post by Morgalad »

I have created a rolling dice using only css that displays the right result.
the idea is to create the dice with a dojo.place and then read a notification from the server to display the result.

As an exercise I put all together in a little html so you can use...

Imagine this in games like can´t stop and yahtzee... YOU CAN SEE THE DICE ROLLING

Code: Select all


Edit: see the link on my next post to CodePen


with just this little code the result is really amazing... please save the code above as an html and try it...


All contributions are wellcome... so if you have some ideas to improve it.... just change it!
Last edited by Morgalad on 11 March 2017, 10:49, edited 1 time in total.
Cheers...
Morgalad

Developer of: Incan Gold , Takara Island , Taluva and Veggie Garden
User avatar
docthib
Posts: 73
Joined: 10 August 2015, 14:05

Re: Let the dice roll!!

Post by docthib »

Hey,
Thanks for sharing this, it sounds exciting !
do you have any project where we can see an example ? :)
User avatar
Morgalad
Posts: 108
Joined: 17 January 2017, 20:46
Contact:

Re: Let the dice roll!!

Post by Morgalad »

Hi,

For convenience I have created a CodePen so we can work on this together and test the result:

https://codepen.io/Morgalad/pen/BWRzKM
Cheers...
Morgalad

Developer of: Incan Gold , Takara Island , Taluva and Veggie Garden
Post Reply

Return to “Developers”