Nicholas Rishel
ce1d16d90d
Add Android instructions to example README ( #775 )
...
Bonus: Fixed iOS formatted text by adding preceding newline.
2020-11-02 22:54:08 -08:00
Carter Anderson
66f2f76a18
rename add_plugin_group to add_plugins ( #773 )
2020-11-02 19:01:17 -08:00
Nathan Stocks
9871e7e24b
Remove add_default_plugins and add MinimalPlugins for simple "headless" scenarios ( #767 )
...
Remove add_default_plugins and add MinimalPlugins for simple "headless" scenarios
2020-11-02 18:38:37 -08:00
Nicholas Rishel
53c4c45eca
Use embedded glslang for runtime glsl-to-spirv and add Android example ( #740 )
...
Use embedded glslang for runtime glsl-to-spirv and add Android example
2020-11-02 16:30:30 -08:00
Julian Heinken
f81ecddafc
Example for custom mesh attributes ( #757 )
...
example for custom attributes + changelog
2020-11-02 13:47:05 -08:00
Carter Anderson
44b3e24e32
fix mesh allocation bug and public mesh api improvements ( #768 )
2020-11-02 13:15:07 -08:00
Alec Deason
5cd67f7867
Change the ecs_guide example so it doesn't make it seem like startup systems have to be thread local ( #759 )
2020-11-01 14:32:48 -08:00
simlay
9cc6368b28
An initial xcode setup for using xcode ( #539 )
...
An example of bevy using xcode
2020-10-31 14:36:24 -07:00
Alec Deason
ef86ce98ed
Make event example use a local resource ( #754 )
...
Make EventListenerState a local resource
2020-10-31 00:12:56 -07:00
Carter Anderson
ad940fbf6e
Rename query.entity() to query.get() and query.get() to query.get_component() ( #752 )
2020-10-30 18:04:33 -07:00
Carter Anderson
1d4a95db62
ecs: ergonomic query.iter(), remove locks, add QuerySets ( #741 )
2020-10-29 23:39:55 -07:00
Utkarsh
fb2b19def5
Fix bug of connection event of gamepad at startup ( #730 )
...
* Removed f32==f32 comparision in gamepad.rs
* Trigger gamepad connection event at start up
2020-10-29 13:55:35 -07:00
Carter Anderson
bf2a917b81
app: PluginGroups and DefaultPlugins ( #744 )
2020-10-29 13:04:28 -07:00
Carter Anderson
267599e577
gamepad: expose raw and filtered gamepad events. ( #711 )
2020-10-21 15:56:07 -07:00
Utkarsh
d01ba9e4fc
Separate gamepad state code from gamepad event code and other customizations ( #700 )
...
Separated gamepad event and gamepad state code and made gamepad input more customizable
2020-10-21 10:27:00 -07:00
Dashiell Elliott
0dbba3efff
Migrate to rodio 0.12 using thread local resources ( #692 )
...
Migrate to rodio 0.12 using thread local resources
2020-10-20 11:44:50 -07:00
Carter Anderson
f88cfabdde
asset: WasmAssetIo ( #703 )
...
asset: WasmAssetIo
2020-10-19 17:29:31 -07:00
Carter Anderson
c32e637384
Asset system rework and GLTF scene loading ( #693 )
2020-10-18 13:48:15 -07:00
Carter Anderson
a602f50c2c
small input example improvements ( #701 )
2020-10-18 13:20:42 -07:00
Marek Legris
5acebed731
Transform and GlobalTransform are now Similarities ( #596 )
...
Transform and GlobalTransform are now Similarities.
This resolves precision errors and simplifies the api
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-10-18 13:03:16 -07:00
Sergey Minakov
a80469bd13
Touch support implementation ( #696 )
...
Adds a basic touch input system
2020-10-18 12:24:01 -07:00
Alex
d004bce0c9
Added basic mouse capture API ( #679 )
...
Added basic cursor lock API
2020-10-16 14:07:01 -07:00
David Ackerman
7ba45849f3
Add default for texture format ( #675 )
2020-10-16 11:44:31 -07:00
Fuyang Liu
9db8ae7a16
Fix breakout example bug - ball flying out when collide paddle and wall at the same time ( #685 )
...
Fix breakout bug - ball flying out when collide paddle and wall
2020-10-15 14:23:03 -07:00
Utkarsh
dd91f8e116
Add support to get gamepad button/trigger values using Axis<GamepadButton> ( #683 )
2020-10-15 12:45:34 -07:00
François
76cc25823d
can change window settings at runtime ( #644 )
...
can change window settings at runtime
2020-10-15 11:42:19 -07:00
M
9c48e5cccb
Add a way to specify padding/ margins between sprites in a TextureAtlas. ( #460 )
...
Add a way to specify padding between sprites in a TextureAtlas
2020-10-14 20:49:07 -07:00
Carter Anderson
5e7c36d1c1
Fix example colors ( #672 )
2020-10-12 16:54:22 -07:00
Carter Anderson
6f287fb815
remove custom window mode from example ( #637 )
2020-10-06 13:08:12 -07:00
Zach Gotsch
d61a1735e9
ui/text example: Use a unit component to identify the target Text ( #612 )
2020-10-05 12:07:14 -07:00
Carter Anderson
22a2c88a47
winit: upgrade to 0.23.0 / move back upstream! ( #617 )
2020-10-02 12:24:30 -07:00
jngbsn
8e876463ec
Add hierarchy example ( #565 )
...
add ecs/hierarchy example
2020-10-01 12:43:26 -07:00
Will Hart
1beee4fd28
Add AppBuilder::asset_loader_from_instance ( #580 )
...
* Implement add_asset_loader_from_instance
* Add example of different data loaders
2020-10-01 11:31:06 -07:00
Mariusz Kryński
a3012d94bb
WASM asset loading ( #559 )
...
wasm assets
2020-09-25 15:26:23 -07:00
Carter Anderson
028a22b129
asset: use bevy_tasks in AssetServer ( #550 )
2020-09-21 20:23:09 -07:00
Carter Anderson
ff54efe3e3
transform: add "setter" builder functions, make naming clearer, and fix examples ( #516 )
2020-09-19 13:35:48 -07:00
Tomasz Sterna
5e3731ddce
Create winit canvas under WebAssembly ( #506 )
2020-09-18 20:11:26 -07:00
Utkarsh
19d4694d24
Added gamepad support using Gilrs ( #280 )
...
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-09-18 14:43:47 -07:00
Carter Anderson
70ad6671db
ecs: use generational entity ids and other optimizations ( #504 )
...
ecs: use generational entity ids and other optimizations
2020-09-17 17:16:38 -07:00
Tomasz Sterna
34c6f5f41b
Implement WASM support for bevy_winit ( #503 )
...
Also, replaced wasm_timer::Instant with instant::Instant as it is
used by winit WASM implementation.
2020-09-16 13:40:32 -07:00
memoryruins
f5146c1896
Update headless example / add feature docs ( #502 )
...
* Update headless example
* Add missing docs for features
2020-09-16 13:02:53 -07:00
Carter Anderson
ad7613c674
Fix set_scale and set_rotation in new Transform api ( #500 )
2020-09-16 00:19:14 -07:00
verzuz
d4ab2f4d47
fix font atlas overflow ( #495 )
...
manage font_atlas overflow
2020-09-15 18:06:10 -07:00
Tomasz Sterna
2b0ee24a5d
Implement single threaded task scheduler for WebAssembly ( #496 )
...
* Add hello_wasm example
* Implement single threaded task scheduler for WebAssembly
2020-09-15 18:05:31 -07:00
Carter Anderson
e81111c1b1
simplify transform usage where possible ( #494 )
2020-09-14 18:20:20 -07:00
Smite Rust
b0e64d4295
update async-executor ( #484 )
...
update async-executor
2020-09-14 14:01:41 -07:00
Marek Legris
474bb5403e
Transform Rewrite ( #374 )
...
Remove individual Translation / Rotation / Scale components in favor of a combined Transform component
2020-09-14 14:00:32 -07:00
Max Bruckner
12e0e99900
Fix cargo run command for running examples ( #471 )
2020-09-11 12:19:53 -07:00
Tomasz Sterna
12deb0bd91
Initialize+Run systems when running the app ( #444 )
...
This is required, so Local<> resources get initialized before systems run.
2020-09-10 12:56:37 -07:00
memoryruins
581d85b413
Add parallel_query to the examples readme ( #465 )
2020-09-09 11:39:37 -07:00
Grant Moyer
586303fd53
Parallel queries ( #292 )
...
Add support for Parallel Queries
2020-09-08 12:18:32 -07:00
Sergey Minakov
52ae217b16
Resize mode for Sprite component ( #430 )
...
Adds a 'resize_mode' field for 'Sprite'.
This allows different resize handling based on 'SpriteResizeMode' enum value.
2020-09-08 12:04:22 -07:00
Lachlan Sneff
17e7642611
Task System for Bevy ( #384 )
...
Add bevy_tasks crate to replace rayon
2020-08-29 12:35:41 -07:00
Elias
9aff0bcc2a
Add support for binary glTF (.glb) ( #271 )
...
Add support for binary glTF (.glb)
2020-08-25 16:55:08 -07:00
VitalyR
c78187e6df
add an option about display server protocol, and create document docs/cargo_features.md
( #249 )
...
add an option about display server protocol, and create document `docs/cargo_features.md`
2020-08-24 17:06:08 -07:00
Daniel Jordaan
8b6556c750
Fix unresolved import in window settings example ( #311 )
...
Got an unresolved import of 'bevy_window' with the window settings example. Hopefully this is the correct way to resolve it.
2020-08-23 23:55:06 -07:00
Carter Anderson
b925e22949
0.1.3 upgrade
2020-08-22 10:16:52 -07:00
8bp
68d419d40f
Add repeating flag to Timer ( #165 )
...
Repeating timers will reset themselves upon finishing, carrying over any
excess time during the last tick. This fixes timer drift upon resetting.
2020-08-21 14:57:25 -07:00
Lachlan Sneff
1eca55e571
Replace std synchronization primitives with parking_lot ( #210 )
...
* Replace std::sync::Mutex with parking_lot::Mutex
* Replace std::sync::RwLock with parking_lot::RwLock
2020-08-21 14:55:16 -07:00
Jake Kerr
db1bf6478c
Allow calling winit with the 'run_return' variant of the run function ( #243 )
...
This adds a new WinitConfig resource that can be used to configure the behavior of winit.
When `return_from_run` is set to `true`, `App::run()` will return on `target_os` configurations that
support it.
Closes bevyengine/bevy#167 .
2020-08-20 22:37:19 -07:00
Thirds
505c79b60d
README.md link points to the correct example ( #225 )
...
The 2D Rendering example texture_atlas URL was pointing to the ./2d/sprite_sheet.rs example. This has now been fixed.
2020-08-20 17:29:10 -07:00
Claire C
45312a945a
Basic mouse scroll-wheel event ( #222 )
...
add simple mouse wheel event + example
2020-08-20 17:04:01 -07:00
Carter Anderson
e31f576484
Merge pull request #206 from multun/clippy
...
Add clippy support and fix all warnings / errors
2020-08-19 21:33:28 -07:00
0x22fe
81d30dd42b
Created README for examples
2020-08-17 23:02:59 +00:00
Gab Campbell
cf8bab27a0
unused import
2020-08-16 13:43:42 -07:00
Victor "multun" Collod
c38420f1e9
enforce clippy for all target and features
2020-08-16 07:20:06 -07:00
Victor "multun" Collod
d138647818
enforce cargo fmt --check
2020-08-16 05:02:06 -07:00
Carter Anderson
9569beb613
Merge pull request #188 from BafDyce/168-thread-pool-options
...
Add possibility to control num_threads and stack_size of global thread pool
2020-08-14 12:47:32 -07:00
Fabian Würfl
458a169ad2
Add possibility to control num_threads and stack_size of rayon::ThreadPool
2020-08-14 19:15:53 +02:00
Fabian Würfl
4a119dd0e1
Add info message in UI for scene example
2020-08-14 12:56:39 +02:00
Carter Anderson
95dce3ac72
Merge pull request #154 from OptimisticPeach/master
...
Add Icospheres mesh generation
2020-08-13 19:44:50 -07:00
Wouter Standaert
a738771c93
Add resizable and windowmode options to window creation
2020-08-13 10:47:40 +02:00
OptimisticPeach
86c20eb6df
Add Icospheres.
...
Additionally documents the shapes module.
2020-08-13 00:14:23 -04:00
Carter Anderson
19d2f9c2cd
Merge pull request #144 from BafDyce/fix-comment-keyboard-input-event-example
...
Fix comment in keyboard_input_event example
2020-08-12 18:57:21 -07:00
reidbhuntley
e1d65c652e
Rename collider variable
2020-08-12 17:50:55 -04:00
Fabian Würfl
671862deda
Fix comment in keyboard_input_event example
2020-08-12 18:13:32 +02:00
reidbhuntley
e980b83ce2
Clamp the timestep to stop ball from escaping
2020-08-12 09:13:10 -04:00
reidbhuntley
11748456b6
Cleaned up collision code in breakout
2020-08-11 23:43:27 -04:00
Carter Anderson
3d09459813
add more doc comments and clean up some public exports
2020-08-09 16:13:04 -07:00
Carter Anderson
f963cd41dc
app: rename AppPlugin to Plugin
2020-08-07 20:22:17 -07:00
Carter Anderson
5647a17c8e
update readme
2020-08-06 13:58:13 -07:00
Carter Anderson
e3314ff4dd
re-add scene example
2020-08-03 12:00:00 -07:00
Carter Anderson
07858aa348
scene: fix dynamically loading RenderPipelines scenes
2020-08-02 19:33:27 -07:00
Carter Anderson
3c1494eb64
scene: rename "spawn" to "instance"
2020-08-02 12:57:30 -07:00
Carter Anderson
bb111cbafa
more example cleanup and polish
2020-07-31 17:10:29 -07:00
Carter Anderson
ccf81edd8f
render: add atlas padding support to work around MSAA artifacts, disable MSAA by default
2020-07-30 14:38:13 -07:00
Carter Anderson
54eaa2bdc6
render: easier msaa color attachments and fix multi-window example
2020-07-30 13:20:27 -07:00
Carter Anderson
ca87359c6e
render: add MSAA support
2020-07-29 18:15:15 -07:00
Carter Anderson
a2c1a90695
fix ui in font atlas and breakout examples
2020-07-29 01:16:42 -07:00
Carter Anderson
2929197d9b
render: add RenderPass queries. move ui to its own pass
2020-07-28 20:11:27 -07:00
Carter Anderson
bd8e979de8
ecs: only borrow/iterate archetypes currently used by a given query
2020-07-28 16:37:37 -07:00
Carter Anderson
77f4e60c8c
cleanup import
2020-07-28 14:26:12 -07:00
Carter Anderson
7212b70478
rustfmt changes
2020-07-28 14:24:03 -07:00
Carter Anderson
6dadf34401
add more example comments
2020-07-28 13:45:36 -07:00
Carter Anderson
3d2a4f6c39
ui: combine Click and Hover into Interaction
2020-07-28 01:20:19 -07:00
Carter Anderson
4a8c6c335a
ui: feed computed image size into bevy_ui flex
2020-07-28 00:37:25 -07:00
Carter Anderson
cf9501a50e
ui: feed computed text position into bevy_ui flex
...
and remove TextAlign because it is now redundant
2020-07-27 21:04:04 -07:00
Carter Anderson
1f006c348d
ui: fix examples, flip fix stretch axis incompatibility, ergonomics
2020-07-27 19:13:11 -07:00
Carter Anderson
3d5e7e54f3
ui: create bevy types for flex style
2020-07-27 16:54:36 -07:00
Thomas Herzog
b4c185eb0c
cargo fmt
2020-07-26 21:10:18 +02:00