Commit Graph

6069 Commits

Author SHA1 Message Date
Christopher Rothert
5e85fa2c0c Merge branch 'master' into feat/improved-camera-settings 2023-10-08 01:41:05 +02:00
Christopher Rothert
966e5cdda2 Update some comments 2023-10-08 01:40:50 +02:00
Christopher Rothert
997c442e69 Update movement speed formatting
* add property for movement speed text format
* add additional checks to camera speed progress calculation
* round movement speed to make it visually more appealing in the context menu
2023-10-08 01:07:36 +02:00
Christopher Rothert
00aa54cde8 Update camera speed stepping and easing
* remove complex curve function
* update camera easing feature to use Mathf.Pow instead
* add total camera speed steps to ViewportOptions
* change default value for max camera speed from 64 to 32
* update ViewportOptions ordering and grouping
* update string format for movement speed
2023-10-07 02:40:52 +02:00
Wojtek Figat
a8f6a90a2f Merge branch 'control-double-click' of https://github.com/MineBill/FlaxEngine into MineBill-control-double-click 2023-10-06 17:20:46 +02:00
Wojtek Figat
e41e200305 Merge branch 'Vert-color-deduplication-check' of https://github.com/Muzz/FlaxEngine into Muzz-Vert-color-deduplication-check 2023-10-06 17:06:21 +02:00
Wojtek Figat
5cf1d2b46e Code format 2023-10-06 17:06:17 +02:00
Wojtek Figat
f1557554ab Merge branch 'pos-camera' of https://github.com/Tryibion/FlaxEngine into Tryibion-pos-camera 2023-10-06 17:02:51 +02:00
Wojtek Figat
bc291f592e Merge branch 'improved-scrolling' of https://github.com/ontrigger/FlaxEngine into ontrigger-improved-scrolling 2023-10-06 16:58:36 +02:00
Wojtek Figat
e041a2d006 Merge branch 'scene-scroll-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-scene-scroll-fix 2023-10-06 16:07:45 +02:00
Wojtek Figat
cd889604e1 Fix build regression 2023-10-06 16:02:31 +02:00
Wojtek Figat
2cac149741 Code cleanup for #1377 2023-10-06 15:58:23 +02:00
Wojtek Figat
58552afc40 Merge branch 'viewlayer' of https://github.com/Withaust/FlaxEngine into Withaust-viewlayer 2023-10-06 15:26:15 +02:00
Wojtek Figat
ae308ab27a Minor code cleanup #1619 2023-10-06 15:25:25 +02:00
Wojtek Figat
b1e6e6a8d1 Merge branch 'Visject-AutomaticCasting' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-AutomaticCasting 2023-10-06 14:38:58 +02:00
Wojtek Figat
a698095bdd Fix spatial audio playback when clip is set after the audio source was enabled
#1622
2023-10-06 14:34:08 +02:00
Wojtek Figat
92e28f66af Fix various issues with audio clip data buffers to reduce artifacts (especially when using 24-bit data) 2023-10-06 14:19:22 +02:00
Wojtek Figat
e29d3d02a2 Refactor audio clip import settings to use auto-generated bindings via AudioTool 2023-10-06 14:08:48 +02:00
Wojtek Figat
560f699dd8 Fix various issues with OpenAL buffers playback (do proper bit convertion) 2023-10-06 13:59:03 +02:00
Wojtek Figat
176123eb1f Fix AudioClip loading error when buffer start times diff has rounding error 2023-10-06 11:40:39 +02:00
Wojtek Figat
9870d162e4 Fix creating prefabs directly from prefab objects
#1432
2023-10-06 10:07:57 +02:00
Christopher Rothert
fd94cfb469 Update how camera settings widget is displayed
* add option to force a certain text width to ViewportWidgetButton
* force camera settings widget to fit longest possible speed value
* changed displayed camera speed using string.Format
* changed some lines to always correctly display the camera speed
* switched from Mathf.Clamp to Mathf.Saturate for values between 0 and 1
2023-10-05 20:04:09 +02:00
Chandler Cox
233eb8a39d Fix prefab window tree 2023-10-05 12:13:41 -05:00
Chandler Cox
544ff3d5f0 Fix HScroll bar from covering nodes in scene window. 2023-10-05 12:10:49 -05:00
Wojtek Figat
5810febc4a Merge branch 'disable_resharper_build' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-disable_resharper_build 2023-10-05 19:02:21 +02:00
Wojtek Figat
cecc4a4106 Merge branch 'rules_assembly_csharp_ver' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rules_assembly_csharp_ver 2023-10-05 19:00:37 +02:00
88d9e60bee Generate Rider-specific user solution configuration files
Disables "Use Resharper Build" option by default in generated solutions,
Resharper can't detect file changes in project using custom build
commands.
2023-10-05 19:31:28 +03:00
858baa0ee0 Use latest supported C# version for building rules assemblies 2023-10-05 19:31:07 +03:00
Nils Hausfeld
dc6a2d4d25 - Cleanup and comments 2023-10-05 18:11:08 +02:00
Nils Hausfeld
d7ade326a9 - Implemented automatic casting to visject 2023-10-05 18:04:55 +02:00
Wojtek Figat
62894cb6b1 Merge branch 'master' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-master 2023-10-05 14:21:52 +02:00
Christopher Rothert
3a9fdd8b52 Add possibility to disable camera easing
* add camera easing setting to camera settings widget
* add camera easing default setting to ViewportOptions
* update some settings in ViewportOptions
2023-10-05 13:10:02 +02:00
Wojtek Figat
546553b82d Add some new splash quotes 2023-10-05 11:44:14 +02:00
Wojtek Figat
9af6048bec Fix regression from #1312 when passing structure from C++ to C# thunk as already boxed value 2023-10-05 11:36:47 +02:00
Wojtek Figat
86d1d29820 Fix deadlock regression from fd679f0af5 when applying Game Settings itself 2023-10-05 10:13:49 +02:00
nothingTVatYT
9d4089dc0a Merge branch 'master' of github.com:nothingTVatYT/FlaxEngine 2023-10-05 00:08:04 +02:00
nothingTVatYT
bc872ebff5 fix menu misalignment problem on Linux 2023-10-05 00:06:51 +02:00
Christopher Rothert
4b78d5e39e Orthographic/perspective mode toggle
Note: missing dedicated icon!
2023-10-04 23:30:51 +02:00
Christopher Rothert
1f2d665654 Add camera speed easing based on Mathf.InterpEaseInOut
* change camera move speed method to use easing curve
* add methods for inversion of Mathf.InterpEaseInOut (might have better alternative)
* add setting for easing curve degree in ViewportOptions

