RANdom

  • tutut125
    4th Nov 2010 Member 0 Permalink
    well anyone can you make a five variable random spark generator? it has to randomly pick one output.. i need this to make a arcade game please help!!! ( ill give credit)
  • MiXih
    4th Nov 2010 Member 0 Permalink
    tutut125:
    five variable

    what do you mean, 5 inputs, or 5 possible outputs (1,2,3,4,5)
  • tutut125
    4th Nov 2010 Member 0 Permalink
    ok say their is 1 wire it goes into the circuit and inside the ciruit and picks one of five output wires
  • duartel
    4th Nov 2010 Member 0 Permalink
    erm... try googling it :P
    oh well ill do it for you. brb (why am i sayng this im posting not chatting you wont notice im afk)
    ok i got nothing but ill try. im not great with electricity tho
  • tutut125
    4th Nov 2010 Member 0 Permalink
    well dev8sta if you see this i know you can help!!! your da best with electronics
  • duartel
    4th Nov 2010 Member 0 Permalink
    i made it!
    i created something that makes a random input. then i mixed 5 and voila
    oh and dont worry it is super small. you may have to spark for 3 seconds tough
    LoadSaveBlock(45761);
    PS:it like, has 5 wires. it picks some at a time. also, can pick all 5 or none
    but it rarely picks only one
  • tutut125
    4th Nov 2010 Member 0 Permalink
    it always picks non >.<
  • duartel
    4th Nov 2010 Member 0 Permalink
    ? lemme try
    EDIT: ok fixed. it bugged
    the spark dissapeared idk why
  • tutut125
    4th Nov 2010 Member 0 Permalink
    ok here is what i got any help would be apreciated.

    LoadSaveBlock(45760);
  • tutut125
    4th Nov 2010 Member 0 Permalink
    i know my game kinda doesnt work to well like it loops but fixes self and is kind of not really but a little repetative....