i can't get the gravity gun to switch to the physgun.
however i can get the physgun to switch to the gravity gun
and its the same code, except for the object it switches to
game maker is in sequential order, so you might have to look out for that.
How are you doing on the dragging? imo it would be a better idea to create an object (it might even be invisible) that the boxes and stuff gravitate towards
draging? you mean picking things up?
except for some glitches (you can put objects in yourself), its done.
also the code for the gravity gun switch (temporary 'till i can find a better solution and i know its on Q, that's not permanent either)
if(keyboard_check_pressed(ord('Q'))){
instance_create(x,y,PhysicsGunO)
with(pickID){
pickedUp = 0
}
instance_destroy()
}
compared to the Physics Gun switch:
if(keyboard_check_pressed(ord('Q'))){
instance_create(x,y,GravityGunO)
with(pickID){
pickedUp = 0
}
instance_destroy()
}