Logic Gadgets: Score Modifier

Icon
Name of gadget Score Modifier
Section Gameplay Gear
Number of Tweak pages 1
Author LadylexUK, QuietlyWrong
Last updated 15 Apr 2019 [Beta]

Description

This gadget is used in combination with the Score gadget. You can add multiple score modifiers to alter the same score. The score is modified remotely (and not by wire) by indicating the name of the score gadget to be affected.

 

Example Tutorial (adapted from Media Molecule)

(Same tutorial as on the Score page)

  1. Stamp a microchip
  2. Add a score gadget to it
  3. Add a score modifier to it
  4. Rename the score gadget as “Final score”
  5. Add “Final score” to the name field on the score modifier.
  6. Set operation type to add in the score modifier
  7. Add a controller sensor to the chip
  8. Set it to remote controllable
  9. Connect the square output to the power port of the score modifier. This will increase our score by 1 everytime you press the square button.
  10. Add a timer to the chip.
  11. Change the timer target to 10 seconds.
  12. Change it to countdown.
  13. Connect the timer finished (pulse) to post score on the score gadget.
  14. Add a second timer.
  15. Connect the first ones timer finished (pulse) to start timer on the new one.
  16. Make the target time 0.5 seconds.
  17. Add a doorway to the chip
  18. Connect timer finished (pulse) on the new timer to the power port on the doorway. This will end the game 0.5 seconds after you post the score to the scoreboard.
  19. Add 2 number displayers to the chip
  20. On the score gadget connect current score to the number/range input of displayer 1
  21. Move number displayer 1 to display in the middle of the screen
  22. On the original timer connect current time to the number/range of number displayer 2
  23. Set the display format to time and enable show milliseconds.
  24. Quick save the level
  25. Save the level online as private
  26. Exit to the dreamiverse and create a Dream
  27. Search for your saved level and add it
  28. Save the Dream online as private
  29. Play the Dream by pressing the square button as many times as you can before the timer runs out.
  30. Your score will be added to a scoreboard after you do this the first time.

 

Tweak Menus

  1. Score Name
  2. Operation Type
  3. Update Type
  4. Operation Value
    4a. Input
    4b. Output
  5. Current Score
    5b. Output
  6. Power
  1. Score Name
    Type the name of the Score gadget to be affected here (spelling and case sensitive)
  2. Operation Type
    • Set – sets the score to the value in Operation Value [4b]
    • Get – reads the score; used with the Current Score outputĀ  [5b]
    • Add – adds the value of Operation Value [4b] to the current score
    • Reset – resets the score back to its initial value (specified in the Score gadget)
  3. Update Type
    • When Powered On
      – Sets or Adds to the score only at a point where power [6] is switched from off to on.
    • Continuously While Powered
      – Continuously updates as long as the power [6] is on. (Most useful with the “Add” operation type.
  4. Operation value
    This is the current value of the modification (not the score which is housed in the score gadget). Note this can be negative, so if you “Add” a negative number to the score, you can create a “subtract” option.
  5. Current Score
    This output provides the current score from the Score gadget when used in combination with the “Get” operation type.
  6. Power
    This is where you can turn the gadget on/off.

Lex Tips

 

Useful Tutorials

Advertisements

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: