This commit is contained in:
Hajime Hoshi 2014-12-28 17:09:50 +09:00
parent d88261ae37
commit 1f19cc3506
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ table.examples td.code pre {
</style> </style>
<h1>Ebiten (海老天) v1.0.0-alpha</h1> <h1>Ebiten (海老天) v1.0.0-alpha</h1>
<ul> <ul>
<li>A simple 2D game library in Go</li> <li>A simple SNES-like 2D game library in Go</li>
<li>Works on <li>Works on
<ul> <ul>
<li>Mac OS X</li> <li>Mac OS X</li>

View File

@ -1,6 +1,6 @@
# Ebiten (海老天) v1.0.0-alpha # Ebiten (海老天) v1.0.0-alpha
* A simple 2D game library in Go * A simple SNES-like 2D game library in Go
* Works on * Works on
* Mac OS X * Mac OS X
* Linux (maybe) * Linux (maybe)

2
run.go
View File

@ -26,7 +26,7 @@ import (
// //
// The given function f is expected to be called 60 times a second, // The given function f is expected to be called 60 times a second,
// but this is not strictly guaranteed. // but this is not strictly guaranteed.
// If you need to care about time, you need to check the current time in f. // If you need to care about time, you need to check current time every time f is called.
func Run(f func(*Image) error, width, height, scale int, title string) error { func Run(f func(*Image) error, width, height, scale int, title string) error {
err := startUI(width, height, scale, title) err := startUI(width, height, scale, title)
if err != nil { if err != nil {