Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

room_to_display_x / y offset by 1 pixel #83

Open
jack27121 opened this issue Jun 28, 2024 · 0 comments
Open

room_to_display_x / y offset by 1 pixel #83

jack27121 opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working priority 1

Comments

@jack27121
Copy link
Owner

look at this code, it should set the mouse position to where it already is, but what actually happens is that it gets offset by one pixel up and left

var dx = global.cam.room_to_display_x(global.cam.get_mouse_x() );
var dy = global.cam.room_to_display_y(global.cam.get_mouse_y() );
window_mouse_set(dx,dy);
@jack27121 jack27121 added bug Something isn't working priority 1 labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority 1
Projects
None yet
Development

No branches or pull requests

1 participant