Performance Optimization

1 post / 0 new
#1
Performance Optimization

Some players have reported that NEO Scavenger is causing a lot of CPU processing. Since NEO Scavenger uses an older version of Flash, there is no video acceleration, and this means the CPU does all the work (even for the graphics). This isn't ideal, obviously, and is one of the big reasons I'll be doing future games in non-Flash engines.

However, there are some tricks one can do to improve performance.

  • Reduce Framerate - LimitFPS defaults to 60fps, but it can be lowered without much visual impact (since the game has little animation). Lower FPS should directly affect CPU usage, and 30fps is more than enough for most users.
  • Disable stretch - This is a huge CPU hog because the Flixel game engine uses CPU to scale the bitmap from the original size to the screen size. Off by default.
  • Disable filter - This also uses the CPU to blend pixels for reduced aliasing. However, this filtering really only helps if you're using "Stretch," because "Stretch" causes aliasing due to non-whole-number zoom amounts. E.g. 1.37x zoom instead of nice round numbers like 2x, 3x, etc. Off by default.
  • Use Auto UI mode instead of Big UI - Auto will try to choose the nearest UI size from Small, Big, and 4:3. Then, it will choose a whole-number zoom level that fits your window without going over. It may produce letterboxing/black bars, but you'll get crisp pixel edges and better performance. Auto by default.

If none of the above works, the following additional steps may help (where applicable):

  • Try the versions on this site instead of Steam. (E.g. See if there's a difference, and let me know if so.)
  • If on Steam, try disabling the overlay.
  • Play at a lower resolution.

Finally, there's also the chance that a performance issue is due to a bug in the game. If something causes an infinite loop or other processor-intensive event, this could cause the CPU activity to increase. In this case, we might be able to fix it, so if you have any clues about what might've caused it, please let me know!

One of the main reasons I created a free Demo for NEO Scavenger is so people can try the game before they buy it. This is not only to see if they like the gameplay, but also to see if there are any issues running the game before buying. Definitely try the demo first!

Dan Fedor - Founder, Blue Bottle Games