aboutsummaryrefslogtreecommitdiff
path: root/lua/pets/animations.lua
Commit message (Collapse)AuthorAge
* docs: added some function explanations and commentsGiuseppe Gadola2023-02-11
|
* refactor(options): options are passed directly as a tableGiuseppe Gadola2023-02-11
|
* feat(animations): set next action dinamicallyGiuseppe Gadola2023-02-11
|
* feat(animations): set next position based on current actionGiuseppe Gadola2023-02-11
|
* feat(animations): use row and col optionsGiuseppe Gadola2023-02-10
|
* fix(animations): fixed invalid buffer idGiuseppe Gadola2023-02-10
|
* refactor(animations): frames are now image objectsGiuseppe Gadola2023-02-10
| | | | | | The frames table is contains a table for every action the pet can perform, the action table contains all the image objects for the specified action.
* feat(pets): ability to remove petsGiuseppe Gadola2023-02-10
|
* docs: added some basic comments to explain functionsGiuseppe Gadola2023-02-10
|
* refactor(animations): animations are now object orientedGiuseppe Gadola2023-02-10
| | | | | | Animations are refactored to be Object Oriented, so it is possible to have multiple pets independent from one anohter. An Animations instance is now an attribute of the Pet class.
* refactor: removed fps optionGiuseppe Gadola2023-02-10
|
* feat: one pet walksGiuseppe Gadola2023-02-10