Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kemokemo/ebiten-rating

a rating parts for ebitengine games
https://github.com/kemokemo/ebiten-rating

ebiten-parts golang

Last synced: 1 day ago
JSON representation

a rating parts for ebitengine games

Awesome Lists containing this project

README

        

# ebiten-rating

This package show the rating value with your specified image.

![sample image](media/sample.png)

## Usage

```go
// Initialize with your image
g.rating = rating.NewRating(StarImage, 15, 20, 10)

// Set the current rating value
g.rating.SetValue(5.7)

// Draw
func (g *Game) Draw(screen *ebiten.Image) {
g.rating.Draw(screen)
}
```

## License

Apache-2.0 License

## Auther

kemokemo