MichaelSinsbeck / platformer

A ninja platformer written in LÖVE
7 stars 0 forks source link

[LE] Mouse pointer #104

Closed Germanunkol closed 10 years ago

Germanunkol commented 10 years ago

When using different tools, maybe we should change the mouse pointer, or at least draw an image below it which is dragged along.

Eraser: an eraser or 'X' symbol Pen: the currently selected ground type

But what should we do when placing objects (larger objects, that is, like a tree)?

Should we drag them along with the mouse pointer as well? That would have the positive effect that the user knows where exactly to click when he/she wants to place the tree. But it might also look weird...?

michalove commented 10 years ago

I think the object should be visible, before placing it. Maybe half transparent. But it should not replace the mouse arrow. It should be underneath the mouse arrow, so we can use the Pen-Image here, too.

Similarly, when drawing tile-based things, the currently selected grid-cell should be marked (I think it already is, right now).

Germanunkol commented 10 years ago

That marking thing is a good idea.... I don't do that yet. I'll need to add that.