• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Adding objects to diffent rooms room_instance_add

E

Edeyz

Guest
So after trying a verity of ways I cannot get room_instance_add to do anything.
I have tried putting it in a left click event by itself and changing the room through pressing space. But no matter what, when rm_system loads there is no object there.
Here is my code that I modded as closely to the help page as I could:

Code:
room_instance_add(rm_system, 100, 100, obj_star);
If I set the objects I want to add to the new room as persistent and use:
Code:
instance_create(100, 100, obj_starSystem);
It works fine.

I have no clue what I have done wrong.

Thank you
Edeyz
 
Last edited by a moderator:
Top