Carter Anderson
11b41206eb
Add upstream bevy_ecs and prepare for custom-shaders merge ( #2815 )
...
This updates the `pipelined-rendering` branch to use the latest `bevy_ecs` from `main`. This accomplishes a couple of goals:
1. prepares for upcoming `custom-shaders` branch changes, which were what drove many of the recent bevy_ecs changes on `main`
2. prepares for the soon-to-happen merge of `pipelined-rendering` into `main`. By including bevy_ecs changes now, we make that merge simpler / easier to review.
I split this up into 3 commits:
1. **add upstream bevy_ecs**: please don't bother reviewing this content. it has already received thorough review on `main` and is a literal copy/paste of the relevant folders (the old folders were deleted so the directories are literally exactly the same as `main`).
2. **support manual buffer application in stages**: this is used to enable the Extract step. we've already reviewed this once on the `pipelined-rendering` branch, but its worth looking at one more time in the new context of (1).
3. **support manual archetype updates in QueryState**: same situation as (2).
2021-09-14 06:14:19 +00:00
Carter Anderson
4ac2ed7cc6
pipelined rendering proof of concept
2021-07-24 16:43:37 -07:00
François
e3fb23d4d3
add documentation on LogPlugin and more log usage ( #1973 )
...
Fixes #1895
Changed most `println` to `info` in examples, some to `warn` when it was useful to differentiate from other more noisy logs.
Added doc on `LogPlugin`, how to configure it, and why (and how) you may need to disable it
2021-04-22 23:30:48 +00:00
Guim Caballero
c3a72e9dc8
Add keyboard modifier example ( #1656 ) ( #1657 )
...
This PR adds a small example that shows how to use Keyboard modifiers, as shown in [this](https://github.com/bevyengine/bevy/issues/1654#issuecomment-798966921 ) snippet.
Fixes #1656 .
Co-authored-by: guimcaballero <guim.caballero@gmail.com>
2021-03-14 21:00:36 +00:00
Alexander Sepity
c2a427f1a3
Non-string labels ( #1423 continued) ( #1473 )
...
Non-string labels
2021-02-18 13:20:37 -08:00
TheRawMeatball
a880b54508
Make EventReader a SystemParam ( #1244 )
...
* Add generic support for `#[derive(SystemParam)]`
* Make EventReader a SystemParam
2021-01-18 22:23:30 -08:00
Carter Anderson
841755aaf2
Adopt a Fetch pattern for SystemParams ( #1074 )
2020-12-15 21:57:16 -08:00
Amber Kowalski
4c1bc02723
Change bevy_input::Touch API to match similar APIs ( #952 )
2020-11-30 17:14:08 -08:00
Carter Anderson
3a6f6de277
System Inputs, Outputs, Chaining, and Registration Ergo ( #876 )
...
System Inputs, Outputs, Chaining, and Registration Ergo
2020-11-16 18:18:00 -08:00
bjorn3
80a0448473
Add bevy_dylib to force dynamic linking of bevy ( #808 )
...
This easily improve compilation time by 2x
2020-11-09 19:26:08 -08:00
Oscar
f54788527b
Add received character ( #805 )
...
* Add ReceivedCharacter window event
* Add ReceivedCharacter window event examples
2020-11-06 17:15:56 -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
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
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
Carter Anderson
a602f50c2c
small input example improvements ( #701 )
2020-10-18 13:20:42 -07:00
Sergey Minakov
a80469bd13
Touch support implementation ( #696 )
...
Adds a basic touch input system
2020-10-18 12:24:01 -07:00
Utkarsh
dd91f8e116
Add support to get gamepad button/trigger values using Axis<GamepadButton> ( #683 )
2020-10-15 12:45:34 -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
Claire C
45312a945a
Basic mouse scroll-wheel event ( #222 )
...
add simple mouse wheel event + example
2020-08-20 17:04:01 -07:00
Fabian Würfl
671862deda
Fix comment in keyboard_input_event example
2020-08-12 18:13:32 +02:00
Carter Anderson
e855995145
cargo fmt
2020-06-15 12:47:35 -07:00
Carter Anderson
5aeb3b937b
add "pressed" example to mouse_input
2020-06-04 23:57:39 -07:00
Carter Anderson
aa2928739c
simplify keyboard_input example
2020-06-04 23:55:12 -07:00
Carter Anderson
ed561d7f70
break up input examples
2020-06-04 23:49:36 -07:00
Carter Anderson
5b6f24d6a2
input: make new Input resource generic and add Input<MouseButton>
2020-06-04 23:34:21 -07:00
Carter Anderson
fcecf78609
make input_keyboard example speed a normal variable
2020-06-04 23:01:02 -07:00
Carter Anderson
b3a57c21a7
input: simpler input interface via an Input
resource
2020-06-04 22:48:53 -07:00
Carter Anderson
fde8292a04
simplify input_keyboard example
2020-06-04 19:47:27 -07:00
Carter Anderson
ab31bf9d9e
impl Default for EventReader
2020-06-03 23:53:00 -07:00
Carter Anderson
4979a06e90
input: fix input example and add cursor move events
2020-06-03 23:22:32 -07:00
Carter Anderson
21a79c56a7
camera: add position and rotation components to Perspective camera. add "sync" toggle to LocalToWorld transform.
2020-05-31 10:31:18 -07:00
Carter Anderson
51d41b2302
camera: remove active camera components in favor of camera names
2020-05-29 22:07:55 -07:00
Carter Anderson
3ee5a67cdb
scenes: polish scene example. prop->property attribute. derive(Resources) to derive(FromResources)
2020-05-27 15:57:12 -07:00
Carter Anderson
fcc0a6303b
update mesh on gpu when it changes
2020-05-16 00:21:04 -07:00
Carter Anderson
2bcb8a2a41
cargo fmt
2020-05-13 18:05:18 -07:00
Carter Anderson
6381611e89
Resource -> Res, Ref->Com
2020-05-13 17:57:08 -07:00
Carter Anderson
06f3a4efb9
Use system fns for all setup code
2020-05-13 17:31:56 -07:00
Carter Anderson
70f122b92a
Rename AssetStorage to Assets
2020-05-13 16:45:18 -07:00
Carter Anderson
7b79b3de8d
organize examples and add ecs guide
2020-05-01 13:12:47 -07:00