I need help reducing lag in my game

my game octoadventure is really laggy idk why though please help me???

game link Flowlab Game Creator - octoadventures(update 1.2)

1 Like

There’s a performance tool in the editor somewhere. You can use that to find out what’s messing with your game

3 Likes

The performance tool is in the area where you adjust the game screen size and gravity. It’s in the advanced settings.

2 Likes

You can access the performance metrics by going to:

Settings->Advanced->Display Performance Metrics

Once you enable that, it becomes clear that your issue is too many Proximity checks. I’m not sure how many objects in the level are running proximity checks, or how often, but you should look for ways to reduce them to improve performance.

5 Likes

yeah, that just might do it :joy:
also maybe the 2k objects in your level??? might wanna get that checked out???

3 Likes

2K objects should actually run fine, but it would probably run a lot better if they weren’t “smart objects” (if they didn’t have any behaviors in them)

5 Likes

my game is complex lol and this is the 1rst level out of 7 lol

That’s OK - I think it will be fine if you fix up the Proximity overload.

4 Likes

ye i fixed its back to 30 FPS

1 Like