Page 1 of 1

What is the standard way to make animation of player movement(with anim8)?

Posted: Fri Sep 13, 2019 10:52 pm
by ilovelove2019
Hello everyone! Is there a standard way to make player movement animation with anim8? I'm newbie and i'm looking for a standard way to make it. I need an example to learn. That will have a player class, main.lua, and some more file if needed. That make player move simple up down left right and some animations for it. I have try a lot but I'm so stupid and my code is dump code and it's not a good way if I manage some big project in future. Can you help me, plz? Thanks you so much. And so sorry to bother you. :cry:

Re: What is the standard way to make animation of player movement(with anim8)?

Posted: Sun Dec 08, 2019 4:34 pm
by bobbymcbobface
https://github.com/kikito/anim8/blob/master/README.md this link should hopefully give you a bit of help - I personally use a quad sheet method to create my animations but there's plenty of other methods out their

( Sorry I can't supply a lua file i"m on mobile)

There's also a lot of YouTube videos out their and love2d's wiki also provides an example

One can be found here ; https://love2d.org/wiki/Tutorial:Animation

Although this doesn't use anim8 it should hopefully give you a general basis for code

Also if you are starting off a game I recommend making the logic first then implementing animations but that's just my way of doing things :D

If you need any more help please feel free to quote me :)

Edit : this might help too https://youtu.be/_NpDbNtJyDQ
You can copy the code from the link in the description to see how it works