Igor Stepanov
Results
1
comments of
Igor Stepanov
You have to use "self" before methods for sprites. ``` function BallSprite:init(x, y) BallSprite.super.init(self) self:setSize(16, 16) self:setCollideRect(0, 0, 16, 16) self.direction = Geometry.vector2D.new(1, 1) self.speed = 8 self:add(x, y) end...