This is the code I used in the Step event for the mouse
if collision_rectangle(x,y,166,192,obj_cheese_full,1,0)&& keyboard_check(ord("A"))
{
instance_change(obj_cheese_half,true)}
My code for Collision with obj_cheese_full
if keyboard_check(ord("A")) {
instance_change(obj_cheese_half,true)
}And here is the code for the Keyboard A event
if collision_rectangle(x,y,166,192,obj_cheese_full,1,0)&& alarm[0]=-1 {
instance_change(obj_cheese_half,true)
}
Am I on the right track? Do you have any codes that would help?
Please help. D:
Thank you!
Edited by itsnima24, 03 December 2012 - 04:24 AM.











