# Unit 3 Lesson 28 Make a game

**URL:** <https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728>\
**Category:** CS Discoveries\
**Tags:** csd-unit-3\
**Created:** [January 21, 2026, 3:20pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728 "2026-01-21T15:20:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![melkog](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@melkog](https://forum.code.org/u/melkog)\
**Post date:** [January 21, 2026, 3:20pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728/1 "2026-01-21T15:20:02Z")

</div>

Hi Everyone,

My student is trying to make them move on their own accord for his game but when he tries the all the aliens are moving so fast and we are trying to figure out how to slow them down.

Any help you can offer?

> **[Check out what I made](https://studio.code.org/projects/gamelab/feb13962-6284-44fb-a8a2-e78e8dcb9c74)**
>
> I wrote the code myself with Code.org

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [January 21, 2026, 3:34pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728/2 "2026-01-21T15:34:31Z")

</div>

@melkog

Good morning. Did you share the correct link? The project file I opened is just a shell of a game with comments, but no real coding blocks that would do anything.

Generally, however, the speed is determined by how many increments you are giving to the x and/or y value of each sprite each time through the draw loop, so frog.y=frog.y+2 will travel twice as fast as frog.y=frog.y+1.

If you still need help, please check the link and check back in with us!

Good luck!

Mike

---

<div class="post-metadata">

**Author:** ![melkog](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@melkog](https://forum.code.org/u/melkog)\
**Post date:** [January 23, 2026, 1:05pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728/4 "2026-01-23T13:05:24Z")

</div>



---

<div class="post-metadata">

**Author:** ![melkog](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@melkog](https://forum.code.org/u/melkog)\
**Post date:** [January 23, 2026, 1:06pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728/5 "2026-01-23T13:06:35Z")

</div>

> **[Check out what I made](https://studio.code.org/projects/gamelab/fde5c059-8aab-4156-b57c-ee48298c238e)**
>
> I wrote the code myself with Code.org

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [January 28, 2026, 5:27pm UTC](https://forum.code.org/t/unit-3-lesson-28-make-a-game/41728/6 "2026-01-28T17:27:37Z")

</div>

Ah … ok…. I see what is happening here…

The ones that are moving fast are due to the random blocks. They aren’t really moving, they’re randomly changing positions and since their x value can be anywhere between 0 (left side) and 400 (right side), they could show up on the far right and instantly after on the far left and then the same thing again. You could restrict their range to a smaller range, but using the random x position, they will still be jittery. You would have to make them move like the other two aliens where you augment or decrease the x value by 1 or 2 for them to have the appearance of moving, but not bouncing from one side of the screen to the other.

Does this help?

Mike
