hexes game update
Posted: Wed Aug 05, 2020 12:05 pm
Hi all,
Been on family holidays/vacation last month so not much coding done recently.
The terrain count now stands at 21 of the final 32 terrain types. To witness my legendary pixel graphic skills (ahem ahem) see below.
The terrain types currently are:
wild scrubs ; forest ; desert ; rocky outcroppings ; marsh
lake ; cliffs ; high mountains ; lowland fells
beach ; orchard ; cave ; meadow ; pasture
lumber yard ; wheat field ; cleared ground ; ploughed field
farmstead ; watermill; ocean
I've still got a drawing glitch on the layer 1 terrain graphic overprints, down the right hand side of the hex window - I need to print only the left half the graphic if it's at the end of an odd numbered hex_y row.
Finding an odd number in assembly is ABSURDLY easy:
LDA hex_y
AND #1
this leaves 1 in the accumulator if hex_y is odd, 0 if it's even.
that's all for now!