Search the Community
Showing results for tags 'code quality'.
Found 1 result
Phaser making my Mac run hotHi all, I'm making a game in phaser and it is making my mac run very hot. I'm looking to find out what might be the cause. I noticed the first time it happened was when I made a shooter game that did not cache bullet objects, but instead just created new ones. After maybe 20 refreshes the game was causing my mac to run very hot (so much that you wouldn't want it on your lap). I fixed that and it cooled down. The second time was when I was logging 'this' in an update function, which I don't think should result in that but it was. Outside of not reusing objects what else can be a really big memory/processor suck in your game?