* update camera speed adjustments to use easing curve
* remove unused camera speed values array
* update some comments and namings
2023-10-04 23:30:51 +02:00
Christopher Rothert
ccf37e9d68 Add saving and loading of cached values for camera settings
* remove "Default" from all settings in ViewportOptions as they are shown in the "Defaults" group anyway
2023-10-04 23:30:51 +02:00
Christopher Rothert
a280ce3dc7 Add reset button to camera settings widget 2023-10-04 23:30:51 +02:00
Christopher Rothert
4f93a0d9c9 Add default camera settings to editor options
* update ViewportOptions to include new default camera settings
* update existing default settings in ViewportOptions
* extract viewport options setup into own method
* initialize new camera settings with default settings in EditorViewport
2023-10-04 23:30:50 +02:00
Christopher Rothert
67536f04e9 Improve camera panning
* add camera panning speed option to camera settings context menu
* add relative panning speed based on distance to camera target to camera settings context menu
* add relative panning option to camera settings context menu

* fix float comparisons
* remove invert panning entry from view widget
* remove unused show/hide method for camera widget
2023-10-04 23:30:50 +02:00
Christopher Rothert
3dcd1a5ffb Improve viewport camera settings
* remove fixed camera speed buttons from camera speed scale widget
* change camera speed scale widget to general camera settings widget
* move all camera-related settings from view mode widget to camera settings widget
* fix some typo

* add possibility to set camera speed manually
* add min/max camera speed options
2023-10-04 23:30:50 +02:00
Wojtek Figat
1838c7bba7 Minor cleanup 2023-10-04 23:21:40 +02:00
Wojtek Figat
a6e9637442 Merge branch 'editor-font' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-font 2023-10-04 23:15:29 +02:00
Wojtek Figat
fd679f0af5 Add automatic game settings apply when saving json file in Editor
#1440
2023-10-04 23:11:38 +02:00
Chandler Cox
b586b5fe41 Ensure editor font is sent as something. 2023-10-04 15:57:28 -05:00
Wojtek Figat
d1c0900ad7 Fix potential error when loading Guid from Json 2023-10-04 22:38:06 +02:00
Wojtek Figat
92f677f238 Codestyle formatting #1522 2023-10-04 22:25:27 +02:00