11oyd
Member
Hi! I'm relatively new to GameMaker so please forgive the rookie question.
I'm working on a platform game where I want to be able to switch between characters.
I'm currently doing this with this code inside a key pressed event:
instance_create_layer(x, y,0, obj_Angry);
instance_destroy();
The problem is that when I transform next to a wall my sprite gets stuck. I believe this is due to the collision mask being larger than the previous sprite but I need it to be bigger for the functionality of other parts of the game.
Any help much appreciated!
I'm working on a platform game where I want to be able to switch between characters.
I'm currently doing this with this code inside a key pressed event:
instance_create_layer(x, y,0, obj_Angry);
instance_destroy();
The problem is that when I transform next to a wall my sprite gets stuck. I believe this is due to the collision mask being larger than the previous sprite but I need it to be bigger for the functionality of other parts of the game.
Any help much appreciated!