56
Implemented automatic door opening (files.mastodon.social)
submitted 6 months ago by Shatur@lemmy.ml to c/gamedev@lemmy.blahaj.zone

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.

top 3 comments
sorted by: hot top controversial new old
[-] pennomi@lemmy.world 4 points 6 months ago

Badass! This is not a trivial thing to accomplish. As a fellow developer, nice work.

[-] Shatur@lemmy.ml 1 points 6 months ago
[-] FreudianCafe@lemmy.ml 2 points 6 months ago
this post was submitted on 10 Mar 2024
56 points (100.0% liked)

GameDev

1 readers
2 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 1 year ago
MODERATORS