drgomesp / fibula-js

:game_die: A tile-based HTML5 Canvas & WebGL engine with support for orthogonal and isometric projections
MIT License
58 stars 0 forks source link

Input Handlers #10

Open caioketo opened 9 years ago

caioketo commented 9 years ago

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

drgomesp commented 9 years ago

@caioketo what exactly do you mean by handling input?

caioketo commented 9 years ago

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?

drgomesp commented 9 years ago

@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.

caioketo commented 9 years ago

That sounds great, thanks