this post was submitted on 10 Mar 2024
39 points (95.3% liked)

Game Development

3439 readers
2 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
39
Implemented automatic door opening (files.mastodon.social)
submitted 8 months ago* (last edited 8 months ago) by Shatur@lemmy.ml to c/gamedev@programming.dev
 

In my initial implementation, doors opened when a character approached them (using a sensor collider). But it looked creepy 😅 Imagine simply walking past the doors and having them open unexpectedly.

In the current implementation, I analyze navigation paths to determine if characters pass through the door, and open it when they approach.

Additionally, I added small visual feedback for wall placement, fine-tuned navigation, adjusted controls, made a few QoL improvements, and fixed a bunch of bugs.

This is for my WIP open source life simulation game made with Bevy under the working title Project Harmonia.

you are viewing a single comment's thread
view the rest of the comments
[–] Mickey@lemmy.ca 3 points 8 months ago

Ah that’s cool! I look forward to seeing your updates then! Have you seen the other spin off games like Paralives and Life by You? It might be interesting to see what kinds of stuff they’re lifting from sims and where they are expanding/changing things.