Documentation
¶
Index ¶
Constants ¶
View Source
const ( ShapeSize = logic.ScreenHeight ShapeOffsetX = logic.ScreenWidth/2 - ShapeSize/2 )
View Source
const ( ShapeIndexPortal = iota ShapeIndexLine ShapeIndexCross ShapeIndexEmptyLine ShapeIndexEmptyCross ShapeIndexHalfQuad ShapeIndexThinEmptyCross ShapeIndexPizzaSlice )
Variables ¶
View Source
var ( ColorNone = color.RGBA{0, 0, 0, 0} ColorSouth = color.RGBA{ R: 255, G: 16, B: 0, A: 255, } ColorNorth = color.RGBA{ R: 51, G: 0, B: 128, A: 255, } )
View Source
var ( DefaultFontFace font.Face DefaultSmallFontFace font.Face )
View Source
var ( WallTextures []*ebiten.Image CursorImage *ebiten.Image SplashImage *ebiten.Image )
View Source
var ( PlayerShader *ebiten.Shader TunnelShader *ebiten.Shader RingShader *ebiten.Shader CircleShader *ebiten.Shader )
View Source
var (
ShapeCircleMaskImage = ebiten.NewImage(ShapeSize, ShapeSize)
)
View Source
var ( TriangleShapes = [][]*geom.Triangle{ ShapeIndexPortal: trianglesPortal, ShapeIndexLine: trianglesLine, ShapeIndexCross: trianglesCross, ShapeIndexEmptyLine: trianglesEmptyLine, ShapeIndexEmptyCross: trianglesEmptyCross, ShapeIndexHalfQuad: trianglesHalfQuad, ShapeIndexThinEmptyCross: trianglesThinEmptyCross, ShapeIndexPizzaSlice: trianglesPizzaSlice, } )
Functions ¶
func PlayDashSound ¶
func PlayDashSound()
func PlayDeathSound ¶
func PlayDeathSound()
func PlayPortalSound ¶
func PlayPortalSound()
func PlaySlideSound ¶
func PlaySlideSound()
func ReplayGameMusic ¶
func ReplayGameMusic()
func ResumeGameMusic ¶
func ResumeGameMusic()
func StopDashSound ¶
func StopDashSound()
func StopGameMusic ¶
func StopGameMusic()
func StopSlideSound ¶
func StopSlideSound()
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.