Commit Graph

2223 Commits

Author SHA1 Message Date
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
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
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
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
Chandler Cox
b586b5fe41 Ensure editor font is sent as something. 2023-10-04 15:57:28 -05:00
Wojtek Figat
92f677f238 Codestyle formatting #1522 2023-10-04 22:25:27 +02:00
Wojtek Figat
2e6fa8fc25 Merge branch 'Visject-ContextSensitiveNodes' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ContextSensitiveNodes 2023-10-04 22:15:31 +02:00
Wojtek Figat
f2a3338dce Improve #859 2023-10-04 19:58:10 +02:00
Wojtek Figat
8811c9cda0 Merge branch 'game-window-focus-issue' of https://github.com/Tryibion/FlaxEngine into Tryibion-game-window-focus-issue 2023-10-04 19:02:18 +02:00
Wojtek Figat
bd14790628 Merge branch 'pugixml_extra' of https://github.com/Arcnor/FlaxEngine into Arcnor-pugixml_extra 2023-10-04 17:36:55 +02:00
Wojtek Figat
f1d57e47cb Fix regression in some context menus on Windows due to recent changes to windows showing after first paint 2023-10-04 17:34:14 +02:00
Edu Garcia
f1600b3014 Move custom pugixml changes to pugixml_extra 2023-10-04 13:14:06 +01:00
Wojtek Figat
569a8eb538 Merge branch 'game-set-open' of https://github.com/Tryibion/FlaxEngine into Tryibion-game-set-open 2023-10-04 13:35:21 +02:00
Wojtek Figat
d2531273e6 Merge branch 'master' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-master 2023-10-04 13:33:10 +02:00
Wojtek Figat
46353365da Fix missing debug shapes drawing when skeleton node gets selected
#1220
2023-10-04 10:24:36 +02:00
Chandler Cox
c6bd989744 Add Game Settings open button to menu. 2023-10-03 22:47:13 -05:00
Wojtek Figat
4e83a0a757 Fix potential exception in drag and drop handling 2023-10-03 22:20:44 +02:00
nothingTVatYT
78b074e7da Fix segfault: target can be null when font size is changed 2023-10-03 01:14:35 +02:00
Wojtek Figat
dd66ee3521 Add using text Show in Finder on macOS in Editor 2023-10-02 13:26:26 +02:00
Wojtek Figat
5fe135e10b Fix updating Content folder name when renamed in Finder on macOS 2023-10-02 13:11:20 +02:00
Wojtek Figat
8a9d0271a3 Add ignoring ’.DS_Store’ files in Content on macOS 2023-10-02 13:04:21 +02:00
Wojtek Figat
ae654c2f0a Merge branch 'better-missing-script-handling' of https://github.com/RedTheKitsune/FlaxEngine into RedTheKitsune-better-missing-script-handling 2023-10-01 21:07:34 +02:00
Wojtek Figat
2db55a3711 Merge branch 'Remove-Background_From-CollisionDataWindow' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-Remove-Background_From-CollisionDataWindow 2023-10-01 12:35:22 +02:00
Wojtek Figat
883abc2f3b Merge branch 'base-win-size' of https://github.com/Tryibion/FlaxEngine into Tryibion-base-win-size 2023-10-01 12:30:14 +02:00
Wojtek Figat
19a0eab966 Merge branch 'sceneanim_null_check_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sceneanim_null_check_fix 2023-10-01 12:12:21 +02:00
Wojtek Figat
26040f27cc Merge branch 'renameNewActor' of https://github.com/Arcnor/FlaxEngine into Arcnor-renameNewActor 2023-10-01 12:08:01 +02:00
Wojtek Figat
5e3bb4d51e Merge branch 'font-size-fixes' of https://github.com/Tryibion/FlaxEngine into Tryibion-font-size-fixes 2023-10-01 12:05:20 +02:00
Wojtek Figat
4d6a27c92a Merge branch 'Statusbar-Imrpovements' of https://github.com/davevanegdom/FlaxEngine into davevanegdom-Statusbar-Imrpovements 2023-10-01 12:01:31 +02:00
Wojtek Figat
a761a7e857 Merge branch 'master' of https://github.com/M-3-H/FlaxEngine into M-3-H-master 2023-10-01 12:00:40 +02:00
Wojtek Figat
c35a21a1dc Merge branch 'Visject-PrettierConnectionBezier' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-PrettierConnectionBezier 2023-10-01 11:57:08 +02:00
Wojtek Figat
3a85b27cbe Merge branch 'bool-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-bool-fix 2023-10-01 11:36:21 +02:00
Chandler Cox
bae1cfbc8a Change base editor window size to 75% of desktop size when restored for first time. 2023-09-30 17:35:42 -05:00
Nils Hausfeld
07d13f0144 - Implemented very basic support for method override nodes
- Cleanup
2023-09-30 23:06:26 +02:00
Nils Hausfeld
aca6d7110d - Cleanup and comments 2023-09-30 20:27:51 +02:00
Nils Hausfeld
2e09c4fb63 - Made visject items a tiny tiny tiny bit taller 2023-09-30 20:22:49 +02:00
Nils Hausfeld
1dc01cd023 - Added compatibility checks to packing structures nodes
- Added compatibility checks to more function nodes
2023-09-30 20:07:33 +02:00
Nils Hausfeld
719efc4a99 - Added Input/Output compatibility check to event based nodes
- Removed a huge chunk of compatibility checking code out of CMItem
2023-09-30 13:45:21 +02:00
Nils Hausfeld
35f641955b - Removed NodeTypeHint
- Added delegates to check compatiblity with custom archetypes
- Added compatibility check to InvokeMethod archetype
2023-09-30 13:20:04 +02:00
Nils Hausfeld
3befe4bb4a - Fixed a bug where items with a string match didn't get highlighted anymore when the group name matched
- Remouved double filtering when group name matched
- Started fixing asynchronous Un/Packing nodes filtering
2023-09-29 21:53:34 +02:00
Nils Hausfeld
b5dc916568 - Moved ScriptType casting check from Box to ScriptType class
- Even more cleanup and comments, wowzers
2023-09-29 17:44:31 +02:00
Nils Hausfeld
091d34b20d - Even more cleanup and comments 2023-09-29 17:26:56 +02:00
Nils Hausfeld
4bf46c3af3 - More cleanup and comments 2023-09-29 17:19:38 +02:00