well it grinds to around 5pfs on my machine if I use say 100 bobs.. Im using 2 ghz 1gb ram and a radeon 9600 pro 256
however if I tell it not to draw to the screen it runs fine so its my card thats crap at drawing 2d
my friend gets a good framerate at 100 bobs on an almost identical machine except he's using an nVidia 5600 card
but yes.. theres lots of optimisation in there you can do
the first one I can think of is do and entity distance on each object and discard objects which are considered "out of the way" rather than doing the whole calc on every object which is what it does now.
if you dont draw the sensor box and use images for the bobs instead of the oval command it will be a lot faster Im sure. its not the algorithm that slows things down its drawing to the screen.
however if I tell it not to draw to the screen it runs fine so its my card thats crap at drawing 2d
my friend gets a good framerate at 100 bobs on an almost identical machine except he's using an nVidia 5600 card
but yes.. theres lots of optimisation in there you can do
the first one I can think of is do and entity distance on each object and discard objects which are considered "out of the way" rather than doing the whole calc on every object which is what it does now.
if you dont draw the sensor box and use images for the bobs instead of the oval command it will be a lot faster Im sure. its not the algorithm that slows things down its drawing to the screen.