mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +01:00
Updated Android (markdown)
parent
56680a2e53
commit
4fef4b1dc8
@ -42,9 +42,10 @@ func Start(scale float64) error {
|
||||
return err
|
||||
}
|
||||
// mobile.Start starts the game.
|
||||
// In this function, scale is passed from Java side and pass it to mobile.Start.
|
||||
// You can also receive the screen size from Java side by adding arguments to this function
|
||||
// if you want to make Java side decide the screen size.
|
||||
// In this function, scale is passed from Java side and pass it
|
||||
// to mobile.Start. You can also receive the screen size from Java
|
||||
// side by adding arguments to this function if you want to make
|
||||
// Java side decide the screen size.
|
||||
// Note that the screen size unit is dp (device-independent pixel).
|
||||
if err := mobile.Start(game.Update, ScreenWidth, ScreenHeight, scale, "Your Game's Title"); err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user