Set up files for test loading, fixed misplaced semicolon in oceanTilePrefab.js, removed Title Screen for testing.
This commit is contained in:
parent
096ce49334
commit
559d37a88a
10
loadRooms.js
10
loadRooms.js
|
@ -1,13 +1,15 @@
|
||||||
var rm_TitleScreen = OS.R.Add("Default");
|
// var rm_TitleScreen = OS.R.Add("Default");
|
||||||
var rm_Ocean = OS.R.Add("Ocean", {
|
// var rm_Ocean = OS.R.Add("Ocean", {
|
||||||
|
var rm_Ocean = OS.R.Add("Default", {
|
||||||
width: 64 * 1000 * OS.S.pixelScale,
|
width: 64 * 1000 * OS.S.pixelScale,
|
||||||
height: 64 * 1000 * OS.S.pixelScale,
|
height: 64 * 1000 * OS.S.pixelScale,
|
||||||
backgroundColor: "#1b2632"
|
backgroundColor: "#1b2632"
|
||||||
});
|
});
|
||||||
|
|
||||||
function loadRooms() {
|
function loadRooms() {
|
||||||
OS.AddScript("rooms/titleScreen.js");
|
// OS.AddScript("rooms/titleScreen.js");
|
||||||
OS.AddScript("rooms/oceanRoom.js");
|
OS.AddScript("rooms/oceanRoom.js");
|
||||||
|
|
||||||
OS.SetRoom(rm_TitleScreen);
|
// OS.SetRoom(rm_TitleScreen);
|
||||||
|
OS.SetRoom(rm_Ocean);
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
function islandPrefab() {}
|
|
@ -9,7 +9,7 @@ var pr_ocean = OS.P.Add("Ocean Particle", {
|
||||||
|
|
||||||
positionCheckStep: 30,
|
positionCheckStep: 30,
|
||||||
positionCheckProgress: 30,
|
positionCheckProgress: 30,
|
||||||
doCheckPosition: false;
|
doCheckPosition: false
|
||||||
});
|
});
|
||||||
|
|
||||||
pr_ocean.BeforeDo = function () {
|
pr_ocean.BeforeDo = function () {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
function wavePrefab() {}
|
Loading…
Reference in New Issue