Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUI example mouse clicks won't work when isometric_rpg example playerEntity is enabled #952
Comments
|
oh... weird & interesting ! thanks for the report I will have a look at it. |
|
weird because there are at least a couple of isometric project going on those days, and none of the developers reported any issue, so maybe it's just a bug in the isometric example, let's hope for it :) |
|
Looks like I found a clue:
I'm not sure why floating feature of me.Container (me.Renderable) would cause a problem. |
|
@jkalkhof apologies as I did not have the time yet to go through this one, however I just pushed a few commits with some regression following the viewport change on the master branch. it would really be great if you could update your current branch and see if the problem is still there :) thank you ! |
OS platform / Browser
Windows 10/Chrome Version 69.0.3497.100 (Official Build) (64-bit)
melonJS version
master branch - 10/1/2018 - melonjs 6.2.0
Bug description
UI example mouse clicks won't work with simulation_rpg example
Steps to reproduce the bug
I have put in a pull request 951 - code which reproduces the problem.
(see examples/isometric_rpg_ui)
#951
change to line 43 of game.js:
me.pool.register("mainPlayer", game.PlayerEntity);
to
me.pool.register("mainPlayer", me.Entity);
will prevent the conflict of playerEntity affecting the UI mouse clicks.
Console log Extract
-no errors in log