mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 00:02:33 +00:00
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:
@@ -60,6 +60,7 @@ class IMICRTS
|
||||
position: CyberarmEngine::Vector.new(player.spawnpoint.x, player.spawnpoint.y, ZOrder::BUILDING)
|
||||
)
|
||||
construction_yard.component(:building).data.construction_progress = Entity.get(construction_yard.name).build_steps
|
||||
construction_yard.component(:building).data.construction_complete = true
|
||||
@director.each_tile(@director.map.world_to_grid(construction_yard.position), construction_yard.name) do |tile, space_required|
|
||||
if space_required == true
|
||||
tile.entity = construction_yard
|
||||
|
||||
Reference in New Issue
Block a user