eams1986
Member
Hi! could someone help me? I am having problems when I delete a joint (physic) html5
in windows it works fine and in android
then when I press the vk_up the alarm is activated and deletes the joint but in html5 the image is black what can it be?
in windows it works fine and in android
then when I press the vk_up the alarm is activated and deletes the joint but in html5 the image is black what can it be?
GML:
//Creation Box
AuxR = instance_create_depth(x,y+180,-1,o_box_red14);//red
Box = physics_joint_revolute_create(self,AuxR,AuxR.x,AuxR.y,0,0,1,0,0,0,0);
//I want to delete Joint BOX
if keyboard_check_pressed(vk_up) {
alarm[0] = 1; //Delete joint
}
/// Delete joint
alarm[0]
physics_joint_delete(Box);
Box = -1;