Saturday, December 17, 2022

Making polygons

15 December 2022- Adding Triangle Divs!

Randomly placing an initial clickable tile div in my map... I want to set up the ajacent tiles to be 'marchable', so that we can explore and discover a random map. I can use an 'X' to mark the current tile and '?' to mark adjacent destination tiles.

Map
9

9

Starts: 0.64 and stops: 5.96
Angle #0: 0.64
Angle #1: 1.25
Angle #2: 1.87
Angle #3: 2.46
Angle #4: 3.38
Angle #5: 3.97
Angle #6: 4.83
Angle #7: 5.43
Angle #8: 6.34
0.58
px: 212, py: 118
polygon(318px 173px, 276px 179px, 243px 182px, 218px 164px, 212px 118px, 230px 97px, 265px 86px, 292px 92px, 308px 132px)

No comments:

Post a Comment