Commit Graph

34 Commits

Author SHA1 Message Date
5f301337b4 Building units now uses orders 😃 2021-01-01 14:25:44 -06:00
74458dbfd0 Added spawner and waypoint components, added building_set_waypoint order, particle emitters can now toggle their emission, buildings can now build and spawn units, buildings now dynamically emit smoke when working and no longer when building, added player2 to default game for testing. 2021-01-01 10:54:38 -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
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
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
82db9dd14d Basic networking implemented, currently non functional 2019-11-19 14:48:12 -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
a95849d5c7 Minor tweaks 2019-10-25 17:41:16 -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
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
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
40dce7c7c6 Moved camera into in own file 2019-09-30 22:39:59 -05:00
a44355a871 Redid menus, stubbed Entity 2019-09-30 20:49:41 -05:00