Updated Mobile (markdown)

Hajime Hoshi 2016-08-01 23:46:40 +09:00
parent a7076202fd
commit c4f48027ae

@ -42,10 +42,11 @@ 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/Objetive-C side by adding arguments to this function if
// you want to make Java/Objective-C side decide the screen size.
// In this function, scale is passed from Java/Objecitve-C side
// and pass it to mobile.Start. You can also receive the screen
// size from Java/Objetive-C side by adding arguments to this
// function if you want to make Java/Objective-C side decide the
// screen size.
// Note that the screen size unit is dp (device-independent pixel)
// on Android.
if err := mobile.Start(game.Update, ScreenWidth, ScreenHeight, scale, "Your Game's Title"); err != nil {