Script each room separately?

Started by Monsieur OUXX, Thu 18/07/2013 20:37:40

Previous topic - Next topic

Monsieur OUXX

Hi all,

Is it possible to use the "create template" room feature to create rooms separately and then "import" them into the "main" game file?
We're working as a team and it's a bit complicated to work on the game when only one person can use the main game file at a time.

Would there be a catch in that idea?
 

Crimson Wizard

By "main game file" you mean game project?
You can import existing rooms freely (*.crm files). Or is there a reason you cannot use that?

monkey0506

Someone should really get around to writing a source control plugin for the editor.

But yes, as CW says, you should be able to just edit the CRM file and send that back and forth without worrying about having to ship the whole project around. Using room templates would work almost identically as that just creates a new room from an existing one.

Monsieur OUXX

Yes, I meant game project (.agf)

You mean I can just copy around .crm files and when I open a game that has that .crm file in its folder, then the room will appear in that game?

Then, what number does it receive? The number that's part of the .crm file name?
 

Crimson Wizard

Quote from: Monsieur OUXX on Fri 19/07/2013 11:07:12
You mean I can just copy around .crm files and when I open a game that has that .crm file in its folder, then the room will appear in that game?
No, you need to right-click on Rooms node in project tree, then choose "Import existing room".

Quote from: Monsieur OUXX on Fri 19/07/2013 11:07:12
Then, what number does it receive? The number that's part of the .crm file name?
Yes.
The Editor won't let you import room if there's already a room of that number in the game.

Ryan Timothy B

They also need the sprites file to see any of the objects and such.

SMF spam blocked by CleanTalk