Help Quad Animations Please
Posted: Sun May 21, 2017 2:44 am
In my program I'm trying to animate a png image by breaking it up into quads and shifting the quad viewpoint for every frame of animation. My problem is that on line 33 I'm receiving an error: "bad argument #2 to 'draw' (Quad expected, got nil), but earlier in the love.load function I defined that quad. This doesn't make any sense to me since I was following a tutorial series with similar programming (I only flipped the viewpoint from horizontal to vertical) and the program ran fine (version used was the same as me). If you could please take time out of your day to help me that would be wonderful.
Link to tutorial video used: https://www.youtube.com/watch?v=_NpDbNtJyDQ
Link to tutorial video used: https://www.youtube.com/watch?v=_NpDbNtJyDQ