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
Boiethios
d4c8436457
Add AppBuilder::add_startup_stage_[before/after] ( #505 )
...
Co-authored-by: Boiethios <felix-dev@daudre-vignier.fr>
2020-09-18 13:30:54 -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
memoryruins
1bfc147e7b
Update changelog ( #497 )
...
Update changelog
2020-09-15 16:43:30 -07:00
Tomasz Sterna
b9f549efaa
Make "render" feature optional ( #485 )
2020-09-15 12:20:20 -07:00
Carter Anderson
e81111c1b1
simplify transform usage where possible ( #494 )
2020-09-14 18:20:20 -07:00
Smite Rust
a5259ab45f
update dependencies ( #493 )
2020-09-14 18:12:52 -07:00
figsoda
afe86b4b3a
Provide shell.nix for easier compiling with nix-shell ( #491 )
...
Embed shell.nix into docs/linux_dependencies.md
2020-09-14 14:34:43 -07:00
Ilja Kartašov
b3e339e58a
Fix missing asset info path for synchronous loading ( #486 )
2020-09-14 14:14:54 -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
Logan Magee
3bc5e4cb1e
render: Export specific items outside of prelude ( #473 )
...
It's a preference of some people to not use prelude modules at all in
order to make their imports more explicit. Currently, items like
`Camera3dComponent` are only exported in a prelude module, making an
explicit import look like
`use bevy::prelude::Camera3dComponent`
which feels a bit hackish. This change doesn't remove such components
from the prelude, but just re-exports them at the crate's
(`bevy_render` in this case) root.
2020-09-11 16:23:21 -07:00
Logan Magee
e7d254517e
Load assets from root path when loading directly ( #478 )
2020-09-11 16:22:42 -07:00
Fabian Löschner
5447592c07
Fix handling of nested generics in PropertyTypeRegistration ( #458 ) ( #458 )
2020-09-11 12:37:59 -07:00
Max Bruckner
12e0e99900
Fix cargo run command for running examples ( #471 )
2020-09-11 12:19:53 -07:00
Jonas Matser
3b3b0195bc
Adds profiler_start/stop to parallel_executor ( #474 )
2020-09-11 12:14:36 -07:00
BimDav
4ef18e2608
Resource change tracking ( #388 )
...
* Add mutated tracker on resources and ChangedRes query for added or mutated resources.
* ResMut:::new() now takes a reference to a 'mutated' flag in its archetype.
* Change FetchResource so that get() returns an Option. Systems using Resources will only be called if all fetched Resources are Some(). This is done to implement ChangedRes, which is Some iff the Resource has been changed.
* Add OrRes for a logical or in tuples of Resource queries.
* Separate resource query get() in is_some() and get() methods for clarity
* Remove unneeded unsafe
* Change ResMut::new()
2020-09-10 13:15:02 -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
Smite Rust
a9ce7f4e82
update dependencies ( #470 )
2020-09-10 12:54:24 -07:00
Carter Anderson
9d0abeb014
fix formatting
2020-09-09 18:54:20 -07:00
Carter Anderson
478fb0649a
use upstream ron
2020-09-09 18:51:59 -07:00
Philip Degarmo
612c2552a5
Update multitask dependency to async-executor ( #452 )
...
* Switch from the deprecated `multitask` crate to `async-executor`
* async-executor appears to be essentially multitask 0.3
* use block_on in futures_lite instead of pollster because futures_lite is already in the dependency list of async-executor
2020-09-09 13:12:50 -07:00
Nolan Darilek
ca4a2114a8
Add pkg-config as a Ubuntu 20.04 dependency. ( #463 )
...
This may need to be added for all Linux distros, but I'm testing in WSL2, and Ubuntu 20.04 was all I had.
2020-09-09 12:38:24 -07:00
memoryruins
581d85b413
Add parallel_query to the examples readme ( #465 )
2020-09-09 11:39:37 -07:00
Cory Forsstrom
2667c24656
custom rodio source for audio ( #145 )
...
support custom rodio source for audio
2020-09-08 13:56:45 -07:00
Carter Anderson
9c850057c0
move benches to separate crate to cut test/example build times
2020-09-08 13:30:44 -07:00
Carter Anderson
ac117019e2
resolve unused variable warning in release builds
2020-09-08 13:29:55 -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
Logan Magee
69aa9bf9fd
Recommend .cargo/config.toml
over .cargo/config
( #459 )
...
As of Rust version 1.39.0, `config.toml` is the preferred filename for
`cargo`s configuration file. Incidentally added a newline at EOF.
https://doc.rust-lang.org/cargo/reference/config.html
2020-09-07 18:32:08 -07:00
Carter Anderson
413caae7bb
resolve errors from latest clippy version
2020-09-07 15:00:03 -07:00
Boxy
d86fae8147
Update docs for Updated, Changed and Mutated ( #451 )
...
Update docs for Updated, Changed and Mutated
2020-09-07 13:52:03 -07:00
Jeremiah Senkpiel
54e9f446c4
SceneSpawner: add unload() and unload_sync() ( #339 )
...
This allows you to unload scenes.
Refs: https://github.com/bevyengine/bevy/issues/255
2020-09-06 13:06:21 -07:00
Aevyrie
6e460a6a97
Add Copy to MouseScrollUnit ( #270 )
...
add Copy to MouseScrollUnit
2020-09-06 12:56:09 -07:00
Tristan Pemble
43463a7a06
Optimize transform systems to only run on change ( #417 )
...
Optimize transform systems to only run on change
2020-09-06 12:53:14 -07:00
Philip Degarmo
9eba19c8f0
Fix for bug #449 ( #450 )
...
Fix for a bug (#449 ) in scheduler that could result in systems running concurrently when they shouldn't.
2020-09-06 12:07:34 -07:00
Philip Degarmo
8b3553002d
Reworked parallel executor to not block ( #437 )
...
Reworked parallel executor to not block
2020-09-05 22:05:33 -07:00
Philip Degarmo
8677e36681
Replace some println spam in a test with an assertion ( #439 )
2020-09-05 21:46:23 -07:00
memoryruins
972897690b
Create CHANGELOG.md and add all unreleased changes since 0.1.3
( #443 )
2020-09-05 21:45:31 -07:00
Hugo Lindsay
5f1fef333c
Speed up fast compiles config ( #433 )
...
optionally make "fast build" config 40% faster on mac by removing some debug info
2020-09-04 14:09:20 -07:00
Carter Anderson
5288ec9859
Revert "test github branch policy"
...
This reverts commit 73f0b8e5f9
.
2020-09-03 17:42:38 -07:00
Carter Anderson
73f0b8e5f9
test github branch policy
2020-09-03 17:40:34 -07:00
Marcel Müller
08dc1c1936
Add access to pressed/just_pressed/just_released to Input<T> ( #428 )
...
Add access to pressed/just_pressed to Input<T>
2020-09-03 17:32:17 -07:00
julhe
cc3e99388a
Allowing glTFs to be loaded that don't have uvs and normals ( #406 )
...
allowing gltfs to be loaded that don't have uvs and normals, by filling missing attributes them with zeros
2020-09-03 17:30:10 -07:00