J
JeZxLee
Guest
Hi,
Does anyone know if it is possible to change the alpha transparency of just one Physics fixture sprite?
I have the following code to draw all Physic fixtures in my game:
The last "1" in the function "DrawSpriteOntoScreen()" is the alpha transparency.
I just don't know how to choose a single Physics fixture (not all).
Any help would be appreciated, thanks!
Does anyone know if it is possible to change the alpha transparency of just one Physics fixture sprite?
I have the following code to draw all Physic fixtures in my game:
Code:
with (SelectRedObject) DrawSpriteOntoScreen(SelectRedSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
with (SelectOrangeObject) DrawSpriteOntoScreen(SelectOrangeSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
with (SelectYellowObject) DrawSpriteOntoScreen(SelectYellowSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
with (SelectGreenObject) DrawSpriteOntoScreen(SelectGreenSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
with (SelectBlueObject) DrawSpriteOntoScreen(SelectBlueSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
with (SelectPurpleObject) DrawSpriteOntoScreen(SelectPurpleSmall, 0, phy_position_x, phy_position_y, 1, 1, 0, 255, 255, 255, 1);
I just don't know how to choose a single Physics fixture (not all).
Any help would be appreciated, thanks!