common

package
v0.0.0-...-491ee29 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultFlashlightDuration = 800.0
View Source
const DefaultFlashlightSize = 168.0

Variables

This section is empty.

Functions

This section is empty.

Types

type Background

type Background struct {
	// contains filtered or unexported fields
}

func NewBackground

func NewBackground(loadDefault bool) *Background

func (*Background) Draw

func (bg *Background) Draw(time float64, batch *batch.QuadBatch, blurVal, bgAlpha float64, camera mgl32.Mat4)

func (*Background) DrawOverlay

func (bg *Background) DrawOverlay(time float64, batch *batch.QuadBatch, bgAlpha float64, camera mgl32.Mat4)

func (*Background) GetStoryboard

func (bg *Background) GetStoryboard() *storyboard.Storyboard

func (*Background) HasBackground

func (bg *Background) HasBackground() bool

func (*Background) SetBeatmap

func (bg *Background) SetBeatmap(beatMap *beatmap.BeatMap, loadDefault, loadStoryboards bool)

func (*Background) SetDefaultColor

func (bg *Background) SetDefaultColor(col color2.Color)

func (*Background) SetTrack

func (bg *Background) SetTrack(track bass.ITrack)

func (*Background) Update

func (bg *Background) Update(time float64, x, y float64)

type BeatSynced

type BeatSynced struct {
	*sprite.Sprite

	Divisor float64

	Beat float64

	IsSynced bool
	Kiai     bool
	// contains filtered or unexported fields
}

func NewBeatSynced

func NewBeatSynced() *BeatSynced

func (*BeatSynced) SetMap

func (bs *BeatSynced) SetMap(bMap *beatmap.BeatMap, track bass.ITrack)

func (*BeatSynced) Update

func (bs *BeatSynced) Update(time float64)

type Boundaries

type Boundaries struct {
	// contains filtered or unexported fields
}

func NewBoundaries

func NewBoundaries() *Boundaries

func (*Boundaries) Draw

func (boundaries *Boundaries) Draw(projection mgl32.Mat4, circleRadius, alpha float32)

type DanserCoin

type DanserCoin struct {
	*BeatSynced
	// contains filtered or unexported fields
}

func NewDanserCoin

func NewDanserCoin() *DanserCoin

func NewDanserCoinSanta

func NewDanserCoinSanta() *DanserCoin

func (*DanserCoin) Draw

func (coin *DanserCoin) Draw(time float64, batch *batch.QuadBatch)

func (*DanserCoin) DrawVisualiser

func (coin *DanserCoin) DrawVisualiser(value bool)

func (*DanserCoin) SetMap

func (coin *DanserCoin) SetMap(bMap *beatmap.BeatMap, track bass.ITrack)

func (*DanserCoin) Update

func (coin *DanserCoin) Update(time float64)

type Flashlight

type Flashlight struct {
	// contains filtered or unexported fields
}

func NewFlashlight

func NewFlashlight(beatMap *beatmap.BeatMap) *Flashlight

func (*Flashlight) Draw

func (fl *Flashlight) Draw(matrix mgl32.Mat4)

func (*Flashlight) SetSliding

func (fl *Flashlight) SetSliding(value bool)

func (*Flashlight) Update

func (fl *Flashlight) Update(time float64)

func (*Flashlight) UpdateCombo

func (fl *Flashlight) UpdateCombo(combo int64)

func (*Flashlight) UpdatePosition

func (fl *Flashlight) UpdatePosition(cursorPosition vector.Vector2f)

type NightcoreProcessor

type NightcoreProcessor struct {
	*BeatSynced
	// contains filtered or unexported fields
}

func NewNightcoreProcessor

func NewNightcoreProcessor() *NightcoreProcessor

func (*NightcoreProcessor) Update

func (bs *NightcoreProcessor) Update(time float64)

Jump to

Keyboard shortcuts

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