# Looping sprite?

**URL:** <https://forum.makecode.com/t/looping-sprite/38641>\
**Category:** Help\
**Tags:** game\
**Created:** [August 12, 2025, 6:21pm UTC](https://forum.makecode.com/t/looping-sprite/38641 "2025-08-12T18:21:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [August 12, 2025, 6:21pm UTC](https://forum.makecode.com/t/looping-sprite/38641/1 "2025-08-12T18:21:05Z")

</div>

I’m making a game for CK5 and I’m trying to make train tracks that go below the train, looping like a scrolling backdrop. The only problem is I can’t seem to find a way to have the sprite run by multiple times without the tracks disappearing. I’ve tried using the background scroll extension for this, but as soon as you jump the tracks’ location changes. Here is the project:

> **[ROPED](https://arcade.makecode.com/S43075-70407-85647-47487)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [August 13, 2025, 1:28am UTC](https://forum.makecode.com/t/looping-sprite/38641/2 "2025-08-13T01:28:41Z")

</div>

Nvm i found a way

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [August 13, 2025, 1:31am UTC](https://forum.makecode.com/t/looping-sprite/38641/3 "2025-08-13T01:31:06Z")

</div>

I love this game so much!!! The artwork is amazing! Also very nice swinging mechanics… I am not very good…

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [August 13, 2025, 9:08pm UTC](https://forum.makecode.com/t/looping-sprite/38641/4 "2025-08-13T21:08:26Z")

</div>

Honestly I’m terrible at math like this, most of the swinging mechanics were taken from a stickman hook-like physics engine by @BLADEr in [this topic](https://forum.makecode.com/t/i-need-help-making-a-game/36982/13)

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [August 13, 2025, 9:20pm UTC](https://forum.makecode.com/t/looping-sprite/38641/5 "2025-08-13T21:20:47Z")

</div>

Ah! But still the way you incorporated it into your game shows how you more or less know how to use it…

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [August 15, 2025, 12:53am UTC](https://forum.makecode.com/t/looping-sprite/38641/6 "2025-08-15T00:53:10Z")

</div>

I caught a wild @BLADEr!  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/e/ee9f7e0dafcf07b817246a332f3365e2dcfbb61a.png)

---

<div class="post-metadata">

**Author:** ![BLADEr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blader/32/16422_2.png) [@BLADEr](https://forum.makecode.com/u/BLADEr)\
**Post date:** [August 15, 2025, 12:53am UTC](https://forum.makecode.com/t/looping-sprite/38641/7 "2025-08-15T00:53:12Z")

</div>

Great job @not_a_lemon! This is really impressive. Good work. I’m really happy to see this on the forums!👍

---

<div class="post-metadata">

**Author:** ![BLADEr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blader/32/16422_2.png) [@BLADEr](https://forum.makecode.com/u/BLADEr)\
**Post date:** [August 15, 2025, 3:06am UTC](https://forum.makecode.com/t/looping-sprite/38641/8 "2025-08-15T03:06:16Z")

</div>

Please let me know if you need help in any way. I would love to help!
