Neko is a cat that chases the mouse cursor across the screen, an app written in the late 1980s and ported for many platforms.
This code is a re-implementation using Golang and has no relationship to the original software. Furthermore, this version does not use any part of the original source code except sprites and sounds.
The goal is to demonstrate the Go language with a fun and very nostalgic example, without necessarily being tied to the behavior of the original version.
In this example, we used the Ebitengine, an incredibly easy-to-use gaming library with a vibrant community.
Note that some operating systems may restrict the execution of binaries downloaded from the internet for security reasons. Please consult your operating system documentation to learn how to enable Neko to run.
cd neko
go run ./main.go
Parameters
-mousepassthrough
Enable mouse passthrough (default false).-quiet
Disable sound.-scale
The scale of the cat on the screen (default 2.0).-speed
The speed of the cat (default 2).-h
Show help.
Please follow our contribution guide.