phillipPbor
Member
I having problems with a player mask
the 3d player wont respond to the mask
the sprite is 32 x 32
the mask is 16 x 16
the player thinks the mask is 32x32
not to mantion the collision is off place
the 3d player wont respond to the mask
the sprite is 32 x 32
the mask is 16 x 16
the player thinks the mask is 32x32
not to mantion the collision is off place
{
spt = sprite_index;
if (point_distance(x,y,global.camx,global.camy) > 240) exit;
var tex;
tex = sprite_get_texture(spt,image_index);
d3d_draw_wall(x+8*global.camsin,y+8*global.camcos,z+height,
x-8*global.camsin,y-8*global.camcos,z,tex,1,1);
draw_set_alpha_test(1);
// draw_set_alpha_test(true);
// draw_set_alpha_test_ref_value(128);
///background
var tex2;
tex2 = background_get_texture(BG_CLD);
d3d_draw_ellipsoid(x-420,y-420,z-420,x+420,y+420,z+420,tex2,6,6,16);
}
Last edited: