package main import ( "image" "github.com/hajimehoshi/ebiten/v2" "golang.org/x/image/font" ) const ( screenWidth = 800 screenHeight = 600 bsofttext = `bsoft games` versionInfo = `loading screen MKI` sceneInfo = `scene a` bobblesInfo = `bobbles` enemyCount = 12 totalBobbles = 9 bubbleGridRows = 3 bubbleGridCols = 3 bubbleGridSpacing = 40 ) var ( mplusNormalFont font.Face mplusBigFont font.Face mplusTinyFont font.Face tileWidth float32 = 20 tileHeight float32 = 20 numTiles int = 5 maxPercent float64 = 100 whiteImage = ebiten.NewImage(3, 3) whiteSubImage = whiteImage.SubImage(image.Rect(1, 1, 2, 2)).(*ebiten.Image) ) func main() { loading() }