mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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.
|
// You can start the game by calling the function Run.
|
||||||
//
|
//
|
||||||
|
// // update is called every frame (1/60 [s]).
|
||||||
// func update(screen *ebiten.Image) error {
|
// 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() {
|
// func main() {
|
||||||
|
// // Call ebiten.Run to start your game loop.
|
||||||
// ebiten.Run(update, 320, 240, 2, "Your game's title")
|
// ebiten.Run(update, 320, 240, 2, "Your game's title")
|
||||||
// }
|
// }
|
||||||
package ebiten
|
package ebiten
|
||||||
|
Loading…
Reference in New Issue
Block a user