Releases: AryanpurTech/BlueEngine
New Update! 0.5.21
New Update
[0.5.21] - 2024-11-09
Two new rotation methods have been added, deprecating the previous method:
Object::set_rotatation
is deprecated (yes I just realized the typo)Object::set_rotation
now statically sets a rotation, does not keep moving the objectObject::rotate
now dynamically rotates the object every time it's called, similar to translation.RotateAmount
is a new enum that lets you define the rotation amount in Radians or Degrees (previously only degrees)
Full Changelog: v0.5.20...v0.5.21
New Update!
v0.5.19
What's Changed
- possible fix to #77 by @ElhamAryanpur in #79
- increased indices from u16 to u32 by @ElhamAryanpur in #80
Full Changelog: v0.5.16...v0.5.19
New Update! 0.5.16
What's Changed
- feat: new functions:
object.set_visibility
,object.shader_builder.set_shader
,window.set_fullscreen_exclusive
,window.set_fullscreen_borderless
, andrenderer.set_clear_color
- Added window functions that goes to effect during update_loop initialization (4061da7)
- More sane setter functions (1913327)
- Fix: #68 - updated dependencies to latest version (f13bcf8)
BREAKING CHANGES
object.flag_as_changed
now accepts a boolean to set flagengine.window
is now internallyOption<winit::Window>
which is NOT AVAILABLE BEFORE UPDATE_LOOP. Thank winit v0.30 for this that doesn't let initialization before running at all. I fixed this and previous api compatibility by adding the function calls that store the state separately and then executes them on window as soon as it is initialized. Hence you can continue to use your window before update_loop (albeit not everything is available).
Full Changelog: 0.5.15...v0.5.16
new update! 0.5.15
What's Changed
- feat: Objects now return reference for chained setters in #67
Full Changelog: 0.5.14...0.5.15
BREAKING CHANGE: set_color
and set_render_order
now returns &mut Object
and not a result
new update! 0.5.14
Actually fixed surface creation issue
the surface was being created twice, hence the errors on the surface already existing but attempting to recreate. This is due to the winit's Resumed
event being a requirement for some platforms and in those platforms the surface isn't created until then. So now it checks if a surface exist at all and then create one if there is none.
Debloat
There was a lot of fields and methods that was not used or duplicated. They're all cleansed now. An example was setting color had two duplicate fields set_color
and set_uniform_color
which now theres only set_color
. Also removed the scale
field from the objects as it was not used anywhere.
Camera. lots of them.
Now the engine supports multiple cameras. They all exist in the CameraContainer that replaced the Camera field. Your code should not be broken as all operations are now given to "main"
camera. You can create new cameras and assign them to different objects to manipulate their displays.
Cutting edge dependencies
Everything on Blue Engine and the utilities crate have been updated to the most recent version! (except winit. winit have been naughty).
Enjoy!
new update!
old hardware support
This is a small update that adds some settings in WindowDescriptor
(such as limits) and updates on internal code that allows the engine to run on very old hardware. More information can be found on bottom section of docs.rs
new update! 0.5.10
new update! 0.5.7
[0.5.7] - 2024-02-17
Bug Fixes
- Surface error for non zero size on windows (8426db3)
Features
- Added
control_flow
,present_mode
,alpha_mode
, anddesired_maximum_frame_latency
options (60513a5) - Fixed scissor bounds bug, added examples (9a89185)
- Added scissor and clear color finally (ee77156)
Miscellaneous Tasks
- Clear color example and updates (6e2f434)
new update!
New version 0.5.1!
Updated wgpu and winit to latest version, and updated texture settings requiring &'static str
to StringBuffer