Tag Info

New answers tagged

1

Did some testing and I think your only mistake is in adding the offsets rather than subtracting them. Other than that it's been working for me, although you could simplify those equations quite a bit to get rid of all those divisions. While trying, I've written this example code on JSFiddle. I omitted drawing the grid, but you should see a moving "tile" ...


0

I would certainly include a controller customization screen in the settings of the game. Even though you noted that you are aware of a controller-customization system, I think it is the correct way to do this and it is the answer to your question. I would quickly make a customization class and assign the keys by code (initially/harcoded), so I could just ...


1

Even if I do have a middle mouse button, its awkward to click. I personally would not ever want to use it for anything other than scrolling. Also, speaking from experience, having the middle mouse button be set as scrolling/zooming has also caused me grief in the past. There was a game that I played (called Rappelz in case anyone is curious) in which the ...



Top 50 recent answers are included