You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
330 B
19 lines
330 B
package main |
|
|
|
import ( |
|
"log" |
|
|
|
"code.rocketnine.space/tslocum/kibodo/demos/kibodo/game" |
|
"github.com/hajimehoshi/ebiten/v2" |
|
) |
|
|
|
func main() { |
|
ebiten.SetWindowTitle("キーボード") |
|
ebiten.SetWindowResizable(true) |
|
ebiten.SetMaxTPS(60) |
|
|
|
g := game.NewDemoGame() |
|
if err := ebiten.RunGame(g); err != nil { |
|
log.Fatal(err) |
|
} |
|
}
|
|
|