This is a PoC "desktop pet" ร la shimeji using ebitengine that runs on Windows, Linux, and macOS. It currently has only 3 animations: idle (default), left-click dragging, and right-click.
Here's a demo video:
shark.mp4
Fair warning: I'm a Go noob who mostly has no idea what he's doing. Read the source code at your own peril.
Download latest version from GitHub Releases.
Newer builds straight from master branch are also available as artifacts on GitHub and sourcehut:
GitHub requires logging in to download artifacts, while Sourcehut doesn't have macOS builds. Such is life.
Simply run the provided binary for your OS. Mac & Linux users may need to first
make the file executable with chmod +x <file-name>
.
If run from a terminal, use the -h
argument to see available options.
Currently there's only a -size
argument which changes how big your shark will
be rendered. Windows users can create a shortcut which lets you specify your
desired arguments.
- Follow ebitengine's install guide
- Run:
go build -tags ebitensinglethread -o dist/
- Your compiled binary should now be in
./dist/
Apparently it should compile on FreeBSD too but I haven't tried that. Do let me know if it works on your FreeBSD desktop!
The sprites were graciously provided by Mee Way:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.