effects

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SHADER_CRT = "shaders/crt.kage"

Variables

This section is empty.

Functions

This section is empty.

Types

type CRT added in v0.0.1

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

func NewCRT added in v0.0.1

func NewCRT() *CRT

func (*CRT) Draw added in v0.0.1

func (c *CRT) Draw(screen *ebiten.Image, img *ebiten.Image)

func (*CRT) DrawWithOptions added in v0.0.1

func (c *CRT) DrawWithOptions(screen *ebiten.Image, img *ebiten.Image, curve bool)

func (*CRT) Update added in v0.0.1

func (c *CRT) Update() error

type Star

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

func (*Star) Draw

func (s *Star) Draw(screen *ebiten.Image)

func (*Star) Init

func (s *Star) Init(screenWidth, screenHeight int)

func (*Star) Update

func (s *Star) Update(x, y float32)

type Stars

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

func NewStars

func NewStars(screenWidth, screenHeight int) *Stars

func (*Stars) Draw

func (s *Stars) Draw(screen *ebiten.Image)

func (*Stars) Update

func (s *Stars) Update() error

Jump to

Keyboard shortcuts

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