Page 1 of 1

Massive performance difference between running in terminal and .love

Posted: Fri Mar 02, 2018 3:47 am
by SpootySalmon
I know my code is probably abhorrent, but still the difference is surprising to me for such a simple game. The goal is to get the key while avoiding enemies, and then get to the door to proceed to the next level. You will also die if you take too many steps. If I run it from the terminal it's perfectly fine, but if I run it from the .love file when you get to the door the game will hang for awhile before proceeding. Does anyone have an idea for why this might be?

Re: Massive performance difference between running in terminal and .love

Posted: Fri Mar 02, 2018 10:21 am
by pgimeno
Hi, welcome to the forums!

You're using LZMA for compression and it's a solid archive. That's slow. Try with regular deflate. In fact I'm surprised Löve accepts LZMA.

Re: Massive performance difference between running in terminal and .love

Posted: Fri Mar 02, 2018 11:13 am
by SpootySalmon
Ok, that solved it. Thanks a lot, man. I'm relieved it was such a simple problem.