If I understand you correctly, a system like those should fire an "ACTION" based on which key was pressed, and update the player's state in its methods. Yup. Which brings me to my other point: Is there any inconvenience in having "key-press logic" both in love.update() and love....
Does someone know the "why?" of this? It's not like moderation is the key and bad posts are deleted, you can say and write whatever you like, yet no one insults or give bad feedback to users posts, it's like the forum is full of nice people! I'll say that, from my vast forum-going experie...
I wouldn't quite say isometric, but something more like Nuclear Throne or maybe Hammerwatch. I admire the enthusiasm but you'll soon learn that, when looking for free stuff, you have to settle for what you get :P If you're looking for a certain art style you're most likely going to need to contact ...
That's basically like my example (except I didn't encapsulate it away in another "machine" object, the player object is the FSM). Yes, it is, I just wanted to explain why it should look like that. Also, I know you put the FSM logic inside the player class just for convenience, for this ex...
Regarding this little snippet and others like it: if key == "a" then player.state = "WALKING_LEFT" The idea of using a FSM is to have all the conditional logic encapsulated inside the machine and invisible to the outside modules. The FSM will know how the different states work an...
The fourth parameter of love.graphics.draw() is the orientation and needs to be given in radians. You are giving it one half of a coordinate on the screen, the Y part. Which is a distance measured in pixels. You're not giving it the correct value. https://www.love2d.org/wiki/love.graphics.draw You n...
Just a quick tip, try to contain your most used logic in it's own method. For example, increasing horizontal and vertical velocities should each have it's own method. It's easier to debug and trace problems back to a specific batch of code if it's only written once in a method instead of duplicated ...
* Only focus on the next thing, do not think of everything that has to be done or you will feel overwhelmed. Oh God, this is so frustrating for me. I'm doing the check list thing and the break down stuff into really small parts thing, but I've come at a point where every feature can be broken down ...