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

Mouse reposition #429

Closed
takhimi opened this issue Dec 15, 2017 · 6 comments
Closed

Mouse reposition #429

takhimi opened this issue Dec 15, 2017 · 6 comments

Comments

@takhimi
Copy link

takhimi commented Dec 15, 2017

1)Latest armory and armory example git
2)Tried the fps template example
3)When moving mouse it does not change rotation of the player view

@luboslenco
Copy link
Member

Eh, you are fast! It requires compiling the latest https://github.com/Kode/Krom build. I have pushed the updated ones for Windows at https://github.com/luboslenco/Krom_bin/tree/master/win32, in Armory it's placed at armsdk/win32/Krom/win32,

Will ship it with upcoming build. If nothing explodes I will also let Armory updater handle more to have this auto-updated.

If you select C++ runtime then it should work as is, provided there is a Visual Studio installation.

@takhimi
Copy link
Author

takhimi commented Dec 15, 2017

Hehehe. Been waiting for this for quite some time. For sure I am happy to see it. Is this going to lock the mouse at the center of the screen ? How about reposition the mouse ?

@luboslenco
Copy link
Member

Yes, locks the mouse at the center. This is how it's supposed to work:
lock

Mouse reposition - not yet, but will do once this works reliably on all desktop OSs.:)

@guzzard
Copy link
Contributor

guzzard commented Dec 15, 2017

@luboslenco works in Linux also? 😁

@luboslenco
Copy link
Member

Looks like yes https://github.com/Kode/Kore/blob/master/Backends/System/Linux/Sources/Kore/Input/Mouse.cpp#L14?

@luboslenco luboslenco changed the title Mouse lock does not work Mouse reposition Feb 6, 2018
@luboslenco
Copy link
Member

Merge with #374.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants