10-24-2022, 08:27 AM
As you know, I have began tackling a Mario type game, using the tilemap editor and may have come across a minor problem.
I added a "coin" to the current collection of tiles. 16x16 transparent background. Using the mouse and moving the coin around the screen everything looked normal. I can "see" the map showing through the transparent "corners" of the coin. But, placing the coin on the map, changes the coin's background to white. "Not a problem". Used Gimp to change the coin background to magenta [255, 0, 255] and replaced the coin in the tileset. Reloaded the map. Coin appeared among the other tiles with the magenta background. Placed the coin on the map. Coin positioned with magenta background. Removed the coin from the map. Set colorkey to magenta. Magenta disappeared from the coin in the tileset. Placed the coin on the map. Coin was placed with a white background.
This problem did not occur with the other tiles as the other tiles did not have transparency.
I hope I am making sense...
J
I added a "coin" to the current collection of tiles. 16x16 transparent background. Using the mouse and moving the coin around the screen everything looked normal. I can "see" the map showing through the transparent "corners" of the coin. But, placing the coin on the map, changes the coin's background to white. "Not a problem". Used Gimp to change the coin background to magenta [255, 0, 255] and replaced the coin in the tileset. Reloaded the map. Coin appeared among the other tiles with the magenta background. Placed the coin on the map. Coin positioned with magenta background. Removed the coin from the map. Set colorkey to magenta. Magenta disappeared from the coin in the tileset. Placed the coin on the map. Coin was placed with a white background.
This problem did not occur with the other tiles as the other tiles did not have transparency.
I hope I am making sense...
J
May your journey be free of incident.
Live long and prosper.
Live long and prosper.