Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made powerups spin

  • Loading branch information...
commit f668df54a36238d0b6c772ea5eb29252655648a5 1 parent 12022a8
DMB Textmode authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 powerup.lua
4 powerup.lua
View
@@ -37,6 +37,10 @@ function _M.new(t)
return setmetatable(p, _MT)
end
+function _M:think(dt)
+ self.facing = self.facing +dt
+end
+
function _M:testcollision(e)
if e.npc and not self.faction == 'npc' then
return false
Please sign in to comment.
Something went wrong with that request. Please try again.