Commit Graph

66 Commits

Author SHA1 Message Date
bc8abae0a8 resized power plant to not be larger than a tiles width 2019-11-28 09:53:04 -06:00
b5cd4eca0d adjusted refinery reserved tiles profile 2019-11-28 09:43:47 -06:00
db5e61e5ea paths are now in center of tiles instead of at top-left corner 2019-11-28 09:40:59 -06:00
81461778df Further improvements to place entity/building tool 2019-11-28 09:17:18 -06:00
e3d1a84efa Improved place buildings tool to use the grid 2019-11-28 08:17:19 -06:00
8869ddb3de Added initial tools support, minor refactor to sidebar actions 2019-11-27 12:28:43 -06:00
2b1ff35a34 now save player name from SoloLobby, made Director know able game so that construction workers can set active tool for Game (todo: implement tools :D), drafted 'structure' document 2019-11-22 17:18:44 -06:00
8b6f629a6a Fixed sidebar action names having underscores shown, added sidebar actions to construction worker 2019-11-21 14:23:21 -06:00
cec0c45932 Added last 2 units, added sidebar actions and build queue components, entities can now have their build actions put on the sidebar 2019-11-21 14:04:33 -06:00
902e48d53a Don't issue commands for moving and de/selecting entities, now able to 'pick' single entity if clicked on 2019-11-21 12:31:29 -06:00
637708dd5a Moved entity selection/order giving into EntityController 2019-11-21 10:21:25 -06:00
fa0eabd52f Centered helipad building, added barracks and helipad. 2019-11-20 17:45:41 -06:00
8be8fdb225 Added refinery and war_factory definitions 2019-11-20 13:17:10 -06:00
a9307733e3 TileMap parser can now load spawn locations, added construction yard building, added particle emitters, added smoke sprite and svg. 2019-11-20 12:51:24 -06:00
7775ccb3a3 Tanks turret is now centered on its body 2019-11-20 10:05:19 -06:00
2d70736753 Extracted movement and turret into 'components' that entity get add to its self when defined 2019-11-20 09:08:54 -06:00
82db9dd14d Basic networking implemented, currently non functional 2019-11-19 14:48:12 -06:00
b17842ab75 Prevent Closing animation for closing immediately by switching to use button_down instead of button_up, added skip_intro setting 2019-11-12 09:14:18 -06:00
a1999d7c6f Tacked on 'Overlays' to place a move cursor for move orders, TODO: Refactor into its own class 2019-10-27 12:07:30 -05:00
cd7b71894d Added custom cursors 2019-10-27 11:43:15 -05:00
a95849d5c7 Minor tweaks 2019-10-25 17:41:16 -05:00
202331474b Improved pathing debug draw 2019-10-25 13:56:54 -05:00
9fcb7f3d6e Crude path following implemented 2019-10-25 11:43:07 -05:00
8d71070893 Added files 2019-10-24 22:21:39 -05:00
2a4810c6e7 Updated pathfinder to consider cost of tile instead of only distance to goal 2019-10-24 19:35:19 -05:00
bcbe70d8d8 Added Settings 2019-10-24 18:03:56 -05:00
f4c6ad1d35 Added support for diagonal paths 2019-10-24 13:39:49 -05:00
75a03a7155 Roughed in some basic pathfinding, adapted from CitySim's 2019-10-24 13:30:30 -05:00
cc040f718b Seperated entities by building/unit 2019-10-24 12:01:25 -05:00
76578212e4 Update README 2019-10-15 11:34:56 -05:00
6cd17ba7c9 Added images for 'all' entities, added Tank 2019-10-15 11:27:17 -05:00
5e7bdeba57 Added spawn points to test_map, Debug text now shows type of tile under mouse 2019-10-11 21:38:54 -05:00
9ab515dce2 Entities are now definable 2019-10-11 20:01:35 -05:00
44e9dcf7d7 Added initial support for Tiled maps 2019-10-11 13:17:59 -05:00
e67325e831 Give Connection some use, added magic comment to i-mic-rts.rb 2019-10-09 20:43:14 -05:00
d6615872ba Orders are now de/serializable, and scheduleable, Entities now show a circle around themselves when selected and draw a line to their target 2019-10-09 11:32:59 -05:00
2a179ed935 Disable lerping camera position when dragging with mouse, commented out debugging rects 2019-10-08 09:16:19 -05:00
dcd8459462 Working Camera#transform 😩 2019-10-07 21:32:52 -05:00
5d8712946d Camera#pick almost works, fixed Map tile exclusion 2019-10-07 12:30:17 -05:00
cc93b5993d Updated Camera to use Matrix, Map now draws image tiles instead of rects, fixed selected units order pushing full array instead of contents of array. 2019-10-06 21:34:39 -05:00
0c22996b9f Stubbed Map, implemented optimized Map tile rendering, made Camera viewport explicitly defined 2019-10-03 17:19:59 -05:00
fd3b847449 Added FriendlyHash for orders, refactored Order#execute arguments 2019-10-03 11:45:58 -05:00
3dd067612a Stubbed Connection, added #next_entity_id to Player, made Director store and pass to Player the current_tick 2019-10-03 10:40:57 -05:00
8be63d8ebe Added Director, Player and stubbed Order, mostly working Entity#rotate_towards 2019-10-02 22:35:44 -05:00
e29bc47817 Moved menus into their own folder, stubbed bunch of menus 2019-10-02 20:25:34 -05:00
abc4305656 Basic unit selection implemented 2019-10-01 14:54:35 -05:00
b945255849 Added GAME_ROOT_PATH and ASSETS_PATH constants, make boot and closing use ASSETS_PATH, simplified Camera#mouse_pick and Camera#center 2019-10-01 12:44:47 -05:00
a3a2e2a2ac Almost have mouse picking working when zoomed 2019-10-01 08:52:12 -05:00
51db2dc5b8 Implemented Zoom 2019-10-01 08:25:02 -05:00
79de34a596 Added version file 2019-09-30 22:43:05 -05:00