Documentation ¶
Index ¶
- Constants
- Variables
- type Camera
- func (p *Camera) Direction() mgl64.Vec3
- func (p *Camera) FoV() float64
- func (p *Camera) Position() mgl64.Vec3
- func (p *Camera) ProjectionMatrix() mgl64.Mat4
- func (p *Camera) Right() mgl64.Vec3
- func (p *Camera) SetPosition(position mgl64.Vec3)
- func (p *Camera) SetYawPitch(yaw, pitch float64)
- func (p *Camera) Update()
- func (p *Camera) ViewMatrix() mgl64.Mat4
- func (p *Camera) YawPitch() (float64, float64)
- type Floor
- type Game
- type Player
- type Stage
Constants ¶
View Source
const ( TPS = 60 ArenaSize = 192 )
View Source
const ( PlayerMovementSpeed = 1. ShootingTicks = 15 ShootingCD = 30 InvulnTicks = 20 InvulnCD = InvulnTicks DashingTicks = 10 DashingCD = 60 DashingSpeedMod = 3 )
Variables ¶
View Source
var (
PlayerSize = mgl64.Vec3{1, 2, 1}
)
Functions ¶
This section is empty.
Types ¶
type Camera ¶
type Camera struct {
// contains filtered or unexported fields
}
func (*Camera) ProjectionMatrix ¶
func (*Camera) SetPosition ¶
func (*Camera) SetYawPitch ¶
func (*Camera) ViewMatrix ¶
type Game ¶
type Game struct { Player *Player Building *building.Phase Boss entity.Boss // contains filtered or unexported fields }
func (*Game) StageNumber ¶
func (*Game) StageSheetImage ¶
func (g *Game) StageSheetImage() *ebiten.Image
Click to show internal directories.
Click to hide internal directories.