wrestitaway
Member
My player takes different forms and I have different objects for them, so I'm trying to control them in my controller object..
CONTROL object:
I'm sure there's a better way to create a binary switch, but I clearly don't know it.
I also need help assigning the new object the same viewport and back again.
Any help appreciated. Thanks.
CONTROL object:
GML:
if keyboard_check (vk_space) and object_exists(ob_player)
{ with ob_player instance_change(ob_cat,true);
}
else
if keyboard_check (vk_space) and object_exists(ob_cat)
{ with ob_cat instance_change(ob_player,true);
}
I also need help assigning the new object the same viewport and back again.
Any help appreciated. Thanks.