Game is very laggy

What type of information is being given, X,Y of all the racers (There are 10?) so that would be 20. But why would they need to be given that information?

1 Like

The X and Y values are used for the placing system, but they didn’t any lag before in this game, and it never caused lag in the previous game. I know one of the sets of globals are for the items, they are used to determine whether or not the racer is still holding an item, still didn’t cause lag in the old game though…

1 Like

I FIGURED IT OUT

1 Like

It was because one of my objects were extracting their x and y values into a global, but it was attached to the race track object, so it was hundreds of that same object trying to extract their x and y value.

1 Like

that seems like it can cause a lot of lag.

Also, for the placement the globals can be sent to a single object instead of each racer.

1 Like

Ok, can you try it now?

It’s much better now. Still very laggy, but I have a terrible computer

1 Like

It just got laggy again all of a sudden, what even is wrong with this game…

Try reloading, sometimes the page needs to be reloaded to register changes for you

1 Like

I did…3 times…

1 Like

Seems to be working the same for me. Much better than before, but still laggy.

1 Like