Pretty much the title says it all. When I start the game and it runs all the code in the "Run" method, it start getting laggy.
Is there a way to fix this? Like through multi-threading or splitting the class into many smaller one. Or is because Greenfoot cannot handle this much at once?
I can't really paste the code into the post because it's big and there are many classes.
Any help or advice are welcome. Thank you in advance.