The on_mouse_press event doesn't work

15 views
Skip to first unread message

icyh...@gmail.com

unread,
Mar 8, 2018, 12:08:38 AM3/8/18
to cocos2d discuss
on_mouse_press event doesn't work while i press my mouse 
but the on_key_press  on_mouse_motion on_mouse_release can work correctly,why?

Daniel Gillet

unread,
Mar 8, 2018, 2:39:05 AM3/8/18
to cocos2d discuss
Hello,

Thanks for the report! Indeed there was a bug which was solved a couple of days ago in pyglet. At the moment you have 2 options:

    - Wait for pyglet to release version 1.3.2
    - Pull from bitbucket repo the pyglet-1.3-maintenance branch where the bug fix landed

Sorry for the inconvenience.
Reply all
Reply to author
Forward
0 new messages