Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2117
Closed
Open
Issue created Aug 06, 2018 by Neil Brown@nccbMaintainer

[GREENFOOT-786] Mouse clicking on actors in worlds with large cells is not working

If you have a scenario with a cell size larger than one, e.g. the wombats scenario, Greenfoot.mouseClicked(this) and similar methods are not working correctly. The issue seems to be that the mouse coordinates are translated wrongly -- if you click in cell e.g. 8,8 it seems to register as a mouse click on pixel 8,8 on the world side, so most clicks are getting translated into a click within the top-left cell.


Issue metadata

  • Issue type: Bug
  • Priority: Medium
  • Fix versions: 3.5.1
Assignee
Assign to
Time tracking