A basic flipbook animator/display module for Roblox.
npm install @gandalfwisdom/flipbookbuddyInitialize your FlipbookBuddy with your ImageLabel/Button label as the first argument.
``lua`
local FlipbookBuddy = require(path.to.flipbookbuddy);
local flipbook = FlipbookBuddy.new(image_label);`
Now it's as simple as calling:lua`
flipbook:Play();
-- or
flipbook:Loop();
to play your animation.
You can also use:
`lua`
flipbook:SetPosition(3);
to set the image to a specific frame. Very useful for button input atlases.
Simply type `npm install @gandalfwisdom/flipbookbuddy`` in your CLI on your project to install.