google-code-export / los-cocos

Automatically exported from code.google.com/p/los-cocos
Other
1 stars 0 forks source link

mouse hit on hexagonal tilemaps fails #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hoovering the mouse near any hexagon right corner highlights the wrong tile.    

The underlaying method with problems is HexMap.get_at_pixel , mouse hit
is more descriptive of the problem.

Attached a bugdemo, test_tiles_hexmap_hoover_#203.py, it uses additional 
resources from issue 201. Put in the usual test directory to run.

The variable 'description' tells what it does, what should be seen and what is 
in fact observed, it is also printed to the console.

Original issue reported on code.google.com by ccanepacc@gmail.com on 25 Aug 2013 at 2:25

Attachments:

GoogleCodeExporter commented 9 years ago
fixed at r1246

Attached a variant of the bugdemo whit better restore of old colors

Original comment by ccanepacc@gmail.com on 25 Aug 2013 at 2:36

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ccanepacc@gmail.com on 25 Aug 2013 at 2:37

GoogleCodeExporter commented 9 years ago
made to cocos 0.6.0

Original comment by ccanepacc@gmail.com on 10 Apr 2014 at 1:59