Make mouse position report be relative to base dimensions #12

Open
opened 2024-10-10 17:39:16 +00:00 by veclavtalica · 0 comments
Collaborator

Currently input_get_action_position() and ctx.mouse_window_position are relative to resizable window, not the actual subspace the game takes place.
Also, scale should not play a role, logical space is constant.

Currently `input_get_action_position()` and `ctx.mouse_window_position` are relative to resizable window, not the actual subspace the game takes place. Also, scale should not play a role, logical space is constant.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wanp/townengine#12
No description provided.