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
471639841b
more optional features
2020-07-31 12:26:36 -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
f85ec04a48
ecs: prepare system ranges based on stage and thread locals
2020-07-30 13:19:55 -07:00
Carter Anderson
44c08f90aa
render: remove Drawable implementation from RenderPipelines because it doesnt add any value
2020-07-29 18:28:32 -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
db665b96c0
ui: fix z indices and depth calculations
2020-07-29 00:28:44 -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
64cc382477
ecs: move copy of QueryBorrow into bevy_ecs and fix perf regressions
2020-07-28 16:17:21 -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
543ec86530
remove cargo.toml opt level override
2020-07-28 12:09:18 -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
Carter Anderson
e7b22ac043
Merge pull request #77 from Moxinilian/despawn-recursive
...
transform: implement hierarchical entity despawn
2020-07-27 15:35:23 -07:00
Moxinilian
3007201eac
transform: improve despawn_recursive tests
2020-07-28 00:23:59 +02:00
Carter Anderson
6a0c2d5673
Merge pull request #75 from karroffel/hdr-loading
...
add more image loaders (HDR, JPEG, BMP) via `image` crate
2020-07-27 15:13:56 -07:00
Moxinilian
311f04f858
transform: implement hierarchical entity despawn
2020-07-28 00:10:32 +02:00
Thomas Herzog
23149f1753
add texture loader for more formats using image
crate
...
This adds support for PNG images only for now. More formats can be added
relatively easily.
Images with various pixel formats are supported (such as RGB-16bit or
R-8bit).
2020-07-27 23:30:31 +02:00
Thomas Herzog
7412b0ec25
add HDR image loader
...
Using the `image` crate, HDR images can be loaded into RGBA-f32 textures.
2020-07-27 11:37:45 +02:00
Carter Anderson
fb9f04ba90
Merge pull request #73 from Moxinilian/windows-winit-panic
...
winit: fix panic on windows
2020-07-26 13:15:56 -07:00
Carter Anderson
718f475160
Merge pull request #72 from karroffel/texture-format
...
add `TextureFormat` field to `Texture`
2020-07-26 13:14:53 -07:00
Thomas Herzog
4cf0f53eae
use TextureFormat for Textures
...
This commit also inserts debug asserts that texture data roughly respects
the format.
2020-07-26 22:08:15 +02:00
Moxinilian
4393af5e25
winit: fix panic on windows
2020-07-26 21:36:01 +02:00
Thomas Herzog
b4c185eb0c
cargo fmt
2020-07-26 21:10:18 +02:00
Carter Anderson
339e9ad52d
ui: cleaner stretch integration
2020-07-25 13:14:36 -07:00
Carter Anderson
93bb1d5b8e
ui: initial flexbox support
2020-07-24 23:04:45 -07:00
Carter Anderson
bcf95a24db
transform: only update global transform with pos/rot/scale components when there is no local transform
2020-07-23 18:55:21 -07:00
Carter Anderson
6cad80d572
transform|ui: fix transform update lag
2020-07-23 18:26:08 -07:00
Carter Anderson
d79339ea62
transform: add more control parent/child ordering and make parent/children insertion atomic
2020-07-23 17:32:53 -07:00
Carter Anderson
89af5ea4e0
fix some doc tests
2020-07-23 13:40:07 -07:00
Carter Anderson
70b12452b5
github actions: install alsa
2020-07-23 13:18:23 -07:00
Carter Anderson
85bd0342d4
ecs: add write_world and write_resources to Commands
...
this allows for custom commands
2020-07-23 13:12:38 -07:00
Carter Anderson
1c976ea5b8
update readme
2020-07-22 19:07:28 -07:00
Carter Anderson
f82af10a69
ecs: component removal tracking
2020-07-22 17:57:13 -07:00
Carter Anderson
141044aae7
ecs: publicly expose Added/Changed and inline some things
2020-07-22 16:19:27 -07:00
Carter Anderson
a4e291d9c8
app: default app runner now runs the schedule once
2020-07-22 13:32:17 -07:00
Carter Anderson
2d829f5a06
ecs: add Changed<T> (added or modified)
2020-07-22 13:20:22 -07:00
Carter Anderson
e673faab7c
ecs: rename Changed<T> to Mutated<T>
2020-07-22 12:42:12 -07:00
Carter Anderson
19d24e92aa
transform: immediately set localltransform value
2020-07-21 22:02:18 -07:00