Versions in this module Expand all Collapse all v1 v1.1.0 Jul 19, 2022 v1.0.0 Jun 29, 2022 Changes in this version + const Gravity + const LayerDecorationAbove + const LayerDecorationBelow + const LayerDefault + const LayerPlatform + const LayerPlayer + const MagnetizeDown + const MagnetizeDownLeft + const MagnetizeDownRight + const MagnetizeLeft + const MagnetizeRight + const MagnetizeUp + const MagnetizeUpLeft + const MagnetizeUpRight + const PlayerHeight + const PlayerWidth + const ScreenHeight + const ScreenWidth + const TPS + const TileScreenOff + const TileSize + const TriggerData + const TriggerFire + const TriggerJump + const TriggerMagnetize + const TriggerSwitch + var BeamEntities []gohan.Entity + var BeamRects []image.Rectangle + var BeamShapes [][]*cp.Shape + var CamTargetX float64 + var CamTargetY float64 + var CamX float64 + var CamY float64 + var CanDoubleJump bool + var CanFire bool + var CanJump bool + var CanMagnetize bool + var Clinging bool + var CollisionShapes []*cp.Shape + var DataRect image.Rectangle + var Debug int + var DestructibleEntities []gohan.Entity + var DestructibleRects []image.Rectangle + var DestructibleShapes [][]*cp.Shape + var DisableEsc bool + var GameOver bool + var GameOverTicks int + var Give string + var HazardRects []image.Rectangle + var LastFire int + var LastWalkDirL bool + var LastWalkDirU bool + var MagnetActive bool + var MagnetDirection int + var Map *tiled.Map + var MessageText string + var MessageUpdated bool + var MetalRects []image.Rectangle + var ObjectGroups []*tiled.ObjectGroup + var Player gohan.Entity + var PlayerBody *cp.Body + var PlayerDirection int + var PlayerGrounded bool + var PlayerIdleFrames []*ebiten.Image + var PlayerNormal cp.Vector + var PlayerShape *cp.Shape + var PlayerWalkFrames []*ebiten.Image + var RemoveTrigger = -1 + var ResetGame bool + var ShownIntro bool + var Space *cp.Space + var SpawnX float64 + var SpawnY float64 + var StartMuted bool + var Tick int + var TileImages = make(map[uint32]*ebiten.Image) + var TriggerActions []TriggerAction + var TriggerEntities []gohan.Entity + var TriggerRects []image.Rectangle + func BBToLevelRect(bb cp.BB) image.Rectangle + func BBToScreenRect(bb cp.BB) image.Rectangle + func LevelCoordinatesToScreen(x, y float64) (float64, float64) + func OpenSwitch() + func SetMessage(message string) + type TriggerAction int