Skip to content

kemokemo/ebiten-rating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ebiten-rating

This package show the rating value with your specified image.

sample image

Usage

// 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

About

a rating parts for ebitengine games

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages