Added construction complete order, added jeep overlay image to show windscreen, added rotors component for helicopter; more work needed, replaced all build and vehicle assets with ones that are 6x larger to prevent pixelization when zoomed in, misc.

This commit is contained in:
2021-01-08 12:41:04 -06:00
parent 0d449b9375
commit a3c3939f50
45 changed files with 149 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
IMICRTS::Order.define_handler(IMICRTS::Order::CAMERA_MOVE, arguments: [:player_id, :x, :y, :zoom]) do |order, director|
director.player(order.player_id).camera.move_to(order.x, order.y, order.zoom)
director.player(order.player_id).camera.move_to(order.x, order.y, order.zoom) if director.replay?
end
IMICRTS::Order.define_serializer(IMICRTS::Order::CAMERA_MOVE) do |order, director|