Was thinking about how it could be possible to let the player move entities using the mouse instead of arrow keys.
- When player presses the hotkey, create invisible 1x1 entities along all the sides of the entity under the cursor.
- Listen to the
on_selected_entity_changed
event.
- When selected entity is changed to one of these invisible entities, move entity in that direction, then delete all the invisible entities and create new invisible entities around the new position
Not sure if this would actually work practically, especially with multiplayer. I might try implementing this at some point after I'm done with current projects.