Commit Graph

24 Commits

Author SHA1 Message Date
Amy Wooding 032f6db266 Started setting things up to test the hexmap coordinate logic separately from the game. 2016-07-16 19:16:41 -04:00
Amy Wooding acf52537a2 Moved HexMapCell out of main.py into its own module. 2016-07-16 17:49:58 -04:00
Amy Wooding cf6ef569a5 Added setter to make sure that the even-r and cube coordinates never get out of sync. 2016-07-16 17:45:02 -04:00
Amy Wooding 2b9f4dba36 Added even_r_coords and cube_coords to HexMapCell. That is, hexagons now know they're coordinates. 2016-07-16 17:39:03 -04:00
Dorian f806453bf6 Add a basic map coordinate system. 2016-07-16 16:11:26 -04:00
Dorian 53d6a6c7ba Avoid displaying cells cut off on the left. 2016-07-16 15:52:01 -04:00
Dorian 5b1161f2f3 Add coordinate labels to hexes. 2016-07-16 15:11:41 -04:00
Dorian 9a1fd04b75 Add better documentation around hex positioning and resizing code. 2016-07-16 14:12:56 -04:00
Dorian 8fa61f942d Add documentation around the hex positioning and updating code. 2016-07-16 14:00:48 -04:00
Dorian c57c01464d Minor code clean up. 2016-07-16 13:51:50 -04:00
Amy Wooding 8b5b258be7 added random colours to the hexagons 2016-06-04 23:04:53 -07:00
Amy Wooding f5aaa50433 hexagons work!! hurray! 2016-06-04 22:20:00 -07:00
Dorian 02c84566cd Attempt to create multiple control points. 2016-06-04 17:57:52 -07:00
Dorian 7eb4b343a5 Add in way to add in a single and multiple boxes for handling control of units. 2016-06-04 17:37:39 -07:00
Kjell Wooding cc1604fe36 fix aspect ratio of hex grid 2016-06-04 15:08:18 -07:00
Kjell Wooding 3d77ab264b first try at fixing the aspect ratio 2016-06-04 14:55:11 -07:00
Kjell Wooding dbc704226a Draw the hex grid 2016-06-04 14:41:13 -07:00
Dorian 9cc0f805c8 Setup initial line drawing. 2016-06-04 13:02:02 -07:00
Dorian 2e6bbd36ed Add in better naming for line edges. 2016-06-04 12:54:21 -07:00
Dorian 5d6f3960bb Create logic to draw out squares. 2016-06-04 12:51:50 -07:00
Dorian 5decaf284d Breakout map regions into standalone widget. 2016-06-04 12:35:33 -07:00
Dorian 57b8de4470 Add grid layout with coordinates for map. 2016-06-04 12:23:40 -07:00
Dorian bc62c5c14c Add initial screen layout. 2016-06-04 11:59:40 -07:00
Kjell Wooding a81703854c Add some template code 2016-06-04 11:31:07 -07:00