Laggy charactor moves strange

Hello guys i’m in trouble

2024-11-271.05.57-ezgif.com-video-to-webp-converter
The code is going crazy and laggy… what is happening for us.
I’m used to be… but top is 2.7x speed.

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.

5 Likes

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

3 Likes

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…

(Sorry, i know now)