Now I got some strange problem :
I created a few classes
like this :
Code: Select all
Sprite = { positionX = 0,
positionY = 0,
}
function Sprite:new(o)
o = o or {}
self.stationary = Animation:new()
setmetatable(o, self)
self.__index = self
return o
end
and that one blits
so in my main loop I call the function :
Code: Select all
sprite.animation:animate(0,0)
I am using usbmode in lowser to develop using latest version of luaplayer.
took me 1h to discover, my code actually didn't update anymore :(
any clues ?