graphics engine for nokia 3310 jam 2
running at aproximatly 15 fps at 84x48 pixels.
function init()
will run once and function draw(delta)
will run every frame.
index | pattern |
---|---|
0 | white |
1 | black |
2 | checker |
3 | dots |
4 | inverted dots |
5 | doted lines |
6 | mosaic |
nok.clear(pattern)
nok.pixel(x, y)
nok.line(start x, start y, end x, end y)
nok.sprite(sprite, x, y)
nok.rect(pattern, x, y, width, height)
nok.circle(radius, x, y)
nok.number(value, x, y)
drawing number values in the snake score font
nok.key.one
1nok.key.two
2nok.key.three
3nok.key.four
4nok.key.five
5nok.key.six
6nok.key.seven
7nok.key.eight
8nok.key.nine
9nok.key.star
*nok.key.zero
0nok.key.octothorpe
#