summaryrefslogtreecommitdiff
path: root/build/test.lua
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-10-23 12:52:26 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-10-23 12:52:26 (GMT)
commit1c7b9d9949f4aca2ceba44b9d41420ad34c69f94 (patch)
treef917e85e29ac8c95b4ed894ea4b8b764e2290c47 /build/test.lua
parent014c1fbad669b0cf1abd881e696f0c7e432b3707 (diff)
downloadpowder-1c7b9d9949f4aca2ceba44b9d41420ad34c69f94.zip
powder-1c7b9d9949f4aca2ceba44b9d41420ad34c69f94.tar.gz
Pass particle pointer to graphics update function instead of index. Make PIPE use subcall to get graphics info. Cache for particle graphics properties. Stickman PSPEC_STICKMAN added and implemented
Diffstat (limited to 'build/test.lua')
-rw-r--r--build/test.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/build/test.lua b/build/test.lua
deleted file mode 100644
index a41bdd7..0000000
--- a/build/test.lua
+++ /dev/null
@@ -1,18 +0,0 @@
-tpt.register_step("do_step")
-numberthing = 0
-increment = 2
-function do_step()
- numberthing = numberthing + increment;
- if numberthing >= 400 then
- increment = -2
- elseif numberthing < 4 then
- increment = 2
- end
- tpt.drawtext(numberthing, 50, "Oh my god, this is amazing", 255, 255, 255, 255)
- tpt.drawtext(mousex, mousey, "Oh my god, this is amazing", 255, 255, 255, 255)
- tpt.reset_velocity(10, 10, 20, 20)
- tpt.reset_gravity_field(10, 10, 20, 20)
- tpt.set_pressure(10, 10, 20, 20)
- tpt.set_gravity(75, 45, 1, 1, 8)
- return false
-end