Commit Graph

30 Commits

Author SHA1 Message Date
mafiesto4 5773dc47f4 Restore no cursor clipping in Locked mode on non-SDL input to avoid issues 2026-03-26 23:52:24 +01:00
mafiesto4 6891256afe Fix mouse cursor lock regression in cooked game 2026-03-03 10:51:38 +01:00
mafiesto4 6e7a7c9350 Fix Screen.CursorLock in Editor to skip when viewport is unfocused 2026-02-17 11:46:20 +01:00
Ari Vuollet 68c0ac0ffc Fix cursor locking bounds calculation 2025-04-19 21:14:05 +03:00
Ari Vuollet bebda275a9 Fix crash when Game viewport was hidden 2025-04-19 21:14:04 +03:00
Ari Vuollet 38658a5b8c Fix CursorLockMode.Locked not working 2025-04-19 21:14:02 +03:00
GoaLitiuM 431767a150 Update SDL3 2025-04-19 21:13:41 +03:00
GoaLitiuM 3f6bf15554 Implement relative mouse mode (raw input) for SDL platform 2025-04-19 21:13:34 +03:00
GoaLitiuM b622a1cc5e Implement SDL platform, windowing and input handling 2025-04-19 21:13:32 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 9459eff58c Fix regression in game viewport DPI scale usage
#2976 809fd2653a
2025-03-18 20:07:30 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 e4b89e1bad Fix plugins initialization order to properly unload scenes before them in cooked game 2023-10-14 16:20:27 +02:00
Tryibion 113307ddf9 Simplify to return main window even in editor. 2023-09-30 21:36:41 -05:00
Tryibion 85a985cd7f Expose Main Window to c# through Screen class. 2023-09-30 13:52:20 -05:00
mafiesto4 50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Tryibion 6e5f693459 Small change to allow other platforms to use fullscreen and windowed in WindowMode function 2023-08-14 18:25:19 -05:00
Tryibion cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 e1836a222c Fix bug with Screen.CursorVisible set in script OnStart
#799
2022-10-29 19:33:34 +02:00
mafiesto4 1633d8ebb6 Minor fixes 2022-07-23 01:27:40 +02:00
mafiesto4 7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
mafiesto4 1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Scott Longley 1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
stefnotch 1d0faddd2a Fix game build 2021-03-15 21:22:41 +01:00
stefnotch fb28cae2b4 Move ScreenToGameViewport from Engine to Screen
And make it accessible from the C# side
2021-03-15 20:18:53 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
mafiesto4 6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00