Issue 203 in los-cocos: mouse hit on hexagonal tilemaps fails

10 views
Skip to first unread message

codesite...@google.com

unread,
Aug 25, 2013, 10:25:42 AM8/25/13
to cocos-...@googlegroups.com
Status: Accepted
Owner: ccan...@gmail.com
Labels: Type-Defect Component-Tiles

New issue 203 by ccan...@gmail.com: mouse hit on hexagonal tilemaps fails
http://code.google.com/p/los-cocos/issues/detail?id=203

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.


Attachments:
test_tiles_hexmap_hoover_#203.py 4.4 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

codesite...@google.com

unread,
Aug 25, 2013, 10:37:04 AM8/25/13
to cocos-...@googlegroups.com

Comment #1 on issue 203 by ccan...@gmail.com: mouse hit on hexagonal
tilemaps fails
http://code.google.com/p/los-cocos/issues/detail?id=203

fixed at r1246

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

Attachments:
test_tiles_hexmap_hoover_new.py 3.8 KB

codesite...@google.com

unread,
Aug 25, 2013, 10:38:04 AM8/25/13
to cocos-...@googlegroups.com
Updates:
Status: TrunkFixed

Comment #2 on issue 203 by ccan...@gmail.com: mouse hit on hexagonal
tilemaps fails
http://code.google.com/p/los-cocos/issues/detail?id=203

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages