Bevy Engine

ThunderComplex,
@ThunderComplex@musicians.today avatar

#Bevy #RustLang I need some help. I'm trying to implement orbiting spaceship movement kinda like Eve Online. It works.. but the positions slowly drift apart as they continue orbiting, instead of remaining stable.
Anyone got any ideas?
I've already exhausted my knowledge by 1) normalizing all vectors and 2) making the actual update code dependent on delta time. This improved things a lot, but it's still an unstable system.

Here's my hacked together code: https://gist.github.com/ThunderComplex/74ddd3549cb71855d0b343d11fe5512a

ThunderComplex,
@ThunderComplex@musicians.today avatar

@ilmai Thanks. But honestly, this bit of rubberduck debugging has made me realize that I can even get away with not even using real positions at all, thus eliminating any need for orbiting mechanics.

ilmai,
@ilmai@hachyderm.io avatar

@ThunderComplex not having to implement anything is always the best conclusion to reach!

bd103,
@bd103@hachyderm.io avatar

I realized I never finished a project in the game engine, even though I'm an active contributor.

To rectify this, I spent a full day this weekend writing an Asteroid clone. It's incredibly basic, but it works!

The visuals are implemented with gizmos, the hitboxes are a mess, and half of my code is converting between Vec2s and Vec3s, but I'm still happy with the outcome. :)

A short video of me playing my Asteroid clone. My ship, which is just an arrow, is flying around, dodging and shooting asteroids (which are just circles), then eventually dying with a score of 1200.

iw,
@iw@hachyderm.io avatar

This year, I have a goal of programming a software application every quarter (~13 weeks / 90 days).

My first completed application was a game in the #Bevy game engine written in #Rust that is a rogue like game displayed in an emulated terminal emulator.

I learned a lot about Entity Component Systems, the benefit of design docs, and became a more knowledgeable ("better"?) programmer as a result.

I wrote about the project and my experience here:

https://www.isaacwyatt.com/posts/2024-04-20/?utm_source=hachyderm.io&utm_medium=referral&utm_campaign=user_post&utm_content=%40iw

snowy_road_gm,

Introducing renet2, a fork of the networking library renet that implements the game-oriented netcode standard.

Highlights:

  • Allow netcode servers to manage multiple data sources at once (e.g. UDP sockets and a WebTransport server).
  • Add built-in in-memory sockets and WebTransport sockets. You can now run a netcode server with native AND browser clients, with the same exact authentication workflow for all clients (using ConnectTokens).

@bevy

https://github.com/UkoeHB/renet2

#bevy #networking

video/mp4

jgayfer,
@jgayfer@fosstodon.org avatar

Pretty basic, but I’m proud to have a “game” up and running. My brother even threw together a custom sprite for the animation.

Took me WAY longer than anticipated (almost threw in the towel several times). But starting to feel like I’ve turned a corner; it’s becoming more fun than tedious.

#bevy #bevyengine

video/mp4

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

Does asset management in #bevy have you tangled in knots? Do you wish there was a clear, robust way you could structure your #gamedev data? Wish you knew how to design content formats that you can just hand off to your game designers to populate? @sixfold and I have you covered! Introducing leafwing_manifest, our newest crate. Built with the care, attention to detail and #[deny(missing_docs)] that you've come to expect from :leafwing:

https://crates.io/crates/leafwing_manifest

Seldom_SE,
@Seldom_SE@mastodon.social avatar

I released a new tiny ergonomics crate a couple days ago https://github.com/Seldom-SE/seldom_singleton. I have 3 larger crates done, but I'd like to battle-test them first. Also, seldom_pixel will going from maintenance to active development pretty soon. I'd like to use it for my game's UI. So, I'll be replacing bevy_ecs_tilemap as the tilemap frontend so I can keep it updated with Bevy. Uh, and I have a bit of unreleased seldom_state work to release eventually.

kroltan,
@kroltan@functional.cafe avatar

I finished my entry!

It's an interactive toy type thing made in about a never-ending demonic war.

You can play it over at Ludum Dare.

video/mp4

zacharygoulet,

Here's part 2 of my Bevy Status Bar post from my Bevy Adventures series. In this one, I create a bevy plugin around our status bar from the previous post, into a functioning plugin, using rust generics!

Check it out here: https://zacharygoulet.com/blog/bevy-status-bar-p2

snowy_road_gm,

Our very first game at Snowy Road Studios!

Scavenger: Jump around and scavenge for good items! https://snowy-road-studios.itch.io/scavenger

Scavenger came from a small in-house game jam with me (SRS founder koe) and my kid brother. Check the devlog to see how it went: https://snowy-road-studios.itch.io/scavenger/devlog/711861/developing-scavenger.

@bevy

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

We've long wanted a playground, just like the official one, where you can type in code in the browser and quickly mess around with Bevy. Now, thanks to Liam, you can experience this for yourself! https://learnbevy.com/playground

While this is currently unofficial, it looks like a great learning tool, and checks off all my boxes for an MVP: editing, logging, visual window... So cool!

The author is looking for feedback here: https://discord.com/channels/691052431525675048/692648638823923732/1191596430750666783

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

The Playground site linked above now has an open-source repo! If this is something you'd like to help out with (or if you'd just like to see how the magic works), check it out at https://github.com/LiamGallagher737/learnbevy

There's also a Project thread on the Bevy Discord here: https://discord.com/channels/691052431525675048/1228593123228123238 to follow along :)

Shatur,
@Shatur@mastodon.social avatar

First game furniture

Added vintage table model from this post to the game: https://toot.garden/@YaraGardaria/112231421650294108

@projectharmonia

image/png
image/png

devlike,
@devlike@mastodon.gamedev.place avatar

Introducing Svarog! A all-you-can-eat library. I'm starting a bi-weekly devlog of this library here. This week, data-driven config and a hello-world of sorts!

https://roguelike.rs/introducing-svarog

devlike,
@devlike@mastodon.gamedev.place avatar

I finally have UI layers natively in my game engine! This is a rewrite of the roguelike engine I used for where I went with ImGUI because I didn't have exactly these five days to figure out all the ropes. I'm limiting myself to creating a roguelike library within that would actually move a lot of the config stuff (grids, fonts, tilesets, UI layouts) out of code and into data. So far 40% there, all the static stuff now loads from shiny CSV files (thanks @Kyzrati) and this IS the way.

hut,
@hut@chaos.social avatar

Working on the rings of Jupiter for my space game in /. [https://codeberg.org/hut/outfly]

Building this game really gives me a grasp of Jupiter's scale.

First, I wanted the game to take place in the main ring of Jupiter.

Then I rechecked calculations and updated the size of the planet to the actual size, as viewed from the main ring, and suddenly it just... filled out the entire screen 😨 it felt like horror on a cosmic scale. So... I decided, it's taking place in the outer rings instead^^"

Shatur,
@Shatur@mastodon.social avatar

Bevy on PinePhone Pro

Bevy can run on Android phones. But what about GNU/Linux phones?
I decided to find out using my PinePhone Pro with RK3399.

Managed to run my game using WGPU_SETTINGS_PRIO=webgl2.
But couldn't get past the main menu due to limited features of the GPU. 😢

But simple 2D games like breakout example runs!

Right now I working on networking for the game, but this evening I decided to tinker with my device a little.

@projectharmonia

PinePhone Pro with the keyboard case. Tic-Tac-Toe game on the screen. It's a draw!
PinePhone Pro with the keyboard case. On the screen console with pfetch output that prints Archlinux logo.

danct12,
@danct12@fosstodon.org avatar

@Shatur @projectharmonia I love the keycaps!

taylorhadden,
@taylorhadden@mastodon.social avatar

Working more betterer now. #Bevy

taylorhadden,
@taylorhadden@mastodon.social avatar

Right on. Now why are my lake calculations not doing anything?

#Bevy

PaddyCo,
@PaddyCo@mastodon.gamedev.place avatar

messing around with Bevy, I threw together an insanely naive tilemap implementation and it performs super well lol, ECS is wild #bevy

Video showcasing a 100x100 tilemap grid with a sprite on top of each tile, the tiles are wobbling in a satisfying manner. (sprites borrowed from Final Fantasy Tactics Advance)

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

Will Chrichton and his team have just released Argus, a trait debugger for Rust. They're looking for feedback from Bevy users, new and old, about how this helps with #bevy's frustrating error messages for broken query and system types. #rustlang, please give it a try, and forward feedback to him (or me)!

https://marketplace.visualstudio.com/items?itemName=gavinleroy.argus

onelson, (edited )
@onelson@mastodon.social avatar

Wondering what the latest is for using #blender3d as an editor for #bevyengine. Any recommended approaches?

#b3d #RustLang

hut,
@hut@chaos.social avatar
hut,
@hut@chaos.social avatar

Sneak peek at a space game I'm building (with #bevy/#rust)

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

Hi ! It's time for another 😁 Want to see how you build an game engine? Then follow along while I go over the 11 community-approved PRs in our backlog today https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review+-label%3AS-Controversial+-label%3AS-Blocked+-label%3AS-Adopt-Me+

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar
  1. https://github.com/bevyengine/bevy/pull/11115

A PR from last week, updating the docs for 2D camera projections. As TrialDragon helpfully points out, this needs to be brought up to date with main, as required CI checks aren't on the old branch. That left this PR in limbo.

Thankfully, there's a nice "update branch" button on Github (turn this setting on for your heavily active repos!). Clicking it and retrying the merge.

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

Alright, that's all for this week! In case you missed it: we announced the Bevy Foundation last week, and are currently fundraising to pay for a full-time technical project manager for Bevy: me!

If you love these threads and want to see #opensource #rust #gamedev thrive, please consider donating. I want to be able to do this for years to come and help build Bevy into a world-class engine for pros and hobbyists, and your support makes all of the difference.

https://bevyengine.org/news/bevy-foundation/

bevy,
@bevy@mastodon.social avatar

#Bevy 0.13.1 is out! This is a patch release that resolves issues discovered in Bevy 0.13. New projects will automatically pick it up. Existing apps can run "cargo update". For a list of changes, see the 0.13.1 milestone:

https://github.com/bevyengine/bevy/milestone/21

alice_i_cecile,
@alice_i_cecile@mastodon.gamedev.place avatar

Want to know more about what happened this week in #bevy? Go read @chrisbiscardi's weekly newsletter! https://thisweekinbevy.com/issue/2024-03-18-foundations-meetups-and-more-bevy-cheatbook-updates

I love the blend of community and engine content: it covers meetups, important docs updates, the new Bevy Foundation and all of the little changes that the engine devs make :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bevy
  • rosin
  • tacticalgear
  • mdbf
  • Backrooms
  • DreamBathrooms
  • magazineikmin
  • cubers
  • Youngstown
  • slotface
  • Durango
  • InstantRegret
  • everett
  • kavyap
  • ngwrru68w68
  • provamag3
  • GTA5RPClips
  • osvaldo12
  • thenastyranch
  • cisconetworking
  • tester
  • khanakhh
  • hgfsjryuu7
  • modclub
  • ethstaker
  • normalnudes
  • anitta
  • Leos
  • JUstTest
  • All magazines