Skip to Content
 

Is there any tool out there for custom dice?

3 replies [Last post]
nand
nand's picture
Offline
Joined: 07/27/2008

JewellGames wrote:
Is there any tool out there for custom dice? Like if I upload images, and define number of sides, I could make custom dice that could be rolled through the app?

This script in nanDECK takes a sequence (1st line), randomize it (the N flag) and print the 1st element (the 2nd line sets a font and the 3rd print the element):

n[a]=1|2|3|4|5|6
font=arial,128,,#000000
text=1,[a],0,0,100%,100%

Each time the script is validated and build, it gives you a random element from the sequence.

If one need the same, but with images, this is the script (the image files must be in the same folder with the script):

n[a]=orc.png|ogre.png|goblin.png|troll.png|demon.png|dragon.png
image=1,[a],0,0,100%,100%,0,P

JewellGames
JewellGames's picture
Offline
Joined: 06/03/2012
But I want a website where I

But I want a website where I just upload or link my 6 images and it builds the dice. Better yet, it’s deep linked so I can tweak or use same url to build same dice again.

I used to have a custom dice website years ago.

In the url parameters you could link to the images, state how many copies, etc.

Is there a need/desire for this capability again? I can add updated features like shaking phone rolls the dice etc.

questccg
questccg's picture
Offline
Joined: 04/16/2011
As long as its a website and not a phone app

JewellGames wrote:
But I want a website where I just upload or link my 6 images and it builds the dice.

This amounts to using your OWN storage... Not very good TBH.

JewellGames wrote:
Better yet, it’s deep linked so I can tweak or use same url to build same dice again.

This on the other hand sounds GREAT! Provide one PARAMETER which is URL and you can specify: URL="https://www.questccg.com/dice_images/" and then Face1="test1/Face1" Face2="test1/Face2", etc.

You could limit the FILES to PNGs this way you can have TRANSPARENCY.

JewellGames wrote:
I used to have a custom dice website years ago.

In the url parameters you could link to the images, state how many copies, etc.

Exactly as I explained above or similar. Definitely a smart idea!

JewellGames wrote:
Is there a need/desire for this capability again? I can add updated features like shaking phone rolls the dice etc.

This I don't know. But something non-intrusive like a webpage as opposed to an APP that I MUST download and INSTALL on my phone. Grrr... I hate apps... Too many of them and they want access to all my contacts, phone numbers, location, credit cards, etc. RIDICULOUS.

On the other hand a very simple WEBPAGE ... That could be reasonable IMO. But I don't know if there is a NEED for it or not. That's my 5 cents!

JewellGames
JewellGames's picture
Offline
Joined: 06/03/2012
I’ll make an example “web

I’ll make an example “web app” tonight.

Syndicate content


forum | by Dr. Radut