- Update deps (fix tilemap bug)
- Update deps (fix controller bug)
- You MUST pick either the
pixels
orsoftbuffer
feature now- Previously this was using pixels only, so set to
pixels
and everything should work the exact same
- Previously this was using pixels only, so set to
- Add support for
softbuffer
- Remove exact dep versions
- Add
set_mouse_cursor()
for TextField - Add
&Window
as last param onupdate()
methods - Update deps
- Draw submenus on the left if there's not enough room on the right
- Update deps
- BREAKING
- Change scenes param from
&[KeyCode]
to&FxHashSet<KeyCode>
- Remove view styles from dialog style
- Clicking a toggle button in a group will now automatically select it and unselect the others
- Change scenes param from
- Add
Checkbox
view - Add new options to
layout!
[left|right|centerh]_to_[left|right|centerh]_of
[top|bottom|centerv]_to_[top|bottom|centerv]_of
align_centerv
,align_centerh
- Add
MenuBar::uncheck_all_children
- Add feature
copypaste
which adds copying and pasting toTextField
s
- BREAKING
- Rename
UiElement
toPixelView
- Rename
ElementState
toViewState
- Rename
- Add
MenuBar
view andMenuBarStyle
- Update buffer lib
- Add
id
method toScene
- Allow the text field cursor to be set using the mouse
- Also fix bug where programmatically changing the contents could leave the field in an invalid state
- Update buffer lib
- Update buffer lib
- Add forwarding features
embedded
andnotosans
- Add forwarding features
- Add
layout!
macro to positioning views - Fix crash when creating window bigger than monitor
- Buttons now wrap text by default
- Add pre and post render and update for scenes
- Update game utils lib
- Update buffer lib
- Change
System
to useMouseData
- Update buffer lib
- Add
scenes
feature
- Update buffer lib
- Add
MouseButton::Middle
- Fix bug where
Scene::on_mouse_down
andSystem::on_mouse_down
were called continuously - Add
Scene::on_mouse_drag
andScene::on_mouse_click
- Fix serde feature
- Add
mint
feature - Change
Scene
andUiElement
to useMouseData
to track position and button state
- Update buffer lib
- Fix prelude/imports
- Add
images
feature - Update buffer lib
- Remove shapes lib dep
- Add
controller_xinput
feature - Remove
controller
from default feature
- Fix bug where
on_key_down
andon_key_up
were called every loop
- Fix controller support
- Update game_util libs
- Add controller to
Scene::update
andScene::render
whencontroller
feature is enabled - Change
held_keys
to&[KeyCode]
- Update buffer and game_util libs
- Extract prefs to
simple-game-utils
- Add function keys to
ALL
- Make file dialogs optional
- Add version to
WindowPreferences
- Update buffer and shapes libs
- Update buffer and shapes libs
- Update buffer lib
- Update game utils lib
- Extract
Timing
andTimer
tosimple-game-utils
- Expose
KeyCode
from winit
- Update winit to 0.29.4
- They have redesigned the keyboard handling
- Please see their changelog for more info
- Most relevant is that
VirtualKeyCode
is nowKeyCode
and some of the keys have names (such asReturn
toEnter
)
- They have redesigned the keyboard handling
- Renamed
action_keys
tokeys_used
and set to all by default
- Update buffer lib to 0.12.0
- Add
column_layout
androw_layout
macros - Add
NAVIGATION
key set - Add navigation to scenes keys
- Update pixels (and wgpu)
- Add
unfocus
andswap_focus
macros for text fields - Add
Sentence
andRaw
filters for text fields
- Fix issue where shift was ignored for text fields
- Add
Timer
- Change
action_keys
to return a reference
- Add
set_position
toUiElement
and all views - Add
ColumnLayout
andRowLayout
which can position a collection of views into columns or rows
- Update buffer/ici-files
- Update buffer/ici-files
- Update to graphics-shapes 0.2.1
- Adding Ellipse
- Update to graphics-shapes 0.2.0
- Adding intersects and contains check
- Removing Ellipse
- Update to buffer-graphics-lib 0.11.0
- Adding clipping
- Add
mouse_xy
toon_key_up
,on_key_down
forScene
- Use exact version of winit_input_helper to add horz scrolling
- Add horz scrolling
- Update buffer lib
- Update buffer lib
- Update buffer lib
- Update buffer lib
- Update buffer lib
- Update buffer lib
- Update buffer lib
- Swap x and y parameters on scroll
- Add
on_key_down()
andon_key_up()
toScene
- Add mouse button to
Scene
on_mouse_down()
andon_mouse_up()
- Remove
on_key_press
as it's the same ason_key_up()
- Add more docs
- Update buffer lib
- Update pixels dep
- update API to eventually support horizontal mouse scrolling, for now x scroll will always be 0
- Update winit
- Fix OK button positioning in alerts
- Add icon buttons, toggle icon buttons, tooltips
- Add delete key to TYPING
- Add cursor movement and text scrolling to text field
- Add min and max width to text field
- Add groups for toggle buttons and toggle icon buttons
- Add disabled and error state for all UI elements
- Add style to toggle button
- Fix bug in load dialog UI
- Update buffer dep (adds IndexedImage)
- Update buffer graphics lib
- Add UI
- Add scenes
- Add dialogs
- Update buffer graphics lib
- Added option for vsync
- Update buffer graphics lib
- Update buffer graphics lib
- Update shapes lib
- Add prelude
- Update buffer graphics lib
- Update shapes lib
- Unlocks frame rate
- Replace
delta
inupdate()
withTiming
that provides more info - Fix when update and render are called to achieve more consistent update/render rates
- Use
fixed_time_step
instead ofdelta
now generally
- Use
- Update buffer graphics lib
- Update buffer graphics lib
- Update buffer graphics lib
- Update buffer graphics lib
- Update buffer graphics lib
- Update buffer graphics and pixels
- Update buffer graphics lib (adding Ellipse)
- Add on_key_pressed for System
- Add VirtualKeyCode collections
- Add
run
method that handles setting up and running winit
- Update dev deps and examples
- Add methods to clear or delete window preferences
- Move buffer graphics dep to dev-deps as it's not needed any more
- Extract all drawing code to a separate lib Buffer graphics
- There's a few minor difference now:
setup()
now returns(Window, Pixels)
- On every frame create
Graphics
and use that to draw - All drawing methods are the same
- This was done so the graphics can be done without Pixels or to support double buffering, etc
- There's a few minor difference now:
- Update dependencies:
pixels
to0.8.0
winit
to0.27.2
winit_input_helper
to0.13.0
image
to0.24.3
- Text now uses
TextPos::Px
andTextPos::Coord
for positioning instead of multiple methods - You may need to run
cargo update -p raw-window-handle@0.4
- Most of the drawing methods (
draw_rect
,draw_circle
, etc) now supportisize
,usize
,i32
,u32
,i64
,u64
,f32
andf64
, these are converted usingas isize
- Add half() and double() methods for Point and UPoint
- Add neg() for Point
- Add set_translate, get_translate and update_translate commands for PixelWrapper
- BREAKING CHANGES:
- Point renamed to UPoint
- Vec2 renamed to Point
- setup() now takes an amount to scale by rather than a bool
- Windows will now start with provided size and in the middle of the screen
- Add two features:
- Image wrapper - this is used to load pngs, etc into
Image
s using the Image crate - Window prefs - provides functions to save and restore window positions
- Image wrapper - this is used to load pngs, etc into
- Add examples
- Changes
PixelWrapper
to useisize
instead ofusize
generally
- Add draw_circle and draw_circle_filled
- Initial Release