Handbook
Glossary
bunny-game ( -- )
Vocabulary
gpu
.
demos
.
bunny
Inputs
None
Outputs
None
Definition
USING:
game.worlds
kernel
ui
ui.pixel-formats
;
IN:
gpu.demos.bunny
:
bunny-game
( -- )
[
f
T{
game-attributes
{
world-class
bunny-world
}
{
grab-input?
t
}
{
title
"Bunny"
}
{
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
;