mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
75ac8e6f2b
commit
861c737495
15
doc.go
15
doc.go
@ -16,11 +16,24 @@
|
||||
//
|
||||
// You can start the game by calling the function Run.
|
||||
//
|
||||
// // update is called every frame (1/60 [s]).
|
||||
// func update(screen *ebiten.Image) error {
|
||||
// // Define your game.
|
||||
//
|
||||
// // Write your game's logical update.
|
||||
//
|
||||
// if IsRunningSlowly() {
|
||||
// // When the game is running slowly, the rendering result
|
||||
// // will not be adopted.
|
||||
// return nil
|
||||
// }
|
||||
//
|
||||
// // Write your game's rendering.
|
||||
//
|
||||
// return nil
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// // Call ebiten.Run to start your game loop.
|
||||
// ebiten.Run(update, 320, 240, 2, "Your game's title")
|
||||
// }
|
||||
package ebiten
|
||||
|
Loading…
Reference in New Issue
Block a user