Notwithstanding the fact that a lot of this thread has gone over my head (- god help me, can I manage to finish my product without this level of worry? I hope so.)... I just thought that I'd mention that Seth's suggestion of hiding what isn't needed just before Render works beautifully.
His code:
While KeyHit(1)=0
For k=1 to frames
; GAME UPDATE SECTION
For p.player = each player
ShowEntity p\ent
Next
Next
; GAME DRAWING SECTION
For p.player = each player
If Not EntityInView(p\ent,cam) Then HideEntity p\ent
Next
RenderWorld
Wend
- has given me an extra 50% fps!
Thanks, Seth.
His code:
While KeyHit(1)=0
For k=1 to frames
; GAME UPDATE SECTION
For p.player = each player
ShowEntity p\ent
Next
Next
; GAME DRAWING SECTION
For p.player = each player
If Not EntityInView(p\ent,cam) Then HideEntity p\ent
Next
RenderWorld
Wend
- has given me an extra 50% fps!
Thanks, Seth.