Daniel McNab
cd9e502b12
Fix ScheduleRunnerPlugin ( #610 )
...
Fixes #609
2020-10-01 10:52:29 -07:00
Tomasz Sterna
408114269b
Use instant::Instant with wasm-bindgen feature ( #591 )
2020-09-27 12:55:06 -07:00
Raymond
74ad1c3752
Add remove bundle to bevy_ecs commands ( #579 )
...
add remove bundle to bevy_ecs commands
2020-09-26 14:27:56 -07:00
Alexander Sepity
85a7f883d1
Fix typo in #569 . ( #582 )
2020-09-26 10:26:19 -07:00
Carter Anderson
dd07674b59
github actions: use stable clippy ( #577 )
2020-09-25 21:34:47 -07:00
Carter Anderson
05db806e15
fix DrawableText crash ( #574 )
2020-09-25 17:57:23 -07:00
Mariusz Kryński
a3012d94bb
WASM asset loading ( #559 )
...
wasm assets
2020-09-25 15:26:23 -07:00
Gray Olson
afc656701d
switch to u32 indices by default ( #572 )
2020-09-25 14:29:30 -07:00
Alexander Sepity
3abfcad7ab
Patch memory leak in Archetype::grow()
. ( #569 )
2020-09-25 12:33:27 -07:00
Gray Olson
f7c8882c04
Index buffer specialization ( #568 )
...
index buffer specialization
2020-09-25 12:13:01 -07:00
Carter Anderson
a768bae33b
properly update bind group ids when setting dynamic bindings. ( #560 )
2020-09-23 13:20:14 -07:00
Carter Anderson
028a22b129
asset: use bevy_tasks in AssetServer ( #550 )
2020-09-21 20:23:09 -07:00
Tomasz Sterna
dd6f0b5e04
Option to give existing canvas element as winit window ( #515 )
2020-09-21 16:12:34 -07:00
Stjepan Glavina
74f881f20d
Fix compilation error on wasm ( #549 )
...
Fix compilation error on wasm
2020-09-21 15:47:38 -07:00
Logan Magee
b5f3585d2e
Merge some imports in bevy_winit/src/lib.rs ( #522 )
2020-09-21 13:54:47 -07:00
HyperLightKitsune
295e1f0a18
use FnOnce in Commands and ChildBuilder where possible ( #535 )
...
use FnOnce in Commands and ChildBuilder
2020-09-21 13:51:38 -07:00
Stjepan Glavina
5aa77979d1
Remove some unsafe code ( #540 )
2020-09-21 13:13:40 -07:00
memoryruins
fd1d6a388d
Stop looping when scheduler receives an AppExit ( #536 )
2020-09-20 16:32:07 -07:00
Carter Anderson
74dba5f36b
release: 0.2.1 ( #533 )
2020-09-20 15:58:32 -07:00
Stjepan Glavina
b05708f66a
Update async-executor to 1.3.0 ( #526 )
2020-09-20 11:27:24 -07:00
memoryruins
924afc3c0c
Remove UI debug print ( #521 )
2020-09-19 23:25:07 -07:00
Carter Anderson
ba5af4dd56
release: 0.2.0 ( #520 )
2020-09-19 15:29:08 -07:00
Carter Anderson
57a52e6ed7
fix font atlas text width bug ( #519 )
2020-09-19 14:22:01 -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
Boutillier
b9f18efd86
Do not assume font handle is present in assets. ( #490 )
2020-09-19 12:57:52 -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
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
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
a5259ab45f
update dependencies ( #493 )
2020-09-14 18:12:52 -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
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
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