Back to / mobile

package mobile

Latest Go to latest
Published: Jun 14, 2020 | License: Apache-2.0 | Module:


Package mobile provides functions for mobile platforms (Android and iOS).

This package is used when you use `ebitenmobile bind`.

For usage, see


func SetGame

func SetGame(game Game)

SetGame sets a mobile game.

SetGame is epxected to be called only once.

SetGame can be called anytime. Until SetGame is called, the game does not start.

type Game

type Game = ebiten.Game

Game defines necessary functions for a mobile game.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier