I've been working on a game for a client, it runs smoothly in the editor, but when I export it as an .exe, it gets very laggy.
Project files ~250mb
Exported project ~500mb
Things I've tried to do:
Reduced estimated image memory from 3,000mb to about 600mb.
Deleted just about everything from the map
Profiler and debugger don't seem to show anything to taxing
Even though my layout now only has a few sprites, it still lags and stutters upon export.
What am I doing wrong?!
Also, is it normal for so many explorers to be created when playing the game? They don't delete when ending the game...
Develop games in your browser. Powerful, performant & highly capable.
What's the CPU looking like in the debug? Some behaviours like bullet are very taxing on resources, if a you have a large layout with many behaviours/animations running you can try disabling these while they are not in LoS.
All depends what your games actually doing, try to free up as much processing power as possible.