0 Favourites

Phone heats up when running in CocoonJS ?

  • I have developed a very simple word game , not a lot of sprite movements , only few buttons and sprite fonts. After running for about 10 minutes, i see the the phone (Naked iPhone 5 - No Cover) gets heated up a lot and it's so hot, FPS is 60, even if i keep the game idle , it gets heated.

    Is it common , Is anyone experiencing the same ? Any ideas to prevent if it's an issue.

  • It depends on your simple game, because if you code it to update positions of sprites or your code is running loops even while its in an idle gameplay phase, it eats CPU cycles each frame so that causes the phone to use more power & thus, generate more heat.

    If you make mobile games you should really optimize it to the fullest, watch your game in debug mode (watch/profile) and see how much CPU resources its taking on your PC. I try to keep it around 5-15% of my i5-3770K, I have found this keeps it running fast on older mobiles without causing 100% CPU usage on newer devices. On the iPad, my game is loading the CPU ~50% and doesn't get hot.

  • It depends on your simple game, because if you code it to update positions of sprites or your code is running loops even while its in an idle gameplay phase, it eats CPU cycles each frame so that causes the phone to use more power & thus, generate more heat.

    If you make mobile games you should really optimize it to the fullest, watch your game in debug mode (watch/profile) and see how much CPU resources its taking on your PC. I try to keep it around 5-15% of my i5-3770K, I have found this keeps it running fast on older mobiles without causing 100% CPU usage on newer devices. On the iPad, my game is loading the CPU ~50% and doesn't get hot.

    Nice tips, thank you!

    I am also experiencing some issues with my phone heating (iPhone) and also my game drains the battery FAST. Think you could maybe do a tutorial how did you manage to optimize your games so well? That would be much appreciated.

  • Is there any particular problem in getting hot? I mean if it doesn´t cross a magic border, there is no problem right?

  • Is there any particular problem in getting hot? I mean if it doesn´t cross a magic border, there is no problem right?

    Technically no problem, but I think it's a bit unprofessional to not care about it. Most games do not suffer about those issues. If there's something I can do to avoid it, I'd like to try!

  • Is there any particular problem in getting hot? I mean if it doesn´t cross a magic border, there is no problem right?

    It's a problem on some devices, when they get hot, the CPU down-clocks to reduce heat output and loses performance.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Think you could maybe do a tutorial how did you manage to optimize your games so well? That would be much appreciated.

    I am also interested.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
CocoonJS plugin updates
519 48,566
tuzke's avatar
tuzke
Unread hot topic
410 84,595
MrMegawatts's avatar
MrMegawatts
Unread hot topic
392 34,803
Joannesalfa's avatar
Joannesalfa