Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15e57f3

Browse filesBrowse files
authored
N43: Cargo Space (rust-gamedev#1300)
1 parent c2a47f4 commit 15e57f3
Copy full SHA for 15e57f3

File tree

2 files changed

+33
-0
lines changed
Filter options

2 files changed

+33
-0
lines changed
281 KB
Loading

‎content/news/043/index.md

Copy file name to clipboardExpand all lines: content/news/043/index.md
+33Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,39 @@ Read more in their latest [Steam blogpost].
160160
[terrain editing]: https://store.steampowered.com/news/app/2198150/view/3651890488940565185
161161
[Steam blogpost]: https://store.steampowered.com/news/app/2198150/view/3669907614196390626
162162

163+
### [Cargo Space]
164+
165+
![Screenshot of Cargo Space](cargo-space-physics.png)
166+
167+
[Cargo Space] ([Discord][cargospace_discord]) by
168+
[@johanhelsing][johanhelsing_mastodon] is a co-op 2d space game where you build
169+
a ship and fly it through space looking for new parts, fighting pirates and the
170+
environment.
171+
172+
The game uses its own homemade XPBD-based physics engine implemented directly
173+
using [Bevy] systems and types. This month the implementation was fleshed out
174+
adding important features such as collision layers, composite colliders, one-way
175+
platforms and an efficient collision broadphase.
176+
177+
In other words, this means ship-to-ship collisions a are finally happening. This
178+
was previously tricky, since ships are a combination of box colliders when
179+
colliding with each other and bevy_ecs_tilemap colliders (when colliding with
180+
the player).
181+
182+
One part of the broadphase implementation was split out into a new crate,
183+
[bevy_sparse_grid_2d]. It provides a simple and convenient way to query for
184+
entities that share one or more grid cells based on their axis aligned bounding
185+
box (AABB).
186+
187+
Read more about Cargo Space's physics in [the long and detailed blog
188+
post][cargospace_devlog_5].
189+
190+
[Cargo Space]: https://helsing.studio/cargospace
191+
[cargospace_devlog_5]: https://johanhelsing.studio/posts/cargo-space-devlog-5
192+
[cargospace_discord]: https://discord.gg/ye9UDNvqQD
193+
[johanhelsing_mastodon]: https://mastodon.social/@johanhelsing
194+
[bevy_sparse_grid_2d]: https://github.com/johanhelsing/bevy_sparse_grid_2d
195+
163196
## Engine Updates
164197

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.