diff options
| author | Lieuwe <lieuwemo@gmail.com> | 2011-03-05 16:50:05 (GMT) |
|---|---|---|
| committer | Lieuwe <lieuwemo@gmail.com> | 2011-03-05 16:50:05 (GMT) |
| commit | 20b6a64228061a0b4689fcad439871e38ec88038 (patch) | |
| tree | cdbf5010b511dc1e64cab451c27ddebcf5c9da0c /src/python | |
| parent | 5cb538f08105d110a6dca6a7add9e10add20f978 (diff) | |
| download | powder-20b6a64228061a0b4689fcad439871e38ec88038.zip powder-20b6a64228061a0b4689fcad439871e38ec88038.tar.gz | |
moar graphics stuff
Diffstat (limited to 'src/python')
| -rw-r--r-- | src/python/tpt_console.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/python/tpt_console.py b/src/python/tpt_console.py index dfe34b7..eb70363 100644 --- a/src/python/tpt_console.py +++ b/src/python/tpt_console.py @@ -89,8 +89,14 @@ def step(): def _step(): try: a=step.i + a=step.txt except: step.i=0 + step.txt="!FUCK YEAH!" #toggle_pause() - tpt.draw_text(step.i%100+100,100,"FUCK YEAH!",255,255,255) + xx=50+abs(25-(step.i%50)) + w=tpt.string_get_width(step.txt)+16 + tpt.draw_fillrect(xx-8,92,w,32,0,0,0,128) + tpt.draw_rect(xx-8,92,w,32,255,255,255) + tpt.draw_text(xx,100,step.txt,255,255,255) step.i+=1 |
