v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
10
assets/devel/testconsole2/testconsoleobject.lua
Normal file
10
assets/devel/testconsole2/testconsoleobject.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
function youwin()
|
||||
self.wintime = 5
|
||||
end
|
||||
|
||||
function update(dt)
|
||||
if self.wintime and self.wintime > 0 then
|
||||
self.wintime = self.wintime - dt
|
||||
world.spawnItem("money", vec2.add(object.position(), {0, 3}), 5)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue