😍
Mutate tutorials and guides
  • 💜Welcome to Mutate!
  • Guides
    • 🏁How to get started using Mutate
    • 🗺️Basic Navigation in Mutate
    • 📥Importing assets into Mutate
    • 🧠Creating game logic in Mutate
      • ✨Spawning
      • 💀Re-Spawning
      • ⚙️Platforms
      • 🏆Collectibles
      • 👀Item Visibility
      • 🔂Item Respawn
    • 🏃‍♀️Obstacle course tutorial
  • Tools
    • ✊Grab Manipulator
    • 🛠️Transform Manipulator
      • ↔️Move
      • 🔄Rotate
      • ↗️Scale
      • 🌐Global/Local
    • ⛓️Linking
      • 💥Components, Actions & Events
      • 📦Entity Components
      • 🙋Player Components
      • 🎮Game Components
      • 🌍Environment Components
  • Content Browsers
    • 📒Asset Browser
    • 🎨Material Browser
  • COMPONENT TUTORIALS
    • 🔍Components - a closer look
      • Entity Components
        • ↕️Mover
          • Elevators
        • 🔃Rotator
        • 🎯Collider
        • 🚧Collision Toggler
        • 👈Interact
        • 🕶️Hider
        • ⏰Timer
        • 💡Light Source
        • 🐣Spawn Point
        • ⚠️Trigger Zone
        • 🧚‍♀️Force Zone
        • 🔓Exclusive Zone
        • 📸Post-Process Zone
        • 🎧Sound
        • 🎲Die Roller
        • 💣Destruction
        • 🔫Shootable
        • 💬Broadcaster
Powered by GitBook
On this page
  1. COMPONENT TUTORIALS
  2. Components - a closer look
  3. Entity Components

Die Roller

is an Entity Component

PreviousSoundNextDestruction

Last updated 3 years ago

Die Roller is another behind the scenes component, used for creating chance and randomisation in levels. It can be a little tricky, but once you get a knack for it it feels straight-forward.

Currently, die roller supports up to 6 potential outcomes - just like the sides of a die - but if you apply this component to multiple entities, all having 6 possible outcomes, depending on how solid your linking is, you can create theoretically infinite random interactions and occurrences!

  • High roll threshold - determines the minimum number for a high roll, for linking purposes. The default is 4. E.g.:

    • If I roll 1, 2 or 3, I've rolled low

    • If I roll 4, 5 or 6, I've rolled high

      • Can be used to easily create a 2-option outcome

Common Uses

  • Introducing chance to games - maximises replayability

  • Randomised ambience

🔍
🎲