Set up files for test loading, fixed misplaced semicolon in oceanTilePrefab.js, removed Title Screen for testing.

This commit is contained in:
Robbie Antenesse 2016-04-05 17:59:10 -06:00
parent 096ce49334
commit 559d37a88a
4 changed files with 9 additions and 5 deletions

View File

@ -1,13 +1,15 @@
var rm_TitleScreen = OS.R.Add("Default");
var rm_Ocean = OS.R.Add("Ocean", {
// 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/titleScreen.js");
OS.AddScript("rooms/oceanRoom.js");
OS.SetRoom(rm_TitleScreen);
// OS.SetRoom(rm_TitleScreen);
OS.SetRoom(rm_Ocean);
}

1
prefabs/islandPrefab.js Normal file
View File

@ -0,0 +1 @@
function islandPrefab() {}

View File

@ -9,7 +9,7 @@ var pr_ocean = OS.P.Add("Ocean Particle", {
positionCheckStep: 30,
positionCheckProgress: 30,
doCheckPosition: false;
doCheckPosition: false
});
pr_ocean.BeforeDo = function () {

1
prefabs/wavePrefab.js Normal file
View File

@ -0,0 +1 @@
function wavePrefab() {}