MCPcopy Create free account

hub / github.com/MelonFunction/ebiten-camera / functions

Functions27 in github.com/MelonFunction/ebiten-camera

↓ 6 callersMethodRotate
Rotate rotates a point about 0,0
examples/cube/main.go:53
↓ 4 callersMethodGetTranslation
GetTranslation alters the provided *ebiten.DrawImageOptions' translation based on the given x,y offset and the camera's position
camera.go:92
↓ 4 callersFunctionNewPoint
NewPoint returns a new *Point
examples/cube/main.go:48
↓ 4 callersMethodResize
Resize resizes the camera Surface
camera.go:78
↓ 2 callersMethodBlit
Blit draws the camera's surface to the screen and applies zoom
camera.go:120
↓ 2 callersMethodGetScale
GetScale alters the provided *ebiten.DrawImageOptions' scale
camera.go:108
↓ 2 callersMethodRotate
Rotate rotates by phi
camera.go:46
↓ 2 callersMethodZoom
Zoom *= the current zoom
camera.go:58
↓ 1 callersMethodAngleTo
AngleTo returns the angle between p to other
examples/cube/main.go:62
↓ 1 callersMethodGetCursorCoords
GetCursorCoords converts cursor/screen coords into world coords
camera.go:159
↓ 1 callersMethodGetRotation
GetRotation alters the provided *ebiten.DrawImageOptions' rotation using the provided originX and originY args
camera.go:100
↓ 1 callersMethodGetSkew
GetSkew alters the provided *ebiten.DrawImageOptions' skew
camera.go:114
↓ 1 callersMethodGetWorldCoords
GetWorldCoords converts screen coords into world coords
camera.go:147
↓ 1 callersMethodMovePosition
MovePosition moves the Camera by x and y. Use SetPosition if you want to set the position
camera.go:39
↓ 1 callersMethodSetPosition
SetPosition looks at a position
camera.go:31
MethodDraw
Draw draws the game screen. Draw is called every frame (typically 1/60[s] for 60Hz display).
examples/cube/main.go:91
MethodDraw
Draw renders everything to screen
examples/platformer/main.go:187
MethodGetScreenCoords
GetScreenCoords converts world coords into screen coords
camera.go:135
MethodLayout
Layout sets window size
examples/cube/main.go:156
MethodLayout
Layout sets window size
examples/platformer/main.go:236
FunctionNewCamera
NewCamera returns a new Camera
camera.go:18
MethodSetRotation
SetRotation sets the rotation to rot
camera.go:52
MethodSetZoom
SetZoom sets the zoom
camera.go:68
MethodUpdate
Update proceeds the game state. Update is called every tick (1/60 [s] by default).
examples/cube/main.go:71
MethodUpdate
Update updates the Game
examples/platformer/main.go:71
Functionmain
()
examples/cube/main.go:166
Functionmain
()
examples/platformer/main.go:245