Updated Android (markdown)

Hajime Hoshi 2016-07-09 06:12:50 +09:00
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