Permalink
Browse files

made powerups move

  • Loading branch information...
1 parent 3252a65 commit 40988849812b29c43510fbdb18473a3468dd2d65 @Textmode Textmode committed Aug 28, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 powerup.lua
View
@@ -26,7 +26,11 @@ function _M.new(t)
p.kind = 'powerup'
p.faction = t.faction or 'player'
- p.effect = t.effect or 'heal10'
+ p.effect = t.effect or 'heal10'
+ p.dir_x = -1
+ p.dir_y = 0
+ p.speed = 50
+
_M.set_texture(p, icons[p.effect])

0 comments on commit 4098884

Please sign in to comment.