https://linen.dev logo
Join Discord
Powered by
# 🦴bones
  • y

    Yendor

    02/15/2023, 1:19 AM
    oh good stuff!
  • y

    Yendor

    02/15/2023, 1:19 AM
    Copy code
    rust
    //! Time functionality for the Bones framework.
    //!
    //! This is a slimmed down version of [`bevy_time`](https://github.com/bevyengine/bevy/tree/main/crates/bevy_time).
    //! [`bevy_time`] is licensed under MIT OR Apache-2.0.
  • y

    Yendor

    02/15/2023, 1:23 AM
    sweet the time resource works!!! 😄
  • z

    Zicklag

    02/15/2023, 1:23 AM
    You test it on something?
  • y

    Yendor

    02/15/2023, 1:24 AM
    i set a timer for 1.5 s
  • y

    Yendor

    02/15/2023, 1:24 AM
    cvurious if it just loops too fast
  • y

    Yendor

    02/15/2023, 1:24 AM
    hmmm
  • y

    Yendor

    02/15/2023, 1:24 AM
    or if the sync needs to happen first
  • y

    Yendor

    02/15/2023, 3:34 PM
    should be good now zick 🙂
  • z

    Zicklag

    02/15/2023, 5:39 PM
    Merging!
  • y

    Yendor

    02/15/2023, 5:42 PM
    Sweet! I’ll get that invincibility up, do we want it configurable per player or just have it default to like 2-3 seconds?
  • z

    Zicklag

    02/15/2023, 5:42 PM
    Default, I think.
  • z

    Zicklag

    02/15/2023, 5:42 PM
    It's just a stand-in to make it more playable until we have proper tournament/points system.
  • t

    TeaSkittles

    05/13/2023, 6:41 PM
    @Zicklag I'm trying to start a new project using bones, but I'm getting the build error below:
  • t

    TeaSkittles

    05/13/2023, 6:45 PM
    ... (previous compiles succeed) ... Compiling bevy_kira_audio v0.13.0 Compiling bevy_dylib v0.9.1 Compiling bones_bevy_renderer v0.1.1 error[E0616]: field
    resources
    of struct
    bones_lib::prelude::World
    is private --> /home/austin/.cargo/registry/src/github.com-1ecc6299db9ec823/bones_bevy_renderer-0.1.1/src/lib. rs:95:11 | 95 | world.resources.init::(); | ^^^^^^^^^ private field
  • t

    TeaSkittles

    05/13/2023, 6:46 PM
    I'm using many of the same dependencies referenced in the jumpy
    Cargo.toml
    file. I guess I'll try just copying all of it next.
  • t

    TeaSkittles

    05/13/2023, 6:59 PM
    Copied (almost) all of the
    Cargo.toml
    file and it worked. One day I will carefully remove one dependency at a time. One day.
  • z

    Zicklag

    05/13/2023, 10:27 PM
    It's probably the git patch.
  • z

    Zicklag

    05/13/2023, 10:27 PM
    The versions on the crates.io are rather out of date at the moment.
  • z

    Zicklag

    05/13/2023, 10:28 PM
    I should publish the latest versions some time soon, probably.
  • z

    Zicklag

    05/13/2023, 10:28 PM
    Earlier it was changing so frequently it was easier just to use the git patch, but bones hasn't been changing so much lately.
  • t

    TeaSkittles

    05/13/2023, 10:58 PM
    I'm looking forward to starting a game on top of bones. Once it gets to a demo state, I'd love to showcase it to you (and everyone else that's contributed to bones). It's basically going to be a quiz app with an animated background based on the state of the quiz.
  • z

    Zicklag

    05/13/2023, 11:04 PM
    Cool! Bones is still kind of a work-in-progress experiment in many ways, so it'd be great to have more use-cases tested for it.
  • z

    Zicklag

    05/13/2023, 11:05 PM
    Probably after we get the networking a little more settled in jumpy I have some ideas for the
    bones_app
    layer that we still haven't created, which is supposed to help streamline the stuff that currently happens outside of bones, in the Bevy world. The idea is hopefully move chunks of non-gameplay-specific concepts from jumpy into a common core so that it's a bit more "batteries included".
  • t

    TeaSkittles

    05/13/2023, 11:28 PM
    That's what I would imagine, that there will be a time for refactoring where a lot of the boilerplate that still exists in jumpy would be moved to bones, but in a way that isn't jumpy-specific.
  • y

    Yendor

    05/13/2023, 11:37 PM
    If you find a use for lighting I can strong arm zick into moving the lighting stuff into bones 😅😂
  • z

    Zicklag

    05/14/2023, 3:01 AM
    LOL, if you really want the lighting stuff in bones, then I'm totally fine with you doing it. :)
  • z

    Zicklag

    05/14/2023, 3:01 AM
    I wonder if putting it behind a feature flag would make sense or be annoying.
  • z

    Zicklag

    05/14/2023, 3:02 AM
    I guess since we're not trying to make like a stable 1.0.0 release of bones yet, it's not a big deal how it goes in there anyway. I suspect we'll get a better feel for how to organize things as we go.
  • t

    TeaSkittles

    05/15/2023, 12:39 AM
    @Zicklag I have a Vec and I want to remove an entity from the vector and I only have the entity instance. Right now the struct does not implement
    PartialEq
    . Are you willing to add that to the struct in
    bones_lib
    or is there a better/different way to solve my problem?
1...1112131415Latest