- 24bit color, unicode console with built in font.
- Cross platform windowing via github.com/skelterjohn/go.wde.
- Field of view, lighting, and pathfinding algorithms.
package main
import (
"github.com/ajhager/rog"
)
func main() {
rog.Open(48, 32, "rog")
for rog.IsOpen() {
rog.Set(20, 15, nil, nil, "Hello, 世界")
if rog.Key == rog.Escape {
rog.Close()
}
rog.Flush()
}
}
- On Windows you can build your project with
go build -ldflags -Hwindowsgui
to inhibit the console window that pops up by default.
- libTCOD [http://doryen.eptalys.net/libtcod/]
- John Asmuth [http://github.com/skelterjohn/go.wde]
- Yamamushi [http://www.theasciiproject.com/]
- Better keyboard handling.
- World generation.
- User supplied font sets and tilemaps.
- Noise generators.
- Image scale and blitting.
- Console to console blitting.
- Move console out into a separate package.
- Fold lighting into the library.
- Test suite.
- Fixes to default font, especially box drawing glyphs.