fibula-js icon indicating copy to clipboard operation
fibula-js copied to clipboard

Input Handlers

Open caioketo opened this issue 10 years ago • 4 comments

I just saw this project, and it seems amazing, I just thinking if it handles input in isometrics views? Or should I make it? Thanks, and great work

caioketo avatar Feb 09 '15 18:02 caioketo

@caioketo what exactly do you mean by handling input?

drgomesp avatar Feb 17 '15 13:02 drgomesp

I mean, when user click on the tile, how can I get the exactly tile x, y ? I'll have to make the calculations myself?

caioketo avatar Feb 17 '15 15:02 caioketo

@caioketo the library currently only supports rendering, but the idea is to eventually have a game engine on top that will be able to handle input and do all sorts of things necessary to build a game. However, capturing the click should be fairly easy considering the current implementation.

I'm going to try to implement that over the weekend to see how it looks like.

drgomesp avatar Feb 19 '15 06:02 drgomesp

That sounds great, thanks

caioketo avatar Feb 19 '15 09:02 caioketo