Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kemokemo/ebiten-rating
- Owner: kemokemo
- License: apache-2.0
- Created: 2023-05-03T05:54:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-03T05:57:39.000Z (over 1 year ago)
- Last Synced: 2024-06-21T04:57:53.038Z (5 months ago)
- Topics: ebiten-parts, golang
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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