15
submitted 4 days ago* (last edited 4 days ago) by Shatur@lemmy.ml to c/bevy@programming.dev

It's a crate for dynamic and contextual input mappings for Bevy, inspired by Unreal Engine Enhanced Input.

While porting my game, I made many improvements. Actually using the crate gave me a better perspective ๐Ÿ˜…

Here's a quick showcase from my game. Smooth movement now automatically done by built-in LerpDelta modifier.

Also notice how pressing Esc cancels object spawning first due to the context priority.

Pressed keys displayed via screenkey app.

๐Ÿ“œFull changelog ๐Ÿ“ฆbevy_enhanced_input

72
submitted 1 week ago by Shatur@lemmy.ml to c/kde@lemmy.kde.social

It's an app for translating and speaking text using Mozhi.

We've added automatic selection for the fastest instance and fixed some bugs.

My next plan is to port it to Qt6. I try to get to it during my winter vacation. I'm just currently focused on a FOSS life simulation game. If anyone wants to help with the migration, PRs are welcome!

Works both on desktops and mobile Linux. Here is a screenshot of the app running on my PinePhone Pro:

screenshot

14
submitted 2 weeks ago by Shatur@lemmy.ml to c/bevy@programming.dev

It's a crate for dynamic and contextual input mappings for Bevy, inspired by Unreal Engine Enhanced Input.

I really like the UE approach and decided to bring it to Bevy.

Despite being the first release, it's packed with features:

  • Map inputs from various sources (keyboard, gamepad, etc.) to gameplay actions like Jump, Move, or Attack.
  • Assign actions to different contexts like OnFoot or InCar, which are regular components.
  • Activate or deactivate contexts by simply adding or removing components.
  • Control how actions accumulate input from sources and consume it.
  • Layer multiple contexts on a single entity, controlled by priority.
  • Apply modifiers to inputs, such as dead zones, inversion, scaling, etc., or create custom modifiers by implementing a trait.
  • Assign conditions for how and when an action is triggered, like "hold", "tap", "chord", etc. You can also create custom conditions, such as "on the ground".
  • React on actions with observers.

I've implemented everything from UE and even added some extras. The crate also has ~90% test coverage.

๐Ÿ“ฆbevy_enhanced_replicon

17
submitted 1 month ago by Shatur@lemmy.ml to c/bevy@programming.dev

I'm working on a life simulation game with the working title Project Harmonia and would like to share my progress.

I migrated navigation from oxidized_navigation to vleue_navigator.

It uses the novel Polyanya algorithm instead of the classical A*.

I faced a few issues during the migration, but the author helped me resolve them all. He even dumped the navmesh of the house I built in the game and created a test named after the project ๐Ÿ˜…

I also implemented skipping points that the agent has projected past to prevent jitter when multiple points are close to each other.

65
submitted 1 month ago by Shatur@lemmy.ml to c/retrogaming@lemmy.world

The progress is incredible!

12
submitted 1 month ago by Shatur@lemmy.ml to c/bevy@programming.dev

I working on a life simulation game with a working title Project Harmonia.

Iโ€™ve finally added the ability to edit and remove previously spawned walls, along with an undo/redo system.

Implementing the undo/redo was a bit challenging. If a command spawns or despawns an entity, it needs to be tracked to update the history with the correct ID. Additionally, since the game is networked, I had to introduce the concept of pending history commands. These commands are only added to the history after server confirmation.

29
submitted 1 month ago by Shatur@lemmy.ml to c/bevy@programming.dev
2
submitted 2 months ago by Shatur@lemmy.ml to c/bevy@programming.dev

Itโ€™s a crate for server-authoritative networking. We use it for Project Harmonia, but it's general-purpose.

Some highlights:

  • Added the ability to defer replication, which is useful for exchanging messages or downloading assets required by the server before replication starts.
  • If there is any spawning, despawning, removal, or insertion, client events wait for replication. However, with this release, it can be disabled per event.
  • Fixed entity mapping when a client event is buffering.

๐Ÿ“œFull changelog ๐Ÿ“ฆbevy_replicon

73
submitted 2 months ago by Shatur@lemmy.ml to c/linux@lemmy.ml

