v0.4.2-alpha
This release introduces several updates to the project, including dependency additions, new functionality, and enhancements to window management and game mechanics. The most important changes are grouped into three themes: dependency and version updates, new features, and adjustments to game logic and window behavior.
Dependency and Version Updates:
- Updated the project version in
package.json,Cargo.toml, andtauri.conf.jsonto0.4.2. [1] [2] [3] - Added the
@tauri-apps/plugin-shelldependency inpackage.jsonand thetauri-plugin-shelldependency inCargo.toml. [1] [2]
New Features:
- Added an
encrypt_filefunction insrc-tauri/src/lib.rsfor XOR-based file encryption. - Introduced a new configuration option
screenMultiplierinOptionsto dynamically adjust game settings based on screen resolution.
Adjustments to Game Logic and Window Behavior:
- Updated the
shrinkWindowand_gameOvermethods inGameUtilsto usescreenMultiplierfor scaling window size and positioning dynamically. [1] [2] [3] - Adjusted enemy spawn radius in
GameUtilsto scale withscreenMultiplier. - Modified the startup logic in
src/main.jsto calculate and apply a screen-based multiplier for window size and position adjustments.
These changes improve the application's adaptability to different screen resolutions, enhance functionality with new features, and ensure consistency across dependencies and versions.