i want to to make sprite bigger and bigger every time he collect an object.
Develop games in your browser. Powerful, performant & highly capable.
On object pick up (overlap?) set object size to size(width+n, height+n) where n is the number you want to increase by.