creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Percentile Dice   
LoverIan

LoverIan
United States  


  8/31/2013

So, a friend was giving trinkets out before school.
I got a small plastic, crystal like dog figure, and a percentile dice roller.
All the items she gave out were things she got to keep when they had to clean out her Aunt's Office at the church (her aunt had died recently, and they'd held the funeral at the church she worked at).
Since it is a really cute die, I wanted to make something based on it.
Also maybe the dog, but that will be in the future.

The fun news:
THIS WILL BE MY FIRST AGENT!

I'm hoping to make a simple agent, and a complex one. The simple will merely roll the die, the second will have an effect for every potential roll.

I assume it could work by any number of 0-9 for first digit, then 0-9 for second. The agent would then say the number resulting, with a sound file maybe (I would have to record 101 outcomes).
Since there is no 100, I decided that 00 would result in a 1/2 roll. One option is a 0, the other a 100.

I plan on having a simple touch to activate, maybe a small die. It would lift into the air, bounce a time or two as the calculation is being done, and land.
When landing it shows the first digit. This means there will be 10 different sprites for the die when in resting I guess. The 2nd digit is the smaller 10 sided die inside the large clear one. For sake of ease and time, I won't be detailing it more than needed.

So it will be a mix of a toy, a tool, and a learning agent I guess.
I also plan the complex one to have a ton of different functions. Example, 0 would immediately deplete the norn's age chemical, or more so instantly kill it. 100 would make it immortal (maybe even freeze at age). Along with effects like instant pregnancy (random parent from the world, or randomly generted genetics, I guess it would be like impregnating a norn with a SERU agent's result).
If wanted, and if I can learn how to, I could make a 3rd version, a 'loaded dice', where it has a tendency to roll certain results, as the user chooses. Want a die that usually rolls the 'randomize starch levels'? No problem!


beep
 
ylukyun
Patient Pirate

ylukyun

Manager



  8/31/2013

Sounds like a really cool agent. Good luck!
 
LoverIan

LoverIan



  8/31/2013

I'm mostly concerned right now with the difficulty to code it, and how. I'm not sure if I'd be able to use just CAOS or a mix of things, and what to work with

beep
 
Feddlefew

Feddlefew



  9/1/2013

Traditionally, a zero on both dice is always a 100.
 
LoverIan

LoverIan



  9/1/2013

I know that, but I want it to just be a thing, so I can have 101 outcomes, and then also have an instant kill and an instant immortality with a risk like that

beep
 
Papriko
Peppery One

Papriko



  9/1/2013

101 outcomes could be.... tricky. The possible results when you throw 2 dice and if the order counts is A*B, where A is the number of sides on the first die, B the number of sides on the second.
101 is a prime number, so there are no two natural numbers A and B which fulfill A*B = 101
100 results would be doable, though. 0 to 9 are 10 results for one die and 10 * 10 is 100.

And yes, the idea sounds very possible to me, just a bit tedious to come out with 100 different surprises :P
You'll either need a ton of doif statements or use a catalogue file.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Laura
Tea Queen

Laura


 visit Laura's website: CC Chat
  9/1/2013

I don't think I can be of any help, but good luck, Ian! Once you've successfully made your first agent and you get that warm, fuzzy feeling from seeing other people enjoying it, developing becomes very addictive and you learn so much from your first few agents. It's amazing. The Percentile Dice sound very interesting; hopefully they won't take off in flight like my aubergines are currently doing! [nlaugh]
 
byebyebue

byebyebue



  9/1/2013

I would download this! Sounds amazing :)
 
LoverIan

LoverIan



  9/1/2013

Honestly Laura, I've thought of mostly food agents this last day, from a crouton vending machine with 4 flavors, to greek yogurt, tons of stuff

Papriko, you're right on the outcomes. I probably won't work on that for a while.
However, if it is A*B, then prime numbers are hard to get
I was more thinking a randomize digit a, randomize digit b
If 00 happens, 1/2 chance 0, 1/2 chance 100
I'm assuming that could work.


beep
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki