😍
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
  • And that’s it!
  • If you need more help, or want to boast about your amazing building skills, hop on into our Discord to join all the fun. We’ll see you there 🤞
  1. Guides
  2. Creating game logic in Mutate

Item Respawn

a.k.a creating links between Timer and Hider

PreviousItem VisibilityNextObstacle course tutorial

Last updated 3 years ago

We now have a very simple game. To make it a bit more dynamic, we’ll add some more logic to the collectibles to make them appear and disappear until you’ve collected enough of them to win. There’s more than one way to do this, but we will show you the simplest for now.

To make an item you’ve already collected re-appear, select the entity once more, and add the ‘Timer’ component. Change the time to as many seconds as you like, but we recommend at least 10 or 15, so players aren’t motivated to camp and wait for it to respawn. Now you can create two more links from the entity onto itself - also known as self-links 💫

First, create a new link and select ‘Hidden,’ with the response being ‘Start timer.’ Next, another link from ‘Timer ended’ to ‘Show.’ Because we previously set the collectible to disappear when we collect it, when we collect it now, it will start a countdown until it reappears. This process can loop endlessly until the game ends.

Tip: You can duplicate any entity in the game, so now you don’t have to individually link every single collectible. Simply hold down the Alt key when in Transform mode, select the item and drag to place elsewhere. Keep holding Alt and selecting new duplicates until you have as many as you need.

And that’s it!

We’ve just created a super small game that shows you the fundamentals of components and linking. With these basic concepts, you can make a whole lot more — anything is possible, yeah? Looks like you’re ready to start making your own first game! 👌

If you need more help, or want to boast about your amazing building skills, hop on into to join all the fun. We’ll see you there 🤞

🧠
🔂
our Discord
Just one second, for tutorial purposes ;)