Skip to main content
added 6 characters in body
Source Link
Eric
  • 3.9k
  • 1
  • 20
  • 29

An Image's default color is 1,1,1,1 (rgba) a.k.a. opaque (or non-transparent) white. Use Image.setImageColor to reset it:

enemies.get(i).image.setImageColor(1,1,1,1);

Be sure to use this method instead of applying Image.setColor to each of the image's four corners.

An Image's default color is 1,1,1,1 (rgba) a.k.a. opaque (or non-transparent) white. Use Image.setImageColor to reset it:

enemies.get(i).setImageColor(1,1,1,1);

Be sure to use this method instead of applying Image.setColor to each of the image's four corners.

An Image's default color is 1,1,1,1 (rgba) a.k.a. opaque (or non-transparent) white. Use Image.setImageColor to reset it:

enemies.get(i).image.setImageColor(1,1,1,1);

Be sure to use this method instead of applying Image.setColor to each of the image's four corners.

Source Link
Eric
  • 3.9k
  • 1
  • 20
  • 29

An Image's default color is 1,1,1,1 (rgba) a.k.a. opaque (or non-transparent) white. Use Image.setImageColor to reset it:

enemies.get(i).setImageColor(1,1,1,1);

Be sure to use this method instead of applying Image.setColor to each of the image's four corners.