Game Lagging Problem

I’m making a platformer game. The level is quite huge. and have a lot of enemies and obstacles.


As of now, it gets lagging and lagging when in editor and when testing. My suspicion is because most of the objects there are tiled sprite and has the platformer behavior. Does anyone know how to remove the lag? or the possible cause of it?

Try clicking on the events tab so the events are showing, and then run/previews the game. I’ve found this helps a lot when I preview my games.


Like this one? and preview it?

Yes. And instead of asking if it’s correct before giving it a go, you should try it first, then ask if it fails.