Action Category

When Codey and Rocky are combined together, Codey Rocky can move. You can make Codey Rocky move forward or backward, turn left or right, or other more complicated movements. With the help of gyroscope, you can make Codey Rocky turn left/right a specified number of degrees, or move straight forward.

1. move forward at power ()% for () secs

Make Codey Rocky move forward at specified power for a specified period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will move forward at 50% power for one second.


2. move backward at power ()% for () secs

Make Codey Rocky move backward at specified power for a specified period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will move backward at 50% power for one second.


3. turn left at power ()% for () secs

Make Codey Rocky move turn left at specified power for a specified period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will turn left at 50% power for one second.


4. turn right at power ()% for () secs

Make Codey Rocky move turn right at specified power for a specified period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will turn right at 50% power for one second.


5. keep straight forward at power ()% for () secs

Use Rocky's gyroscope to make Codey Rocky move forward at the same direction at specified power for a specfied period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will move straight forward at 50% power for one second.


6. keep straight backward at power ()% for () secs

Use Rocky's gyroscope to make Codey Rocky move backward at the same direction at specified power for a specfied period of time.

Parameters:

  • Power: -100 ~ 100 (negative number means opposite direction)
  • Time: 0 ~ ∞/second

Example:

When Codey starts up, Codey Rocky will move straight backward at 50% power for one second.


7. turn left () degrees until done

Make Codey Rocky turn left specified degrees and wait until it's done.

Parameter:

  • Angle: -∞ ~ ∞/degree (negative number means opposite direction)

Example:

When Codey starts up, Codey Rocky will turn left 15 degrees and then move forward at 50% power for one second.


8. turn right () degrees until done

Make Codey Rocky turn right specified degrees and wait until it's done.

Parameter:

  • Angle: -∞ ~ ∞/degree (negative number means opposite direction)

Example:

When Codey starts up, Codey Rocky will turn right 15 degrees and then move forward at 50% power for one second.


9. () at power ()%

Make Codey Rocky move forward/backward, or turn left/right at specified power.

Parameter:

  • Power: -100 ~ 100 (negative number means opposite direction)

Example:

When Codey starts up, Codey Rocky will keep moving forward at 50% power.


10. left wheel turns at power ()% and right wheel at power ()%

Make the left wheel and right wheel of Codey Rocky move at specified power respectively.

Parameter:

  • Power: -100 ~ 100 (negative number means opposite direction)

Example:

When Codey starts up, both the left wheel and the right wheel will move at 50% power for one second.


11. stop moving

Make Codey Rocky stop moving.

Example:

When Codey starts up, Codey Rocky will move forward at 50% power for one second, and then stop moving.


results matching ""

    No results matching ""