# Rope/tether connecting two players

**URL:** <https://forum.makecode.com/t/rope-tether-connecting-two-players/28405>\
**Category:** Help\
**Created:** [April 24, 2024, 2:57pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405 "2024-04-24T14:57:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 24, 2024, 2:57pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/1 "2024-04-24T14:57:00Z")

</div>

I want to make a platforming game where two players are connected by a rope ex. pico park. I just need help with the rope mechanic and im stuck.

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [April 24, 2024, 9:00pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/2 "2024-04-24T21:00:57Z")

</div>

do you want a line to be shown between the two players? because if you do you can use the “On Z-index” block from the Sprite Utils extension and then put a “Draw Line” block with the two coordinates options being the two players you want to connect.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 25, 2024, 5:33pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/3 "2024-04-25T17:33:59Z")

</div>

yea but if the line is “x” length it provides a force tension in the rope/line

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [April 25, 2024, 5:57pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/4 "2024-04-25T17:57:57Z")

</div>

For this problem, you should still set the line I mentioned and use the distance block in the Sprite-Utils extension and when your sprites are a certain distance apart the code changes the X’s until they are the perfect distance or less apart.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 25, 2024, 11:25pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/5 "2024-04-25T23:25:44Z")

</div>

Im having an issue with the line

> **[tethered](https://arcade.makecode.com/S73172-68626-73655-17236)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [April 26, 2024, 9:23pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/6 "2024-04-26T21:23:28Z")

</div>

Here you go this is the best I could do for now…

> **[tethered](https://arcade.makecode.com/S69575-28633-51465-59796)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 27, 2024, 8:14pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/7 "2024-04-27T20:14:10Z")

</div>

I get it now im gonna work on relating it to the players instead of the screen. When the camera moves the line gets off.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 29, 2024, 2:40am UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/8 "2024-04-29T02:40:13Z")

</div>

once the screen starts moving the line gets out of sync. I made it snap to sprites instead of the tiles they’re on.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [April 29, 2024, 4:03pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/9 "2024-04-29T16:03:11Z")

</div>

Got some more stuff done the line needs fixing, I need to do tile and character designs, and levels.

> **[tethered](https://arcade.makecode.com/S73172-68626-73655-17236)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![FourBacon](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FourBacon](https://forum.makecode.com/u/FourBacon)\
**Post date:** [May 6, 2024, 4:42pm UTC](https://forum.makecode.com/t/rope-tether-connecting-two-players/28405/10 "2024-05-06T16:42:28Z")

</div>

> **[tethered](https://arcade.makecode.com/S73172-68626-73655-17236)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

got almost everything done the game is almost impossible. You have to play with the right friend to beat it.
