ads

Thursday, July 17, 2014

Multiplayer 3D dice roller

Good news. Almost entirely by popular demand, at last I made it.
The multiplayer dice roller: http://a.teall.info/mdice
Ok, this is a beta version for now, with minimalist user interface (yep, I love it) and still testing functionality. Google App Engine has its own pitfalls, especially on socket handling. But it looks like running good.
The GUI will be modified by users' requests, but do not expect much =)

A couple of words about how this works.


First of all, you have to create your own room. Then call your friends for join the room. That's all.


Throws are synchronized and everyone in the room will see them.

Well, I know that this simple functionality is not enough to play online. I going to add complete log with simple event cutter, and asynchronous throws: players may throw their dice simultaneously in some sort of situations like "initiative call". So don't be angry on me because this is not done yet =)

Have a fun and look for updates =)

UPDATE for 21 Jan 2016.
I added chat/log. I still thinking about desing and usability, but it's betterd than nothing =)
Video:


29 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I'm waiting for the chat update! Great work though :)

    ReplyDelete
    Replies
    1. Will be soon. I do not define a date, it matters to my own mood, muse and free time. I fixed some bugs and changed login screen to more simply form, but this is development version yet. Logs and chat will be included as I've promised.

      Delete
    2. Hey man! Can you share with us something new? :D

      Delete
    3. Still didn't finish through lack of time ;) But new version is close to be finished though.

      Delete
  3. A surface skin and a small sound of dice clattering would be off the charts. slick app bro.

    ReplyDelete
    Replies
    1. Thanks for idea =) Do not know if it applicable this project though =)) Let's see.

      Delete
  4. an option to drop lowest die, or 'n' dice (e.g. roll, 4d6, discard lowest)

    ReplyDelete
  5. Thanks! I'm waiting it :)

    ReplyDelete
  6. Will you upload the new code for the /mdice feature ? :D

    If you upload it to github, I would love to help add new features.

    ReplyDelete
    Replies
    1. Thanks for your interest! mdice server-side code is strongly dependent on internal logic of my GAE site. There are no secrets there, but I do not ready yet to publicate its source code. I will try to cut unnecessary parts aside and push whole project into github (or whatever) just after I finish current version. It takes some time and, more important, good mood for doing such things, you know. I getting used to receive huge amount of requests the dice roller about, and this is good motivation however =)

      Delete
    2. Hi! Will you finally release it? I'm very interested :D

      Thanks!

      Delete
  7. This comment has been removed by the author.

    ReplyDelete
  8. I love this program! Almost exactly what I want. I would pay for multiplayer with 2 tweaks:
    (1) sound effect when you roll (with a turn off option)
    (2) option to roll without adding multiple dice together. I know you can see the dice rolled right now, but I'd like to turn off the total.
    cheers!

    ReplyDelete
  9. Love the program, but for an unknown reason this runs extremely slow on my system and gives me a different result a number of seconds after everyone else. How can i fix this or what is causing this?

    Other sites such as Netflix run smoothly without any issue or buffering screen.

    ReplyDelete
    Replies
    1. Unfortunately, I can't say anything concrete due to lack of details.
      Maybe it would be wise to show browser error messages to user... Ok, there are two possible causes: 1) your browser and video card are not able to work with webgl, 2) your browser has a network problem: it is bad with async web-calls and http long-pulling.
      If you tell me you browser name and version, it will be posible to move forward the issue. Also you'd check if single-player version (http://a.teall.info/dice) works or don't.

      Delete
    2. Thanks for your reply, I am running Google Chrome Version 42.0.2311.152 m, both version run without an error message. Though when I am in a group the result I get it different from everyone else in the group

      Delete
    3. PJ did you check your dices? You may usecrooked dices. :-D

      Delete
  10. I don't get the input box to create a room. If I choose 2d6, could you make them so you could choose a color for each?

    ReplyDelete
  11. I don't get the input box to create a room. If I choose 2d6, could you make them so you could choose a color for each?

    ReplyDelete
  12. This is great! Just what I need to take care of the dice part for my online RPG. I do have one small feature request though: I'd very much like to be able to do simple math with the rolls. Writing "2d6+1" works as expected, but not "2d6-1". I'd also like to be able to do more advanced stuff, like "(2d6)/2+3", but I'd be very happy with just simple subtraction.

    Thanks for taking the time to make this webapp! It looks great.

    ReplyDelete
    Replies
    1. Thanks, Gorm.
      I think I will spend some time to improve notation. This is a thing that has to be done at last =) Subtraction is a simple task, as you said, but I'm going to add some more stuff. Let's see.
      Don't lose passion through I'm very busy with my job duties. But ok, I have to find some more time for this after all. I hope, I'll finish it within a week. Good luck!

      Delete
    2. I must have forgotten to turn on notifications for the post, because I didn't see that you replied before now, as I'm coming back to ask about something else.

      Happy to hear you are willing to do the odd improvement here and there! Do it whenever inspiration strikes. I know how hard it is to find time to everything, and don't want to add to any pressure with these trifles.

      I came to tell you about a problem I and my roleplaying group are having: After a while, we lose the connection to the server. In fact, the whole site hangs, and our mouse cursors are turned into that swirly one. It's very strange. Reloading and even hard reloading the page doesn't make a difference. Maybe you can see something on a server log somewhere?

      For all I know it might be happening because of a timeout. If there is a timeout setting, could you set it to be a bit longer? Roleplaying game sessions are usually pretty long. At least three or four hours. It's unfortunate when one or two of us are suddenly unable to roll dice.

      Delete
    3. Yes, I know about this problem. I will try to focus on it on my next attempt when I have free time.

      Delete
  13. It would be great if you add fate dices...Awesome work anyway. Thank you.

    ReplyDelete
  14. Man, this is really awesome! Thank you very much!

    ReplyDelete
  15. Man, this is really awesome! Thank you very much!

    ReplyDelete
  16. Anton, I love this program, but since things tend to differ from game to game, I was hoping you might have an option for d10s to be either 0-9 or 1-10.
    A lot of the games I play use 1-10, with the 0 on the die representing 10.
    Which would make the result of the following roll much different:
    10d10 → 8 0 0 9 6 0 4 7 0 5 = 39
    Obviously, one can simply count up the number of 0s (n) and add n*10 to the displayed result to get the correct result. But I really like elegant solutions rather than band-aid fixes.
    All in all, it's a great program and works really well, so thank you for your time and effort on providing something like this for free for everyone to use.
    Have a good one!

    P.S. As luck would have it, that was actually my first roll made in the program to try it out, and it definitely seemed off to me.

    ReplyDelete
    Replies
    1. Thanks, Brandon. About your request, you know, you can roll like 10d10+10 to emulate 10 d10 dice with 1-10. The notation already allows this. I know I have to add more complex forms of notation, and additionally about 10 another types of die =) That's all from requests. I hope I will have a time and inspiration for this. After all I should start Kickstarter project and create universal dice roller platform. Maybe =) Anyway, thanks for you support, I very appreciate this.

      Delete