I searching for a tablet for drawing and discovered this one. Anyone tried drawing on it? I wondering if the experience is good.

On the page they doesn't mention if the screen supports drawing pens, but it's possible to order an MPP pen with it, so I assume that it works with Wacom or Surface pens?

20
submitted 2 months ago* (last edited 2 months ago) by Shatur@lemmy.ml to c/retrogaming@lemmy.world

Someone has already started modding the port for Dreamcast๐Ÿ˜„

24
submitted 3 months ago by Shatur@lemmy.ml to c/retrogaming@lemmy.world

This is now running on a 16MB stock Dreamcast!

23
Initial roads support (files.mastodon.social)
submitted 3 months ago by Shatur@lemmy.ml to c/bevy@programming.dev

I working on a life simulation game with a working title Project Harmonia.

Added initial editor for roads, reusing some logic from the walls implementation.

Currently, I'm using segments for road creation, but I plan to add Bezier curves to allow for curved walls and roads. Maybe I should use Bezier curves even for straight lines ๐Ÿค”

I also need to use a texture without road markings for connection islands and implement rounding for turns.

But wanted to share the current progress :)

[-] Shatur@lemmy.ml 30 points 3 months ago

PineTime is nice, wearing it right now.

[-] Shatur@lemmy.ml 33 points 8 months ago* (last edited 8 months ago)

You need a compatible phone depending on the distro. There are Mobian, PostmarketOS, Ubuntu Touch and ArchLinux Arm with Danct12 repos and others.

Right now the most supported phones are PinePhone and PinePhone Pro. Under "supported" I mean hardware support.

I have both. GNU/Linux on phones is not as polished and convenient as Android, but usable. I daily drive Pro model.

[-] Shatur@lemmy.ml 16 points 9 months ago

Cool, the more Linux-based handhelds, the better! I would prefer a handheld with RK3588S, but this one is interesting too.

[-] Shatur@lemmy.ml 29 points 9 months ago

What I don't like about Wayland is that many things are specific to individual DEs. Like global shortcuts or taking screenshots. In my app I have two different solutions for taking screenshots in GNOME and KDE using XDG portals. It causes fragmentation.

[-] Shatur@lemmy.ml 23 points 10 months ago* (last edited 10 months ago)

Have you considered using Arch on which Manjaro is based?

This way you won't have issues with AUR. It's not hard to install, you can use archinstall helper if you want, it's available in the default installation media.

[-] Shatur@lemmy.ml 16 points 1 year ago* (last edited 1 year ago)

I daily drive GNU/Linux on my Phone (PinePhone Pro), I would say it usable, but Android is way more practical.

Also not a lot of devices can run GNU/Linux and have fully functional HW due to missing drivers. And only 3 phones of them can run mainline kernel.

Waydroid works fine, I use it for banking apps, but it's a bit slow on my specific device.

[-] Shatur@lemmy.ml 17 points 1 year ago

Wow, 1M it's a lot! I wish we could have more organizations like this in more countries.

[-] Shatur@lemmy.ml 19 points 1 year ago

in every other country where communism is/was

There is not a single country that has achieved communism.

[-] Shatur@lemmy.ml 44 points 1 year ago

I think proprietary Electron apps better run in browser anyway because of trackers that you can disable via extensions.

[-] Shatur@lemmy.ml 17 points 1 year ago

When I buy things like this, I try to buy hardware that supported by open source projects. Like routers that can run OpenWRT or Android phones that are supported by LineageOS.

It's amazing that sometimes free projects that are made for people are better than commercial one.

[-] Shatur@lemmy.ml 22 points 1 year ago* (last edited 1 year ago)

I see a lot of hate towards him and it looks like he deserves it. But why is he still in the Senate? Do people vote for him?

I'm not an American, just trying to understand how it works.

[-] Shatur@lemmy.ml 33 points 1 year ago

If you are still interesting in Linux phone, consider looking at PinePhone Pro. I would recommend it only for experience users and the phone experience is far from Android, but software is catching up. Check @linuxphones

P.S. writing this comment from PPP :)

view more: next โ€บ

Shatur

joined 3 years ago