It would be nice to have a built-in variable that would let you rotate objects. Instead of using the Turn icon proc and requiring the server send a new icon to all clients you could just set object.angle = 45 and it would be drawn on every client as being rotated 45 degrees. This would also allow for the icon to be drawn outside of its 32x32 box. Currently this is very awkward to do and requires that the server do a lot of the processing. Clients should be able to figure out how to draw a rotated icon given the base icon and angle.
It would also be nice to have a similar setting for clients. Similar to how pixel_x and pixel_y give the client's eye a pixel offset, you could set client.angle to rotate the client's view.
These features would be handy for many reasons but would be especially handy for racing games and space games.
Sep 29 2010, 4:27 am