Commit Graph
29 Commits
Author SHA1 Message Date
b-guild deca3f7ad7 impl Display and impl Error for various errors 2025-10-23 11:10:48 -07:00
Dmitry Stepanov ef39d2aada updated msrv 2025-10-22 20:27:20 +03:00
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 0fa623f444 pass ui handle in Plugin::on_ui_message 2025-09-26 22:45:44 +03:00
Dmitry Stepanov 669b38dd9c updated deps
- attempt to fix hot reloading
2025-09-18 20:30:50 +03:00
Dmitry 308820c944 added flake.nix for generated projects 2025-09-13 17:09:25 +03:00
Dmitry Stepanov a6e506650a fixed warning on android project template
- mostly temporary stub to fix the CI
2025-08-29 22:46:35 +03:00
Dmitry Stepanov c1f1200efc moved set_panic_hook to engine initialization for wasm builds 2025-08-26 22:01:26 +03:00
Dmitry Stepanov 0e3bd07c38 1.0.0-rc.1 2025-05-29 18:58:18 +03:00
Dmitry Stepanov dbd5f12c76 fixed project template compilation 2025-05-17 10:26:27 +03:00
Dmitry Stepanov 10a4dc048b use trait upcasting and remove as_any for ResourceData
- bumped msrv to 1.86
2025-04-06 18:56:17 +03:00
b-guild b4daa99720 Conditional compilation for wasm and android in template 2025-03-30 17:33:19 -07:00
Dmitry Stepanov 0debf3ee48 proper headless mode
- #761
2025-03-27 23:09:15 +03:00
Dmitry Stepanov 960bd24e03 build script for template_core to extract correct package versions
- solves version mismatch once and for all
2025-02-27 19:09:49 +03:00
Dmitry Stepanov cc17cbdc3d 0.36.2 + yanked 0.36.1 2025-02-27 10:52:15 +03:00
Dmitry Stepanov e1a615dd0e 0.36.1 2025-02-25 23:57:54 +03:00
septante 5235d9e6ec style(template): remove whitespace from generated template files 2025-02-18 09:54:20 +00:00
Dmitry Stepanov c0ca0f3612 better project name validation 2025-02-07 15:04:58 +03:00
Dmitry Stepanov 54b5338bff replace hardcoded version of the engine with the one from Cargo.toml
- this is semi-reliable solution, but much better than having hardcoded version
- this still requires a CI script that will check that all crates in the engine have the same version
2025-01-05 22:54:16 +03:00
Dmitry Stepanov 25e545233e use unified version in project template generator 2024-12-26 22:38:57 +03:00
Dmitry Stepanov daa02c76fe set all engine crates to version 0.36 2024-12-26 22:34:42 +03:00
Dmitry Stepanov f734c2a4b7 disable log file by default + explicit api to change log file
- log file could be undesirable in some cases and now it is off by default and can be enabled by `Log::set_file_name/set_file` in `fn main`
- bumped MSRV to 1.80 and to use LazyLock
2024-12-23 14:36:57 +03:00
Dmitry Stepanov e78b7d35c8 ability to select engine version for a project in the project manager 2024-12-10 22:15:17 +03:00
Vlad2001MFS 13a130828a fix wasm tests fails due to using of the deprecated PanicInfo 2024-10-18 17:26:27 +03:00
Hamir Mahal 8e3445c742 style: simplify string formatting for readability (#686)
* style: simplify string formatting for readability

* fix: formatting in 15 files
2024-10-13 23:48:48 +03:00
Dmitry Stepanov bc7434c089 license update 2024-08-11 11:45:33 +03:00
Dmitry Stepanov bb0783fc85 ability to specify project root dir for template-core 2024-06-03 18:16:39 +03:00
Dmitry Stepanov 905f04886e use result instead of panic in template-core 2024-06-03 18:07:44 +03:00
Dmitry Stepanov b53a83fc00 split fyrox-template into lib + cli
- lib can be used in the project manager
2024-06-03 17:50:28 +03:00