Creating More Traps
When you’re happy with the amount of damage the trap does, you can copy and then paste the trap and use it in other places. You can even create a variety of traps. Here are some tips to remember:
- Number type variables like
DAMAGEcan be changed.
- Scripts can be copied and pasted from part to part.
- If you have a trap part you like, you can copy and paste that part the same way you copied the plank. The script will be copied with it.
- Always test to make sure both the player and Blue can get across.
Side Quest – Create Healing Parts
Since you're creating traps for players, you might want to also give them a way to heal. That way players have more of a chance to finish your game. Luckily, you can use your skills to create healing parts.
Negative numbers do "negative damage" which means that players will gain health points. Just change the
DAMAGE variable to something like -10 and players will be healed by touching the part!