charlie_says Posted July 12, 2014 Share Posted July 12, 2014 I'm just working with bitmap data, and have hit a stumbling block, I'm trying to fill part of the bitmap data with rect, but I keep getting an error. var col = 'rgb(255,0,0)'; var bmd = game.make.bitmapData(6, 4); //bmd.setPixel(0,0,255,0,0,true);//works //bmd.fill(0,0,255);//works //bmd.circle(0, 0, 2, col);//works //bmd.rect(0, 0, 2, 2, col);//TypeError: rock2.rect is not a functionAny ideas as to what I'm doing wrong? Link to comment Share on other sites More sharing options...
charlie_says Posted July 12, 2014 Author Share Posted July 12, 2014 Ahh works in 2.06 just needed to upgrade. Link to comment Share on other sites More sharing options...
Recommended Posts