diff --git a/README.md b/README.md index f180a40..43414e1 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,24 @@ # funfriend -TODO: Write a description here +little desktop buddy for your computer -## Installation +![](https://howto.smooch.computer/i/jgv5q.gif) -TODO: Write installation instructions here +currently just kind of sits and wanders around -## Usage +you can right click to catmode -TODO: Write usage instructions here +## installation -## Development +grab yourself `SDL2`, `SDL2_mixer` and `GLFW` development libraries, then run -TODO: Write development instructions here +```sh +shards install +shards build +``` -## Contributing +## usage -1. Fork it () -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create a new Pull Request +run `bin/funfriend` from the same dir as the source (for assets and shaders) -## Contributors - -- [Jill "oatmealine" Monoids](https://github.com/your-github-user) - creator and maintainer +alternatively, use `shards run` diff --git a/src/funfriend_context.cr b/src/funfriend_context.cr index 6369feb..9e6b9da 100644 --- a/src/funfriend_context.cr +++ b/src/funfriend_context.cr @@ -46,6 +46,7 @@ class Funfriend::FunfriendContext < Funfriend::WindowContext end if event.mouse_button.one? if event.action.press? + SoundMan.play_sound("assets/sfx/talk#{(1..8).sample}.ogg") @easing_dur = 0.0 @held = true @held_at = {