Trade-Winds/loadRooms.js

10 lines
314 B
JavaScript
Raw Normal View History

var rm_TitleScreen = OS.R.Add("Default", OS.camera.width, OS.camera.height, "");
var rm_Ocean = OS.R.Add("Ocean", 64 * 1000 * G.pixelSize, 64 * 1000 * G.pixelSize, "");
function loadRooms() {
OS.AddScript("rooms/titleScreen.js");
OS.AddScript("rooms/oceanRoom.js");
OS.SetRoom(rm_TitleScreen);
}