bundle

package
v0.0.0-...-94e82ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BGM

type BGM struct {
	Buffer   *beep.Buffer
	LoopInfo oggloop.Info
}

func (*BGM) Streamer

func (b *BGM) Streamer() beep.Streamer

type Battletiles

type Battletiles struct {
	Info          *pngsheet.Info
	OffererTiles  *ebiten.Image
	AnswererTiles *ebiten.Image
}

type Bundle

type Bundle struct {
	Battletiles *Battletiles

	MegamanSprites     *CharacterSprites
	SwordSprites       *SwordSprites
	CannonSprites      *CannonSprites
	AirShooterSprites  *Sprites
	BusterSprites      *BusterSprites
	MuzzleFlashSprites *Sprites
	GustSprites        *GustSprites
	WindFanSprites     *WindFanSprites
	AreaGrabSprites    *Sprites
	VulcanSprites      *Sprites
	WindRackSprites    *Sprites
	FullSynchroSprites *Sprites
	IcedSprites        *Sprites

	DecorationSprites map[DecorationType]*Sprite

	ChargingSprites *ChargingSprites

	ChipIconSprites *Sprites

	BattleBGM *BGM

	Sounds map[SoundType]*beep.Buffer

	TallFont    font.Face
	Tall2Font   font.Face
	TinyNumFont font.Face
}

func Load

func Load(ctx context.Context, loaderCallback loader.Callback) (*Bundle, error)

type BusterSprites

type BusterSprites struct {
	Image *ebiten.Image

	BaseAnimation *pngsheet.Animation
}

type CannonSprites

type CannonSprites struct {
	CannonImage   *ebiten.Image
	HiCannonImage *ebiten.Image
	MCannonImage  *ebiten.Image

	Animation *pngsheet.Animation
}

type CharacterSprites

type CharacterSprites struct {
	Image *ebiten.Image

	IdleAnimation          *pngsheet.Animation
	FlinchAnimation        *pngsheet.Animation // e.g. flinch, pauses on first frame on drag!
	StuckAnimation         *pngsheet.Animation // e.g. paralyzed, bubbled, frozen
	TeleportEndAnimation   *pngsheet.Animation
	TeleportStartAnimation *pngsheet.Animation
	SlashAnimation         *pngsheet.Animation // e.g. Sword
	ThrowAnimation         *pngsheet.Animation // e.g. MiniBomb
	BraceAnimation         *pngsheet.Animation // e.g. end of Cannon
	CannonAnimation        *pngsheet.Animation // e.g. Cannon
	RecoilShotAnimation    *pngsheet.Animation // e.g. AirShot
	HoldInFrontAnimation   *pngsheet.Animation // e.g. DolThndr, RskyHony, TankCan, Tornado
	BusterAnimation        *pngsheet.Animation
	FlourishAnimation      *pngsheet.Animation // e.g. BublStar
	GattlingAnimation      *pngsheet.Animation // e.g. Vulcan, MachGun
	TwoHandedAnimation     *pngsheet.Animation // e.g. AquaWhirl
}

type ChargingSprites

type ChargingSprites struct {
	Image *ebiten.Image

	ChargingAnimation *pngsheet.Animation
	ChargedAnimation  *pngsheet.Animation
}

type DecorationType

type DecorationType int
const (
	DecorationTypeNone           DecorationType = 0
	DecorationTypeDeathExplosion DecorationType = iota
	DecorationTypeCannonExplosion
	DecorationTypeBusterPowerShotExplosion
	DecorationTypeBusterExplosion
	DecorationTypeVulcanExplosion
	DecorationTypeSuperVulcanExplosion
	DecorationTypeUninstallExplosion
	DecorationTypeChipDeleteExplosion
	DecorationTypeShieldHitExplosion
	DecorationTypeNullShortSwordSlash
	DecorationTypeNullWideSwordSlash
	DecorationTypeNullLongSwordSlash
	DecorationTypeNullVeryLongSwordSlash
	DecorationTypeNullShortBladeSlash
	DecorationTypeNullWideBladeSlash
	DecorationTypeNullLongBladeSlash
	DecorationTypeNullVeryLongBladeSlash
	DecorationTypeWindSlash
	DecorationTypeRecov
)

type GustSprites

type GustSprites struct {
	WindImage *ebiten.Image
	DustImage *ebiten.Image
	FanImage  *ebiten.Image

	Animation *pngsheet.Animation
}

type Sheet

type Sheet struct {
	Info  *pngsheet.Info
	Image image.Image
}

type SoundType

type SoundType int
const (
	SoundTypeNone   SoundType = 0
	SoundTypeBuster SoundType = iota
	SoundTypeOuch
	SoundTypeCharging
	SoundTypeCharged
	SoundTypeSwordSlash
	SoundTypeCounterHit
	SoundTypeDoubleDamageConsumed
	SoundTypeRecov
	SoundTypeAreaGrabStart
	SoundTypeAreaGrabEnd
)

type Sprite

type Sprite struct {
	Image     *ebiten.Image
	Animation *pngsheet.Animation
}

type Sprites

type Sprites struct {
	Image      *ebiten.Image
	Animations []*pngsheet.Animation
}

type SwordSprites

type SwordSprites struct {
	Image *ebiten.Image

	BaseAnimation *pngsheet.Animation
}

type WindFanSprites

type WindFanSprites struct {
	WindImage *ebiten.Image
	FanImage  *ebiten.Image

	Animation *pngsheet.Animation
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL