AnthonyGamer
Member
Hello Hello, I need help, for some reason too many instances are created, this is my structure
if room = rm_home and global.duelo = true
{
instance_create (64,80, obj_mouse2)
};
Now I explain what is happening there: if I select the mode for 2 players, I check if it is in the home room and if the value of the duel is equal to true (the value of the duel = true is set if you put the mode of 2 players ) and creates the mouse2 instance which is controlled by player 2, but thousands of mouse2s are created (I don't know if I explain it well but it helps)
PS: if I had a spelling error, it is because I use the google translator (I speak Spanish)
if room = rm_home and global.duelo = true
{
instance_create (64,80, obj_mouse2)
};
Now I explain what is happening there: if I select the mode for 2 players, I check if it is in the home room and if the value of the duel is equal to true (the value of the duel = true is set if you put the mode of 2 players ) and creates the mouse2 instance which is controlled by player 2, but thousands of mouse2s are created (I don't know if I explain it well but it helps)
PS: if I had a spelling error, it is because I use the google translator (I speak Spanish)