Versions in this module Expand all Collapse all v1 v1.1.0 Jul 19, 2022 v1.0.0 Jun 29, 2022 Changes in this version + const TileBeamBlue1 + const TileBeamBlue2 + const TileBeamBlue3 + const TileBeamOrange1 + const TileBeamOrange2 + const TileBeamOrange3 + var BeamTiles = []uint32 + var FS embed.FS + var ImgBullet = newFilledImage(4, 4, color.RGBA{ ... }) + var ImgNewspaper = LoadImage("image/newspaper.png") + var ImgPlayerIdle1 = ImgRobotTileset.SubImage(image.Rect(idleX, idleY, idleX+idleW, idleY+idleH)).(*ebiten.Image) + var ImgPlayerIdle1Rot90 = rotate90(ImgPlayerIdle1) + var ImgPlayerIdle2 = ImgRobotTileset.SubImage(image.Rect(idleX+idleW, idleY, idleX+idleW+idleW, idleY+idleH)).(*ebiten.Image) + var ImgPlayerIdle2Rot90 = rotate90(ImgPlayerIdle2) + var ImgPlayerIdle3 = ImgRobotTileset.SubImage(image.Rect(idleX+idleW*2, idleY, idleX+idleW*2+idleW, idleY+idleH)).(*ebiten.Image) + var ImgPlayerIdle3Rot90 = rotate90(ImgPlayerIdle3) + var ImgPlayerIdle4 = ImgRobotTileset.SubImage(image.Rect(idleX+idleW*3, idleY, idleX+idleW*3+idleW, idleY+idleH)).(*ebiten.Image) + var ImgPlayerIdle4Rot90 = rotate90(ImgPlayerIdle4) + var ImgPlayerWalk1 = ImgRobotTileset.SubImage(image.Rect(walkX, walkY, walkX+walkW, walkY+walkH)).(*ebiten.Image) + var ImgPlayerWalk1Rot90 = rotate90(ImgPlayerWalk1) + var ImgPlayerWalk2 = ImgRobotTileset.SubImage(image.Rect(walkX+walkW, walkY, walkX+walkW+walkW, walkY+walkH)).(*ebiten.Image) + var ImgPlayerWalk2Rot90 = rotate90(ImgPlayerWalk2) + var ImgPlayerWalk3 = ImgRobotTileset.SubImage(image.Rect(walkX+walkW*2, walkY, walkX+walkW*2+walkW, walkY+walkH)).(*ebiten.Image) + var ImgPlayerWalk3Rot90 = rotate90(ImgPlayerWalk3) + var ImgPlayerWalk4 = ImgRobotTileset.SubImage(image.Rect(walkX+walkW*3, walkY, walkX+walkW*3+walkW, walkY+walkH)).(*ebiten.Image) + var ImgPlayerWalk4Rot90 = rotate90(ImgPlayerWalk4) + var ImgRobotTileset = LoadImage("image/robot-tileset/tileset.png") + var ImgWhiteSquare = newFilledImage(4, 4, color.White) + var PlayerIdleFrames = []*ebiten.Image + var PlayerIdleFramesRot90 = []*ebiten.Image + var PlayerWalkFrames = []*ebiten.Image + var PlayerWalkFramesRot90 = []*ebiten.Image + var SoundAlarm = LoadWAV(audioContext, "sound/alarm.wav") + var SoundExplode = LoadWAV(audioContext, "sound/explode.wav") + var SoundFire = LoadWAV(audioContext, "sound/fire.wav") + var SoundHit = LoadWAV(audioContext, "sound/hit.wav") + var SoundMusic = LoadOGG(audioContext, "sound/mechanical_spider_theme.ogg", true) + func LoadBytes(p string) []byte + func LoadImage(p string) *ebiten.Image + func LoadOGG(context *audio.Context, p string, loop bool) *audio.Player + func LoadWAV(context *audio.Context, p string) *audio.Player