This site requires JavaScript, please enable it in your browser!
Greenfoot back
moltenmaster
moltenmaster wrote ...

2022/11/2

my game is laggy only the the greenfoot website

moltenmaster moltenmaster

2022/11/2

#
I recently published a new game. It runs with zero lag on my computer, but when I play it on the website, it is extremely laggy. https://greenfoot.org/scenarios/30194
danpost danpost

2022/11/2

#
moltenmaster wrote...
I recently published a new game. It runs with zero lag on my computer, but when I play it on the website, it is extremely laggy. https://greenfoot.org/scenarios/30194
One can only take a random guess. Without access to the code, it would be almost impossible to even make a fair guess as to why it lags on the site.
moltenmaster moltenmaster

2022/11/6

#
How do I give you access to the code?
danpost danpost

2022/11/6

#
moltenmaster wrote...
How do I give you access to the code?
Two ways: (1) re-upload the scenario, checking the "Publish source code" checkbox, or (2) copy/paste codes here (using code tags)
moltenmaster moltenmaster

2022/11/7

#
Sorry for the late response, I was busy. I just reuploaded.
moltenmaster moltenmaster

2022/11/13

#
Excuse me, were you able to find out the source of th lag?
danpost danpost

2022/11/14

#
moltenmaster wrote...
Excuse me, were you able to find out the source of th lag?
It may be that all the songs being loaded at one time is slowing things down a bit. Try using the String names of the songs in your code and load one at a time as needed, letting the previous one be dismissed (no references to it remain).
moltenmaster moltenmaster

2022/11/15

#
Thanks, I'll try that and see what happens
You need to login to post a reply.