Handbook
Glossary
terrain-game ( -- )
Vocabulary
terrain
Inputs
None
Outputs
None
Definition
USING:
game.worlds
kernel
ui
ui.pixel-formats
;
IN:
terrain
:
terrain-game
( -- )
[
f
T{
game-attributes
{
world-class
terrain-world
}
{
grab-input?
t
}
{
title
"Terrain"
}
{
pixel-format-attributes
{
windowed
double-buffered
T{
depth-bits
{
value 24
}
}
}
}
{
pref-dim
{
1024 768
}
}
{
tick-interval-nanos 16666666
}
{
use-game-input?
t
}
}
clone
open-window
]
with-ui
;