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-12 01:00:27 +02:00
width : ( 64 * OS . S . pixelScale ) * 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 : ( 64 * OS . S . pixelScale ) * 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
}