Skip to content

Commit

Permalink
Add more helpful comments in mods.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudospective committed Jan 21, 2023
1 parent 787f52a commit 6a9bd54
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lua/mods.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,16 @@ Mods
:Insert(0, 1, Tweens.outexpo, {
{100, 'Invert'}
})
--:Define()
--:Exsch()
--:Mirin {}
-- :Define('hidden', function(p, pn) PL[pn].Player:visible(math.abs(p) > 0) end)
-- :Exsch(2, 1, 100, 0, 'invert', 'len', Tweens.outexpo)
-- :Mirin {4, 1, Tweens.outexpo, 100, 'flip'}

-- Mirin functions
using 'mirin' (function()

-- You can use Mirin modifiers here if you have the 'mirin-syntax' library imported.
--ease {0, 1, Tweens.outexpo, 100, 'invert'}
-- ease {0, 1, Tweens.outexpo, 100, 'invert'}
-- definemod {'rotationz', function(p, pn) PL[pn].Player:rotationz(p) end}

end)

Expand All @@ -122,17 +123,17 @@ function ready()

end

-- Called on UpdateCommand
-- Called on frame update (Remove for better performance)
function update(dt)

end

-- Called on InputMessageCommand
-- Called on input received (Remove for better performance)
function input(event)

end

-- Called on Actors.Mods:Draw()
-- Called on drawing to screen (Remove for better performance)
function draw()

end
Expand Down

0 comments on commit 6a9bd54

Please sign in to comment.