This Pet Creator is largely the same as my previous project. The overall purpose is to design a pet by changing its color, and then storing it on a different ‘screen’ with all the other pets you create. There are a few new additions:

  1. Randomize Button
    1. Input: Pressing the Button
    2. Process: Randomize the red, green, and blue values of color
    3. Output: Displays the color of the pet’s feature to a random color
  2. Emission Toggle
    1. Input: Toggle the Button
    2. Process: Set the ‘emission’ flag to true (if on) false (if off)
    3. Output: Update the sliders to the current emission/albedo value (depending on the toggle value), and when changing the color it now changes the emission/albedo value (also depending on the toggle)
  3. Shuffle Button
    1. Input: Pressing the Button
    2. Process: Use the Fisher-Yates algorithm to shuffle an array
    3. Output: Display the stored pets in a the shuffled order
  4. Stopwatch
    1. Input: On start or pressing the ‘I’m Done’ Button
    2. Process: Reset watch to and store current time 
    3. Output: Resets the watch’s seconds hand to zero and start counting the time upwards (like a stopwatch) based on [CurrentTime - StartTime]

Leave a comment

Log in with itch.io to leave a comment.