Start work toward a usable tiling hex grid board.
This commit is contained in:
parent
7385b1fc1c
commit
7815a4ba48
4
main.py
4
main.py
|
@ -14,6 +14,10 @@ class StrategyGame(BoxLayout):
|
|||
def __init__(self, **kwargs):
|
||||
super(StrategyGame, self).__init__(**kwargs)
|
||||
|
||||
# TODO: Need to figure out dimensions of map... better isolate in standalone FloatLayout setup.
|
||||
# TODO: Add in calculation of number of tiles placeable in map? Or using scroll view?
|
||||
# TODO: Learn about scrollable maps and mini-maps
|
||||
|
||||
for row in range(0, self.map_rows):
|
||||
|
||||
hex_map_row = BoxLayout(orientation='horizontal')
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
map_cols: 5
|
||||
BoxLayout:
|
||||
orientation: 'horizontal'
|
||||
# FloatLayout:
|
||||
BoxLayout:
|
||||
id: _main_map
|
||||
game: _game
|
||||
|
|
Loading…
Reference in New Issue