LuoZheng2002
7ec002f00c
Renamed pool method typed_ref to try_get ( #846 )
...
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.
* renamed pool's typed_ref to try_get
* renamed try_get to try_get_node in BaseSceneGraph
* deleted try_get_mut from impl Graph, and replaced all occurrences with try_get_node_mut
* renamed typed_ref in SceneGraph to try_get
* added graph::prelude which contains AbstractSceneGraph, BaseSceneGraph and SceneGraph traits; added use graph::prelude::* in the script template to expose try_get functionalities.
* resolved merge issues
* formatted code
* added use fyrox::graph::prelude::* to template game/src/lib.rs to expose UserInterface's try_get functionality
* added "#[allow(unused_imports)]" on game template and script template
2025-10-01 20:54:17 +03:00
Dmitry Stepanov
34f60ecc3b
do not alter already loaded resource state when reloading it
...
- if an error ocurred when reloading a resource, the previous state remain intact allowing to fix an error and retry to reload
- show error messages that happens during (re)loading
2025-10-01 17:57:29 +03:00
Dmitry Stepanov
f8e3d2577b
configurable render mode for ui
2025-09-30 19:28:57 +03:00
Dmitry Stepanov
45ac310b34
fixed selection button being clipped on material property editor
...
- fixes #847
2025-09-30 14:33:32 +03:00
LuoZheng2002
d48276b837
fixed the ObjectOrVariantHelper implementation for UiNode variants ( #848 )
2025-09-30 14:14:32 +03:00
LuoZheng2002
32b131a896
added pure color texture ( #845 )
2025-09-30 14:13:57 +03:00
b-guild
7a71aa9bb5
Correcting InheritableVariable::visit and physics integration parameters dt ( #844 )
2025-09-30 14:13:02 +03:00
Dmitry Stepanov
dadf078092
Merge remote-tracking branch 'origin/ui_rendering_api'
2025-09-30 14:12:09 +03:00
Dmitry Stepanov
2b382a9179
docs + fixed warnings
2025-09-30 10:57:41 +03:00
Dmitry Stepanov
16cd27dd76
added srgba8/srgb8 texture formats
2025-09-30 10:57:23 +03:00
Dmitry
ad78773d3b
ui rendering api improvements (draft)
2025-09-29 17:50:03 +03:00
LuoZheng2002 and Dmitry
e0e8218a72
Replaced the BorrowAs trait with ObjectOrVariant trait. ( #841 )
...
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.
* fixed tests
* fixed restore_integrity test
- it was failing spontaneously due do conflicting resource registries from two tests
* fixed clippy warnings
* install rustfmt + clippy on a CI machine before running the tests
* fixed confusing documentation about batching
* updated changelog
* changelog fixes
* ability to set runs via respective message
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.
* removed unused imports
* satisfied cargo doc
---------
Co-authored-by: Dmitry <[email protected] >
2025-09-29 00:30:48 +03:00
Dmitry
392497cc56
ability to set runs via respective message
2025-09-28 16:32:12 +03:00
Dmitry
fb3bceb95d
changelog fixes
2025-09-28 12:05:13 +03:00
Dmitry
7bf9f37052
updated changelog
2025-09-28 12:04:27 +03:00
Dmitry
a3880e83a2
fixed confusing documentation about batching
2025-09-27 20:53:10 +03:00
Dmitry
4ae7100e4a
install rustfmt + clippy on a CI machine before running the tests
2025-09-27 18:50:12 +03:00
Dmitry
db63c92b0f
fixed clippy warnings
2025-09-27 12:09:08 +03:00
Dmitry
f3863812b6
fixed restore_integrity test
...
- it was failing spontaneously due do conflicting resource registries from two tests
2025-09-27 12:00:01 +03:00
Dmitry
0ab35433fc
fixed tests
2025-09-27 11:51:03 +03:00
Dmitry
0fa623f444
pass ui handle in Plugin::on_ui_message
2025-09-26 22:45:44 +03:00
Dmitry Stepanov
58d9e8ee44
fixed warnings
2025-09-25 21:30:27 +03:00
Dmitry Stepanov
0bff2b1d81
docs for visit trait
2025-09-25 19:37:42 +03:00
Dmitry Stepanov
8b7d15ac56
improved docs for reflect trait
2025-09-25 19:22:12 +03:00
Dmitry Stepanov
d65d816471
more styled property editor improvements
...
- ok/cancel buttons
- bring selected item into view
2025-09-24 22:19:11 +03:00
Dmitry Stepanov
e73bb9492c
styled property editor improvements
2025-09-24 22:07:41 +03:00
Dmitry Stepanov
3de45473ff
removed unused code
2025-09-24 21:06:08 +03:00
Dmitry Stepanov
976d5440ea
improved docs for progress bar
2025-09-23 21:17:01 +03:00
Dmitry Stepanov
32e2eebb1f
docking manager docs
2025-09-22 21:02:55 +03:00
Dmitry Stepanov
ef83a2840c
fixed misleading docs
2025-09-22 18:45:39 +03:00
Dmitry Stepanov
416fcabf31
named constants for mouse buttons + helper methods for mouse input
2025-09-21 13:51:11 +03:00
Dmitry Stepanov
09cec6418b
added ability to check for pressed/released mouse buttons
2025-09-21 11:50:30 +03:00
Dmitry Stepanov
06d9b2ec7f
fixed uuid_provider macro
2025-09-20 12:18:42 +03:00
Dmitry Stepanov
e666dfd8a0
property editor for char + editors for mask char in formatted text
2025-09-20 12:09:15 +03:00
Dmitry Stepanov
72402d357a
property editors for Run + RunSet
2025-09-20 10:56:59 +03:00
Dmitry Stepanov
7c4b80bd8e
added TypeUuidProvider impl for VectorN types
2025-09-20 10:56:34 +03:00
Dmitry Stepanov
269fb0d322
- fixed wasm compilation
...
- rollback to rand 0.8, because fuck the devs of this library who constantly invent ways to screw up someone's project
2025-09-18 22:33:35 +03:00
Dmitry Stepanov
beff11c872
fixed compilation in hot reloading mode
...
- #839
2025-09-18 21:34:18 +03:00
Dmitry Stepanov
669b38dd9c
updated deps
...
- attempt to fix hot reloading
2025-09-18 20:30:50 +03:00
Dmitry Stepanov
f8e88df8ea
docs fixes
2025-09-17 23:27:28 +03:00
Dmitry Stepanov
5ab74626d0
ability to flip Rectangle node
...
- #838
2025-09-17 23:16:43 +03:00
Dmitry Stepanov
0ca6ec1535
show id of materials/surfaces in the editor
2025-09-17 22:27:30 +03:00
Dmitry Stepanov
2ce3d0eb55
cargo fmt
2025-09-17 20:57:36 +03:00
Dmitry Stepanov
f249b0ef3b
fixed sprite node docs
2025-09-17 20:30:41 +03:00
Dmitry Stepanov
aa317efb5d
fixed sprite flipping issues + added ability to flip x/y
...
- fixed incorrect sprite size if used arbitrary uv rect
- #838
2025-09-17 19:26:20 +03:00
Dmitry Stepanov
b2ecaafe79
prevent consecutive keypress events interfere with pressed/released keys
2025-09-17 17:33:32 +03:00
Dmitry Stepanov
d2375e35db
added is_key_pressed + is_key_released to InputState
2025-09-16 21:35:46 +03:00
Dmitry Stepanov
18318d0256
pass input state to script contexts
2025-09-16 20:34:05 +03:00
Dmitry Stepanov
32db5908c2
simplified way of getting input state
2025-09-15 23:27:40 +03:00
Dmitry
0496949945
fixed asset outline
2025-09-14 12:27:20 +03:00