# My Isometric Game - Demo and lag problems

**URL:** https://forum.kirupa.com/t/my-isometric-game-demo-and-lag-problems/215056
**Category:** Uncategorized
**Created:** [February 3, 2007, 3:36pm UTC](https://forum.kirupa.com/t/my-isometric-game-demo-and-lag-problems/215056 "2007-02-03T15:36:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@Z11](https://forum.kirupa.com/u/Z11)
#### Post date: [February 3, 2007, 3:36pm UTC](https://forum.kirupa.com/t/my-isometric-game-demo-and-lag-problems/215056/1 "2007-02-03T15:36:40Z")

</div>

So here is a working example of my current dilema.

[http://www.callistek.com/flash/phpCiv.swf](http://www.callistek.com/flash/phpCiv.swf)

you can click and drag or use the arrow keys after selecting the flash animation…

An older version with prettier colors can be found here…

[http://www.callistek.com/flash/phpCiv9.swf](http://www.callistek.com/flash/phpCiv9.swf)

it also is laggy, but it doesn’t even have fog of war turned on. I am curious to see if anyone knows what may be causing this… I have around 1000 movie clips on the first one, and all my calculations are done on an ‘OnEnterFrame’ event…

And they only take 0-30ms to calculate (getting the getTimer()s from the start of that onEnterFrame to the end of it) Seems the lag is caused before or after the enterframe event… So I assume it happens when it updates the grafics. Any clues??
