2016-04-06 01:59:10 +02:00
|
|
|
// var rm_TitleScreen = OS.R.Add("Default");
|
|
|
|
// var rm_Ocean = OS.R.Add("Ocean", {
|
2016-04-12 02:06:06 +02:00
|
|
|
var rm_Trade = OS.R.Add("Trade", {
|
|
|
|
width: OS.camera.width,
|
|
|
|
height: OS.camera.height,
|
|
|
|
backgroundColor: "#D9BEA5"
|
|
|
|
});
|
2016-04-06 01:59:10 +02:00
|
|
|
var rm_Ocean = OS.R.Add("Default", {
|
2016-04-13 02:14:09 +02:00
|
|
|
width: pixel(64) * 50, //50x50 map of 64x64 squares. This will allow a single pixel on the map to represent a 64x square and fit comfortably on screen.
|
|
|
|
height: pixel(64) * 50,
|
2016-04-05 19:39:18 +02:00
|
|
|
backgroundColor: "#1b2632"
|
|
|
|
});
|
2016-04-05 01:10:40 +02:00
|
|
|
|
|
|
|
function loadRooms() {
|
2016-04-06 01:59:10 +02:00
|
|
|
// OS.AddScript("rooms/titleScreen.js");
|
2016-04-05 01:10:40 +02:00
|
|
|
OS.AddScript("rooms/oceanRoom.js");
|
2016-04-12 02:06:06 +02:00
|
|
|
OS.AddScript("rooms/tradeRoom.js");
|
2016-04-05 01:10:40 +02:00
|
|
|
|
2016-04-06 01:59:10 +02:00
|
|
|
// OS.SetRoom(rm_TitleScreen);
|
|
|
|
OS.SetRoom(rm_Ocean);
|
2016-04-05 01:10:40 +02:00
|
|
|
}
|