I’m trying to understand how to use “movieclip.lua” in my work
local movieclip = require “movieclip”;
local physics = require “physics”
physics.start ()
Walking = movieclip.newAnim{“Walking pman1.png”, “Walking pman2.png”, “Walking pman3.png”, “Walking pman4.png”, “Walking pman5.png”, “Walking pman6.png”}
Walking:play ()
I understand that it is something like this…
One problem I come against is “<eof>” which is end of file, but I don’t understand how to rectify this syntax error
Walking = movieclip.newAnim: ‘<eof>’ expected near ‘Walking’
The second I have is being able to make my “walking man” work, while requiring the “movieclip.lua” file.
Any help is appreciated.
Thanks