# 100% cpu usage

**URL:** <https://forum.kirupa.com/t/100-cpu-usage/225259>\
**Category:** flash\
**Created:** [May 10, 2007, 4:57am UTC](https://forum.kirupa.com/t/100-cpu-usage/225259 "2007-05-10T04:57:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![npgames](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/npgames/32/2914_2.png) [@npgames](https://forum.kirupa.com/u/npgames)\
**Post date:** [May 10, 2007, 4:57am UTC](https://forum.kirupa.com/t/100-cpu-usage/225259/1 "2007-05-10T04:57:20Z")

</div>

iv been working on a game since springbreak, and have started having serious cpu issues, would any of these be a reason for a max cpu usage?

\*lots of movieclips, about 20-30 mc’s during a fight, but game lags even when no shooting is happening

\*large mask, i put a masked layer in my game, to give the appearence of shadows, can a gradiented moving mask be a big problem?

\*removemovieclip/unloadmovieclip, to make sure my mc’s go away, i put both just to be sure

- most of the coding isnt on the main timeline

\*reaching borders of flash when making game

if any of these looks like something that can make a game lagout plz let me know

thanks in advanced, nick pearce
