Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made powerups move

  • Loading branch information...
commit 40988849812b29c43510fbdb18473a3468dd2d65 1 parent 3252a65
@Textmode Textmode authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 powerup.lua
View
6 powerup.lua
@@ -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])
Please sign in to comment.
Something went wrong with that request. Please try again.