hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
11.06k stars 662 forks source link

cmd/ebitenmobile: check the availability of gomobile/asset #3115

Closed hajimehoshi closed 1 month ago

hajimehoshi commented 1 month ago

Operating System

What feature would you like to be added?

Gomobile's asset package should be available, but this is not tested well. Let's check the current status.

See https://github.com/hajimehoshi/ebiten/discussions/3085

Why is this needed?

No response

hajimehoshi commented 1 month ago

ebitentutil.NewImageFromFile should access files in assets, maybe?

hajimehoshi commented 1 month ago

This package worked, except for the known issue (iOS) https://github.com/golang/go/issues/37177