summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/tpt_console.py8
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