Commit graph

515 commits

Author SHA1 Message Date
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
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
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
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
BimDav
25f62f7250
Add support for 'or' in ECS querying for tuple queries (#358)
Add Or query to do a logical or on a set of queries
2020-09-01 18:12:54 -07:00
Noah Callaway
a1e254d075
Rename get_id_mut (#332)
Renamed to get_with_id_mut to be parallel with get_with_id.
2020-09-01 17:12:36 -07:00
Waridley
4e587db775
Feature to disable libloading (#363)
esp. helpful for wasm target
Made default only for `bevy` crate
2020-09-01 17:02:11 -07:00
Nathan Stocks
3d6d2431fe
Remove child from parent when it is despawned (#386)
Remove child from parent when it is despawned
2020-09-01 16:39:22 -07:00
Philip Degarmo
b91fd8a43a
Quick fix for #405 (#408)
- Use saturating_sub to avoid overflow in core assignment to task pools
- Temporarily force 4 minimum threads to avoid examples stalling
2020-09-01 11:06:45 -07:00
Michael Hills
38a982b28d
iOS: use shaderc-rs for glsl to spirv compilation (#324) 2020-09-01 11:06:15 -07:00
Boxy
57177c9e98
Bump entities to u128 to avoid collisions (#117) (#393) 2020-08-31 11:51:28 -07:00
wyhaya
8106f770de
Add Color::hex fn (#362)
Add Color::hex fn
2020-08-30 11:27:37 -07:00
Daniel McNab
61b5fe9cfc
Fix hot asset reloading on Windows (#394)
Fixes #348

Changes to uses fully qualified names to work around
https://github.com/rust-analyzer/rust-analyzer/issues/1165
2020-08-30 11:22:40 -07:00
Jasen Borisov
ad460159b0
add bevy_render::pass::ClearColor to prelude (#396)
It is common for users to want to set their clear color.
2020-08-30 11:20:11 -07:00
Boxy
3efbaca104
Fix archetypes_generation being incorrectly updated for systems (#294) (#383) 2020-08-29 18:38:05 -07:00
Mariusz Kryński
8101622f37
Fix deadlock in hot asset reloading (#375) (#376) 2020-08-29 17:16:46 -07:00
Hugo Lindsay
00be5d083e
UI component bundles derive clone (#390)
make Draw, TextStyle, and the rest of the ui components derive clone
2020-08-29 16:49:39 -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
Robbie Davenport
4aabe983ec
Switch usage of std HashMap/HashSet default hasher, to aHash algo (#258)
switch to ahash for HashMaps and HashSets via a new bevy_utils crate
2020-08-28 17:08:51 -07:00
Patrik Buhring
c40e29bca3
Update icosphere dependency and add a limit to subdivisions. (#379) 2020-08-28 16:52:06 -07:00
Guillaume DALLENNE
d64882ffbf
add Color::rgb_u8 and Color::rgba_u8 (#381) 2020-08-28 16:50:49 -07:00
Grant Moyer
e6a57bad25
Fix sprite clipping at same depth (#385) 2020-08-28 16:45:54 -07:00
Carter Anderson
89a1d360c1
Fix despawn (#361)
* simplify RenderResourcesNode gpu array management

* support removals in RenderResourcesNode
2020-08-26 23:03:55 -07:00
Telzhaak
93040ef9a0
Check asset-path existence. Previously App just crashed if not (#345)
* Check asset-path existence. Previously App just crashed if not

* rustfmt

* Relegated Error-message to ChannelAssetHandler

* Removed needless return statement
2020-08-26 12:08:51 -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
stefee
034b5876aa
Fix default UI node size (#304)
Fix default node size
2020-08-25 12:18:43 -07:00
Xavientois
0ae74a4a4d
Some examples of documentation (#338) 2020-08-24 17:57:10 -07:00
Fabian Würfl
7b4bdef77c
Support multiline Texts (#183) 2020-08-24 17:13:24 -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 McNab
f7131509b9
Send an AssetEvent when modifying using get_id_mut (#323)
Fixes #321
2020-08-24 11:20:41 -07:00
multun
022a31fd8f
fix formatting / clippy warnings (#295) 2020-08-22 18:35:40 -07:00
Carter Anderson
b925e22949 0.1.3 upgrade 2020-08-22 10:16:52 -07:00
Carter Anderson
35c59d2d59 use wgpu 0.6.0 release 2020-08-22 09:42:00 -07:00
Boutillier
4eb437ab2e
Fixes #134 and #135 with a slight hit on performances as get_or_assign_index will now always assign (#247) 2020-08-22 09:28:38 -07:00
kaflu
2dadc86fb0
Change CullMode to none for sprites (#241)
With `CullMode::Back`, a sprite image that is rotated in x,y plane won't display properly

Co-authored-by: kaflu <kaflu@users.noreply.github.com>
2020-08-21 19:52:31 -07:00
mfrancis107
47f3a0b8be
Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval (#233)
* Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval

* fix formatting
2020-08-21 19:31:46 -07:00