J
Jaydabblju
Guest
I am new to GM2 and tried to move a whole layer. But the instances of this layer stay on their position.
I tried:
But the objects don't move.
My target is to create a menu on a layer. After clicking on a button of that menu the whole layer shall move out of the screen.
I tried:
Code:
// creating buttons
instance_create_layer(0,0,"menu",obj_btn_new_game);
instance_create_layer(0,100,"menu",obj_btn_load_game);
// moving the whole layer down
layer_y("menu",200);
My target is to create a menu on a layer. After clicking on a button of that menu the whole layer shall move out of the screen.