k2d222 / twwe

Teeworlds collaborative map editor online
GNU Affero General Public License v3.0
13 stars 1 forks source link

Use same controls as in the client editor #10

Closed ChillerDragon closed 2 years ago

ChillerDragon commented 2 years ago

Instead of space to place tiles use left click. And instead of moving the view with drag use ctrl+drag.

ChillerDragon commented 2 years ago

My bad seems like this is already the case.

ChillerDragon commented 2 years ago

Oh wait no. It is double click instead of single click to place a tile. What is the reasoning behind that? To not conflict with navigation?

k2d222 commented 2 years ago

Some code was taken from another project. Any mouse button will place a tile but it is not working very well (atm click duration must be < 100ms, to avoid conflict with drag). This needs fixing. Also the spacebar btn was added to allow placing multiple tiles by holding it, but I think it would be easier and more intuitive indeed with the controls from tw's map editor.