https://linen.dev logo
Join Discord
Powered by
# learning
  • e

    erlend

    01/22/2022, 10:17 PM
    1) All songs should play in the right contexts: https://discord.com/channels/865004050357682246/870337552706588682/934530232956903474 2) Basic how-to on adding new songs.
  • a

    abraxas

    01/22/2022, 10:26 PM
    There is a music api, so this should be easy to implement
  • e

    erlend

    01/22/2022, 10:28 PM
    Could you write a tweet’s worth of the basics here? 🙂
  • a

    abraxas

    01/22/2022, 10:50 PM
    you just add the music files to
    assets/music
    and add the tracks to
    assets/music.json
  • a

    abraxas

    01/22/2022, 10:51 PM
    then you call
    crate::game::music::start_music
    with the songs id as a parameter
  • a

    abraxas

    01/22/2022, 10:51 PM
    and thats, basically, it
  • e

    erlend

    01/24/2022, 9:39 AM
    Need this as an embedded page in the book.
  • e

    erlend

    01/27/2022, 9:52 PM
    So Fish World Pack is out now. Since there's a Sprites pack and a Music pack, it occurred to me that we might as well have a Docs/Book pack as a 3rd download. We can do different sorts of exports for this book, right?
  • e

    erlend

    01/27/2022, 9:52 PM
    maybe a PDF and a folder of .md files?
  • e

    erlend

    01/31/2022, 3:21 PM
    Great new learning resource for rust beginners: https://cleancut.github.io/rusty_engine/
  • e

    erlend

    01/31/2022, 3:21 PM
    Added it to our readme.
  • e

    erlend

    02/10/2022, 5:02 PM
    Should we have an entry for fish fight on crates.io?
  • o

    orhun

    02/10/2022, 5:02 PM
    I thought about that but I'm not sure if we can include
    assets/
    directory with the crates.io release
  • o

    orhun

    02/10/2022, 5:03 PM
    because if we can't then the game is not playable after running
    cargo install fishfight
  • o

    orhun

    02/10/2022, 5:03 PM
    but coming back to the question, I think we should
  • o

    orhun

    02/10/2022, 5:04 PM
    at least, as an entry, somehow
  • o

    orhun

    02/10/2022, 5:04 PM
    I wonder if other rust-based games have a crates.io existence /me looks
  • e

    erlend

    02/10/2022, 5:04 PM
    On a similar note, do we have a web version of our inline code docs? Not seeing us on docs.rs; is that dependent on crates.io?
  • o

    orhun

    02/10/2022, 5:05 PM
    yup
  • o

    orhun

    02/10/2022, 5:05 PM
    but we can host it on our own I think
  • o

    orhun

    02/10/2022, 5:05 PM
    when you push a crate to crates.io, docs.rs is generated automatically
  • e

    erlend

    02/10/2022, 5:08 PM
    Looks like there’s not a major precedent for games on crates.io, but there are some. And I think we have a strong standing, being partially a game designed for modding and educational development. We’re quite similar to game engines in that respect, all of which are registered crates already.
  • o

    orhun

    02/10/2022, 5:08 PM
    similar to the mdbook, we can generate docs using
    cargo doc
    and host it on github then deploy it to e.g.
    docs.fishfight.org
    (though I'm not sure if we can have multiple GitHub pages on the same repo)
  • o

    orhun

    02/10/2022, 5:09 PM
    letting crates.io handle the docs would be better 😄
  • e

    erlend

    02/10/2022, 5:09 PM
    Yeh. I’m thinking docs,fishfight,org could just redirect there.
  • e

    erlend

    02/10/2022, 5:13 PM
    https://docs.rs/crate/castle-game/0.1.36 interesting how it has gotten labeled as ‘not a library’ somehow.
  • a

    abraxas

    02/10/2022, 5:20 PM
    That is probably based on the Cargo.toml
  • a

    abraxas

    02/10/2022, 5:20 PM
    no, by the fact that we don't have a lib.rs, I mean
  • r

    revcord

    10/22/2022, 7:01 PM
    Channels are now connected!
  • o

    odecay

    10/22/2022, 7:02 PM
    test
1...45678Latest