# Snooker game problems

**URL:** <https://forum.kirupa.com/t/snooker-game-problems/139789>\
**Category:** Uncategorized\
**Created:** [March 5, 2005, 6:19pm UTC](https://forum.kirupa.com/t/snooker-game-problems/139789 "2005-03-05T18:19:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnet](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@magnet](https://forum.kirupa.com/u/magnet)\
**Post date:** [March 5, 2005, 6:19pm UTC](https://forum.kirupa.com/t/snooker-game-problems/139789/1 "2005-03-05T18:19:10Z")

</div>

I am making a snooker game in mx 2004 and due to there being 22 balls and each ball having to check collision with every other ball there are a lot of collision detections. this is very cpu intensive and also slows down the game loads. i speeded it up by making it so only if the ball is moving check if it collides with any other ball. if only a few balls are moving then the game runs fine, but if a lot are moving then the ball movement gets much slower. can anyone think of a way to stop this?  
here is the swf. it may run fine on your computer. also i have not finished the game and right now it has no cue and the balls do not go in the holes.
