Trade-Winds/loadRooms.js

14 lines
329 B
JavaScript

var rm_TitleScreen = OS.R.Add("Default");
var rm_Ocean = OS.R.Add("Ocean", {
width: 64 * 1000 * OS.S.pixelScale,
height: 64 * 1000 * OS.S.pixelScale,
backgroundColor: "#1b2632"
});
function loadRooms() {
OS.AddScript("rooms/titleScreen.js");
OS.AddScript("rooms/oceanRoom.js");
OS.SetRoom(rm_TitleScreen);
}