Massive performance difference between running in terminal and .love
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- SpootySalmon
- Prole
- Posts: 2
- Joined: Fri Mar 02, 2018 3:01 am
Massive performance difference between running in terminal and .love
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?
- Attachments
-
- dungeon.love
- (4.47 MiB) Downloaded 93 times
Re: Massive performance difference between running in terminal and .love
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.
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.
- SpootySalmon
- Prole
- Posts: 2
- Joined: Fri Mar 02, 2018 3:01 am
Re: Massive performance difference between running in terminal and .love
Ok, that solved it. Thanks a lot, man. I'm relieved it was such a simple problem.
Who is online
Users browsing this forum: No registered users and 2 guests