thats odd... I get over 1000 fps when I use the following code...
is that what you mean?
Type unit Field playerNum Field team Field ID Field x#,y#,z# Field mesh Field colorR,colorG,colorB Field ISselected;;if ISselected, sprite is created Field ISmoving;; Field selectID;;number given to unit when selected, if 10 units are selected selectID will be 1,2,3,4,5,6,7,8,9,10 Field starthealth#;;used to properly position health bar, when unit is hit, health bar shrinks and moves to the left Field health#;;currenthealth Field speed# ;;sprite Field selectsprite;;the select sprite unit uses when its selected Field selectspritetexture Field healthsprite;;sprite displays the units health ;;weapon Field weapon;;weapon graphic Field weaponrange# Field weapondamage# Field weaponalpha# Field weaponrate;;how frequently weapon is fired in millisecs Field weaponlast;;last time(gametime) weapon was fired ;;pivot Field pivot;;wherever the pivot is the unit goes Field pivotx#,pivoty#,pivotz# ;;;;AI fields Field AI;;0 - player controlled, 1 - find and destroy the nearest enemy End Type For i = 0 To 300 aunit.unit = New unit Next Graphics 640,480,0,2 SetBuffer BackBuffer() While Not KeyDown(1) Cls dif = MilliSecs()-tim If dif >0 Then Text 1,1,1000/dif tim = MilliSecs() Flip False Wend
is that what you mean?