I’m trying to move a bitmap across the screen at a VERY slow pace, but instead of moving slowly, it just seem to move in intermittent stages.
I’m using this code:
spikes.y += .02;
Do objects only move by values that are whole numbers?
I’m trying to move a bitmap across the screen at a VERY slow pace, but instead of moving slowly, it just seem to move in intermittent stages.
I’m using this code:
spikes.y += .02;
Do objects only move by values that are whole numbers?
Pay attention to the second parameter of Bitmap’s constructor
Try this:
yourBitmap = new Bitmap(Assets.getBitmapData("yourfile.png"), PixelSnapping.NEVER, true);
Perfect! Beautiful movement now. Than you.