Dread Knight Posted September 26, 2013 Share Posted September 26, 2013 Hello! I'm founder of www.FreezingMoon.org - we're indie game developers working on an open source browser based TBS www.AncientBeast.comWe're considering adopting a game/rendering engine in order to make the game more playable on tablets and phones https://github.com/FreezingMoon/AncientBeast/issues/425 The gameplay coder has a question:Is it possible to have invisible elements triggering events (like clicking) with custom bounding shape (hexagonal in our case)?http://community.createjs.com/discussions/easeljs/626-invisible-button Also, what's the state of documentation? Would rather see that instead of almost daily change log xD So far Phaser looks awesome, I really dig the website :-) Link to comment Share on other sites More sharing options...
rich Posted September 26, 2013 Share Posted September 26, 2013 You can have an object be disabled from rendering but still detect clicks, yes. There is an option for 'pixel perfect' click detection, which would work for your hexagon shape, but you may find a better solution using some kind of polygon <-> point detection instead and just use the sprite for the containing bounds. Docs will be done next week. Link to comment Share on other sites More sharing options...
Dread Knight Posted September 27, 2013 Author Share Posted September 27, 2013 Thanks for the prompt reply, looking forward to the docs! Link to comment Share on other sites More sharing options...
Recommended Posts