Commit Graph

16 Commits

Author SHA1 Message Date
b418c402fb Updates to support changes to CyberarmEngine 2023-03-30 10:49:47 -05:00
19c5fc8d73 added on_order handler to entities and components, added visibility map 2021-01-15 17:41:06 -06:00
5f301337b4 Building units now uses orders 😃 2021-01-01 14:25:44 -06:00
637708dd5a Moved entity selection/order giving into EntityController 2019-11-21 10:21:25 -06: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
8be63d8ebe Added Director, Player and stubbed Order, mostly working Entity#rotate_towards 2019-10-02 22:35:44 -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