okay new ux idea

This commit is contained in:
2025-08-27 23:22:39 -04:00
parent 8b1bfc8a01
commit de709f912d
8 changed files with 99 additions and 189 deletions

View File

@@ -3,7 +3,7 @@ package sprites
import (
"image"
"git.vezzani.net/ben/games/common/window/v1"
"git.vezzani.net/ben/games/common/ux/v1"
"github.com/hajimehoshi/ebiten/v2"
)
@@ -75,8 +75,8 @@ func (s *Sprite) Image(ops imageOptions) image.Image {
func (s *Sprite) Draw(screen *ebiten.Image, options ...ImageOption) {
ops := imageOptions{
scaleX: window.Scale,
scaleY: window.Scale,
scaleX: ux.Scale,
scaleY: ux.Scale,
}
for _, o := range options {