# Flash, Shaving-game, performance issues

**URL:** <https://forum.kirupa.com/t/flash-shaving-game-performance-issues/286488>\
**Category:** programming\
**Created:** [April 16, 2009, 7:27am UTC](https://forum.kirupa.com/t/flash-shaving-game-performance-issues/286488 "2009-04-16T07:27:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnsjohansson](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@jnsjohansson](https://forum.kirupa.com/u/jnsjohansson)\
**Post date:** [April 16, 2009, 7:27am UTC](https://forum.kirupa.com/t/flash-shaving-game-performance-issues/286488/1 "2009-04-16T07:27:15Z")

</div>

(I re-post my original post here, perhaps it’s a more relevant topic)

Hey, I’ve almost finished making a game where you shave the surface inside the borders.

It’s a bit slow… So I was hoping you could suggest which parts are the most demanding ones, for the shave-part i use CopyPixels and the amount of MovieClips is limited.

So, is it the big backgrounds, the CopyPixels, the amount of child-layers attached, all the bitmaps, anything with the mouse that can be added to smooth things out?

Really, I’m at a loss so please just check it out and hit me with everything you got.

[http://jonasjohansson.se/shavegame.swf](http://jonasjohansson.se/shavegame.swf)

Just click “NÄSTA” twice and after that “START”.

Thanks in advance!
