# How to make a SHUMP screen scroll correctly

**URL:** <https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740>\
**Category:** Help\
**Created:** [August 24, 2021, 5:49pm UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740 "2021-08-24T17:49:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoMustangs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gomustangs/32/4323_2.png) [@GoMustangs](https://forum.makecode.com/u/GoMustangs)\
**Post date:** [August 24, 2021, 5:49pm UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740/1 "2021-08-24T17:49:39Z")

</div>

Here is a demo of a vertical SHMUP style game:

> **[shmup scrolling demo](https://arcade.makecode.com/12367-62583-55584-77670)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I’m trying to get the screen and the ship to move upward like they do in a traditional vertical SHMUP.

I want the screen to scroll upward uninterrupted, and I want the ship to move up with the screen while still being able to freely move around the screen.

How do I get the ship to move with the screen? Right now the ship stutters when it moves, and when the ship goes to the left and right it drifts down to the bottom of the screen.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![livcheerful](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/livcheerful/32/3509_2.png) [@livcheerful](https://forum.makecode.com/u/livcheerful)\
**Post date:** [August 24, 2021, 10:50pm UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740/2 "2021-08-24T22:50:24Z")

</div>

Hi maybe this might help! [Arcade Advanced Stream #65 - get back on the road](https://forum.makecode.com/t/arcade-advanced-stream-65-get-back-on-the-road/2734)

We did this stream where it’s constantly scrolling by adjusting the camera’s y position. The car can move left/right freely, but not forward/backwards. The tilemap was also designed to be overlappable:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b9a42c932994c3d2cff3240fee7ea72c802b6a42.png)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [August 24, 2021, 11:12pm UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740/3 "2021-08-24T23:12:57Z")

</div>

If you click on the `+` symbol on the move sprite with buttons block, you can set it to only move left or right, or only up and down at different speeds:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3da03cbafa3bc53d11d272474693091a0ebe8d26.png)  
Also since the buttons block isn’t controlling the `vy` now, you can just set the `vy` velocity once and it will keep moving up:

> **[shmup scrolling demo](https://arcade.makecode.com/59252-23219-69258-53100)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Also the stuttering I believe is a bug within Arcade…

---

<div class="post-metadata">

**Author:** ![GoMustangs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gomustangs/32/4323_2.png) [@GoMustangs](https://forum.makecode.com/u/GoMustangs)\
**Post date:** [August 25, 2021, 4:54am UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740/4 "2021-08-25T04:54:59Z")

</div>

Thanks! I’ll check this out.

---

<div class="post-metadata">

**Author:** ![GoMustangs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gomustangs/32/4323_2.png) [@GoMustangs](https://forum.makecode.com/u/GoMustangs)\
**Post date:** [August 25, 2021, 4:55am UTC](https://forum.makecode.com/t/how-to-make-a-shump-screen-scroll-correctly/9740/5 "2021-08-25T04:55:02Z")

</div>

Thanks for the tip! I’ll try this.
