Trade-Winds/loadRooms.js

16 lines
404 B
JavaScript

// var rm_TitleScreen = OS.R.Add("Default");
// var rm_Ocean = OS.R.Add("Ocean", {
var rm_Ocean = OS.R.Add("Default", {
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);
OS.SetRoom(rm_Ocean);
}