Skip to content

Commit 935303b

Browse files
committed
N43: Cargo Space
1 parent c7cb7e7 commit 935303b

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
597 KB
Loading

content/news/043/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,39 @@ If needed, a section can be split into subsections with a "------" delimiter.
6767

6868
## Game Updates
6969

70+
### [Cargo Space]
71+
72+
![Screenshot of Cargo Space](cargo-space-physics.png)
73+
74+
[Cargo Space] ([Discord][cargospace_discord]) by
75+
[@johanhelsing][johanhelsing_mastodon] is a co-op 2d space game where you build
76+
a ship and fly it through space looking for new parts, fighting pirates and the
77+
environment.
78+
79+
The game uses its own homemade XPBD-based physics engine implemented directly
80+
using [Bevy] systems and types. This month the implementation was fleshed out
81+
adding important features such as collision layers, composite colliders, one-way
82+
platforms and an efficient collision broadphase.
83+
84+
In other words, this means ship-to-ship collisions a are finally happening. This
85+
was previously tricky, since ships are a combination of box colliders when
86+
colliding with each other and bevy_ecs_tilemap colliders (when colliding with
87+
the player).
88+
89+
One part of the broadphase implementation was split out into a new crate,
90+
[`bevy_sparse_grid_2d`]. It provides a simple and convenient way to query for
91+
entities that share one or more grid cells based on their axis aligned bounding
92+
box (AABB).
93+
94+
Read more about Cargo Space's physics in [the long and detailed blog
95+
post][cargospace_devlog_5].
96+
97+
[Cargo Space]: https://helsing.studio/cargospace
98+
[cargospace_devlog_5]: https://johanhelsing.studio/posts/cargo-space-devlog-5
99+
[cargospace_discord]: https://discord.gg/ye9UDNvqQD
100+
[johanhelsing_mastodon]: https://mastodon.social/@johanhelsing
101+
[`bevy_sparse_grid_2d`]: [https://github.com/johanhelsing/bevy_sparse_grid_2d]
102+
70103
## Engine Updates
71104

72105
### [godot-rust][gd-github]

0 commit comments

Comments
 (0)