Just maintain an array with enough space for all of the players. At the
beginning of each frame clear it out, then set it with the data for all the
players being rendered...then next frame (before it's cleared out) do the HUD
element stuff only for the visible players.
--- Nate Lovallo <[EMAIL P
It's not safe to try to draw anything to the HUD outside the HUD Draw code.
If you try to call it from someplace else, the screen might not be set in
the proper way to render them. DrawPlayer is further down the pipeline and
is not set to draw in ortho projection mode. Hence it will rendered i
2 matches
Mail list logo