# Laggy charactor moves strange

**URL:** <https://forum.makecode.com/t/laggy-charactor-moves-strange/32029>\
**Category:** Help\
**Tags:** game, graphics-and-math, make, demo, shmup\
**Created:** [November 27, 2024, 7:58am UTC](https://forum.makecode.com/t/laggy-charactor-moves-strange/32029 "2024-11-27T07:58:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [November 27, 2024, 7:58am UTC](https://forum.makecode.com/t/laggy-charactor-moves-strange/32029/1 "2024-11-27T07:58:29Z")

</div>

# Hello guys i’m in trouble

![2024-11-271.05.57-ezgif.com-video-to-webp-converter](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/d/ad4d5a68e0ad9cf6c28d9feeed6752d1bfe54f2b.webp)  
The code is going crazy and laggy… what is happening for us.  
I’m used to be… but top is 2.7x speed.

> **[Plane VS Plane](https://arcade.makecode.com/S64144-45401-31964-98351)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is the link for my game.  
It’s duplicating the charactors even i’m trying to move my charactor.  
and its **moving all charactors duplicated by moving direction.**  
Are it’s problem by `animation` program `Loop OFF`?  
Or something of error?  
Please give me the solution… i’ll progress.

---

<div class="post-metadata">

**Author:** ![wispycrispy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/wispycrispy/32/19222_2.png) [@wispycrispy](https://forum.makecode.com/u/wispycrispy)\
**Post date:** [November 27, 2024, 7:50pm UTC](https://forum.makecode.com/t/laggy-charactor-moves-strange/32029/3 "2024-11-27T19:50:43Z")

</div>

The code that creates the player is in a forever loop (forever loops constantly repeat the code inside of them), so the game infinitely makes more player sprites

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/0/00478df050419d638b689cf8e7536bc270a7eef8.png)

---

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [December 8, 2024, 5:09am UTC](https://forum.makecode.com/t/laggy-charactor-moves-strange/32029/4 "2024-12-08T05:09:46Z")

</div>

It’s the answer… but i think there’s no way but to put code into “forever”.  
if not logo will too strange because the “PRESS A” don’t blink  
but not it’ll lag like that. Fact: I’m just goint to not to lag but infinite like that  
And, why my charactor don’t move anyway…

---

<div class="post-metadata">

**Author:** ![YuminCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yumincoding/32/11482_2.png) [@YuminCoding](https://forum.makecode.com/u/YuminCoding)\
**Post date:** [December 8, 2024, 5:12am UTC](https://forum.makecode.com/t/laggy-charactor-moves-strange/32029/5 "2024-12-08T05:12:58Z")

</div>

(Sorry, i know now)
